coreos-cincinnati: Move from deprecated DeploymentConfig to Deployment

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

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

View file

@ -56,6 +56,13 @@
object_app: coreos-cincinnati
object_template: deploymentconfig.yml
object_objectname: deploymentconfig.yml
when: env == "production"
- role: openshift/object
object_app: coreos-cincinnati
object_template: deployment.yml.j2
object_objectname: deployment.yml
when: env == "staging"
- role: openshift/rollout
rollout_app: coreos-cincinnati