templates/openshift: make the maintenance template generic

We could deploy this job for both composer and each tenant's workers
that's present in app-intf. Then we can remove the maintenance bits from
the composer template.
This commit is contained in:
Sanne Raymaekers 2024-04-29 11:04:03 +02:00
parent 5a776c5b79
commit a87e3069a1
2 changed files with 59 additions and 8 deletions

View file

@ -286,10 +286,10 @@ jobs:
-p IMAGE_TAG=image_tag \
--local \
-o yaml > processed-templates/composer.yml
oc process -f templates/openshift/maintenance-crc-workers.yml \
oc process -f templates/openshift/maintenance.yml \
-p IMAGE_TAG=image_tag \
--local \
-o yaml > processed-templates/maintenance-crc-workers.yml
-o yaml > processed-templates/maintenance.yml
- uses: stackrox/kube-linter-action@v1.0.5
with: