openshift-apps/coreos-cincinnati: ocp4 conditional, part three
This commit is contained in:
parent
cf07131a77
commit
b65f26e5a5
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,9 @@ spec:
|
||||||
configMap:
|
configMap:
|
||||||
name: "coreos-cincinnati-config-stub"
|
name: "coreos-cincinnati-config-stub"
|
||||||
triggers:
|
triggers:
|
||||||
|
{% if ocp4 %}
|
||||||
|
- type: "ConfigChange"
|
||||||
|
{% else %}
|
||||||
- imageChangeParams:
|
- imageChangeParams:
|
||||||
automatic: true
|
automatic: true
|
||||||
containerNames:
|
containerNames:
|
||||||
|
@ -70,3 +73,4 @@ spec:
|
||||||
kind: ImageStreamTag
|
kind: ImageStreamTag
|
||||||
name: "fedora-coreos-cincinnati:dumnati-{{fcos_cincinnati_deploy_git_sha}}"
|
name: "fedora-coreos-cincinnati:dumnati-{{fcos_cincinnati_deploy_git_sha}}"
|
||||||
type: ImageChange
|
type: ImageChange
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue