coreos-koji-tagger: Move from deprecated DeploymentConfig to Deployment

First try at move from deprecated DeploymentConfig to Deployment using staging environment.

Using the information related to moving to Deployment as per:
https://github.com/jbtrystram/coreos-hackathon/issues/13

See: https://github.com/jbtrystram/coreos-hackathon/issues/13
This commit is contained in:
apiaseck 2024-11-01 14:08:57 +01:00 committed by c4rt0
parent be6e3b0161
commit 1d5588e5ab
2 changed files with 71 additions and 0 deletions

View file

@ -62,6 +62,13 @@
object_app: coreos-koji-tagger
object_template: deploymentconfig.yml.j2
object_objectname: deploymentconfig.yml
when: env == "production"
- role: openshift/object
object_app: coreos-koji-tagger
object_template: deployment.yml.j2
object_objectname: deployment.yml
when: env == "staging"
###############################################
# actions to delete the project from OpenShift