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:
parent
be6e3b0161
commit
1d5588e5ab
2 changed files with 71 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue