openshift-apps/coreos-cincinnati: ocp4 conditional, part three

This commit is contained in:
Luca BRUNO 2022-04-28 16:29:32 +00:00
parent cf07131a77
commit b65f26e5a5
No known key found for this signature in database
GPG key ID: A9834A2252078E4E

View file

@ -62,6 +62,9 @@ spec:
configMap:
name: "coreos-cincinnati-config-stub"
triggers:
{% if ocp4 %}
- type: "ConfigChange"
{% else %}
- imageChangeParams:
automatic: true
containerNames:
@ -70,3 +73,4 @@ spec:
kind: ImageStreamTag
name: "fedora-coreos-cincinnati:dumnati-{{fcos_cincinnati_deploy_git_sha}}"
type: ImageChange
{% endif %}