Aurélien Bompard
5778e0d999
Create a role to run jobs in OpenShift
...
Inspired by Koschei's `koschei/job` role.
Adapt the MirrorManager move-to-archive job to it.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2024-08-06 07:49:59 +02:00
Aurélien Bompard
be05575049
Add a playbook to run move-to-archive
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2024-07-30 11:01:27 +02:00
Kevin Fenzi
620dbb5753
openshift: drop egress policy
...
We had this with SDN networking, but no more with newer networking.
We also don't use it anywhere, it was mostly for when fas2 was running
in openshift to isolate it and it's not there anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-05-22 15:30:54 -07:00
Kevin Fenzi
a2ed5d7b0f
imagestream template: should use full crm
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-01-15 14:32:52 -08:00
Siteshwar Vashisht
021c8fe152
ocp_monitoring: remove repeat_interval field
...
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com >
2023-11-23 18:23:58 +01:00
Michal Konecny
c5e61168bb
[openshift/project] Fix the parameter order for oc apply
...
The file needs to be specified after `-f` parameter otherwise it fails with
unexpected args error.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2023-11-23 16:39:48 +01:00
Kevin Fenzi
9e2b0cda9d
openshift: validate when applying objects
...
Right now if there's a yml thats indented incorrectly, but parts of it
are fine, oc apply will apply those parts that are valid and just ignore
the rest. So, lets add a --validate=strict to have it reject these
entirely, so we know they have something wrong in them and we can fix
it, rather than being confused that they didn't apply anything.
Signed-off-by: Kevin Fenzi kevin@scrye.com
2023-11-08 14:11:02 -08:00
Kevin Fenzi
dfeac79e65
openshift: fix copypasta in crd
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-02-13 16:01:15 -08:00
Kevin Fenzi
f7ceb69349
openshift: more fixes to crds
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-02-13 15:59:01 -08:00
Kevin Fenzi
ba7a6248bb
openshift: use correct crd for projects
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-02-13 15:53:28 -08:00
Kevin Fenzi
b1aeba28dc
openshift-apps: adjust appowners for more picky oc client
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-02-13 11:08:07 -08:00
Francois Andrieu
f450173400
ocp_monitoring: enable alerting by default
2023-02-09 17:57:39 +00:00
Francois Andrieu
953f2e5c4a
ocp_monitoring: fix cronjob alert rule
2023-02-05 22:52:10 +00:00
Francois Andrieu
1304f93460
ocp_monitoring: allows a separate list of alert recipients
2023-02-05 22:49:44 +00:00
Francois Andrieu
caa4f85ed2
ocp_monitoring: move rules to openshift/project role
2023-01-27 00:08:30 +00:00
Francois Andrieu
66726137ae
websites: add alerts for pod/job/build errors
2023-01-25 22:41:39 +00:00
Kevin Fenzi
8d3c180496
openshift / project: do not recurse on permissions
...
There's some files that get created later (like keytabs) that we don't
want to keep changing back and forth and causing things to not be
idempotent.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2022-06-21 14:16:56 -07:00
Kevin Fenzi
972e2d9515
openshift: move apiVersion of routes to route.openshift.io/v1
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2022-06-14 15:54:21 -07:00
Aurélien Bompard
4bd4158a6b
Only create the keytab secret if it does not exist yet
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2022-04-14 11:31:35 +02:00
Aurélien Bompard
1b35c7cb27
Also adjust the openshift/keytab role
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2022-04-14 11:23:41 +02:00
Aurélien Bompard
90715412f2
Adjust the secret-file role to work with OCP4
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2022-04-14 11:17:38 +02:00
Mark O Brien
5d906f9b8c
openshift: undo uneccesary changes
...
Signed-off-by: Mark O Brien <markobri@redhat.com >
2022-02-02 18:01:22 +00:00
Mark O Brien
2d9b23d066
openshift: change shell to command
...
Signed-off-by: Mark O Brien <markobri@redhat.com >
2022-02-02 17:20:57 +00:00
Mark O Brien
cebd4ce05f
openshift: check return code instead of stderr
...
Signed-off-by: Mark O Brien <markobri@redhat.com >
2022-02-02 11:51:40 +00:00
Mark O Brien
baf4fb0812
openshift: remove temp debug command
...
Signed-off-by: Mark O Brien <markobri@redhat.com >
2022-02-02 11:49:34 +00:00
Mark O Brien
dc2c941c49
openshift: fix yaml indentation
...
Signed-off-by: Mark O Brien <markobri@redhat.com >
2022-02-02 11:42:26 +00:00
Mark O Brien
45fb1e6af1
openshift: add temp debug statement
...
Signed-off-by: Mark O Brien <markobri@redhat.com >
2022-02-02 11:41:11 +00:00
David Kirwan
cdc4619675
Minor typo, role/openshift/sysadmin-openshift task
...
Signed-off-by: David Kirwan <dkirwan@redhat.com >
2021-11-26 09:40:10 +00:00
David Kirwan
bb049d181b
fcos-pipeline-migration: ensure templates placed in directory
...
unique to the app.
Signed-off-by: David Kirwan <dkirwan@redhat.com >
2021-11-09 11:56:03 +00:00
David Kirwan
c3e206ab1e
fcos-pipeline-migration: install oc-client.rpm
...
Signed-off-by: David Kirwan <dkirwan@redhat.com >
2021-11-09 10:35:57 +00:00
Francois Andrieu
911bb8ac4f
openshift: allow appowner to start a rollout
2021-04-28 21:32:05 +00:00
Francois Andrieu
492fe4f671
openshift: update egressPolicy for iad2
2021-04-03 18:44:31 +00:00
Adam Saleh
7bbb860d52
Add more privileges to appowners on staging.
2021-03-15 16:13:37 +01:00
Aurélien Bompard
593d7fe7f0
Add support for installing OS app that don't match with the ansible app
...
And use it for the CentOS instance of Noggin.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-11-30 14:06:11 +01:00
Aurélien Bompard
b16660ab24
Setup Elections for FASJSON access
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-09-16 10:37:04 +02:00
Aurélien Bompard
f02d19dcb9
IPA client for openshift: deploy a krb5.conf file
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-09-11 12:17:00 +02:00
Aurélien Bompard
45a8658c04
Noggin: small fixups
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-08-20 15:11:56 +02:00
Aurélien Bompard
cdaaf4326f
Fix indentation
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-08-20 11:09:43 +02:00
Aurélien Bompard
b7e08d6d48
Mutualize the ipa client config in openshift
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2020-08-20 11:07:59 +02:00
Clement Verna
e1538d32e4
openshift object-delete: add .yml to the object file to be deleted
...
Signed-off-by: Clement Verna <cverna@tutanota.com >
2020-04-24 21:34:26 +02:00
Michael Scherer
dfdd9ab4d4
Fix typo in the name
...
Mainly to increase my edit count
2020-04-24 21:34:25 +02:00
Luca BRUNO
9c64952e3b
openshift/rbac: allow project owners to cancel-builds
...
This tweaks project-owners RBAC to allow updating a build, in order
to make `cancel-build` work.
Ref: https://pagure.io/fedora-infrastructure/issue/8005
Signed-off-by: Luca BRUNO <luca.bruno@coreos.com >
2020-04-24 21:34:11 +02:00
Dusty Mabe
e4cfcb55e8
openshift: match on objecttype for project delete
...
This was a typo in 0acb753.
2020-04-24 21:34:08 +02:00
Kevin Fenzi
13dd31da04
openshift: handle deleting projects
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:08 +02:00
Patrick Uiterwijk
cb987b9af0
Require true value
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2019-06-29 21:57:19 +02:00
Patrick Uiterwijk
ce79bda4d9
Allow re-encrypt
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2019-06-29 21:56:33 +02:00
Patrick Uiterwijk
43af7f9206
Fix up egresspolicy source vs dest
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2019-06-20 09:44:10 +02:00
Patrick Uiterwijk
6bf7c579c2
make egresspolicy customization less simple
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2019-06-03 15:47:23 +02:00
Patrick Uiterwijk
c07c9415a0
Allow custom egress policies for special cases
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2019-06-03 15:43:39 +02:00
Patrick Uiterwijk
66cda5eb15
Make it possible to disallow any internal communications
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2019-05-29 20:33:11 +02:00