openshift-apps/coreos-cincinnati: cleanups for ocp4
This commit is contained in:
parent
8069541edc
commit
0c1045d683
2 changed files with 14 additions and 2 deletions
|
@ -2,7 +2,11 @@
|
|||
apiVersion: v1
|
||||
kind: BuildConfig
|
||||
metadata:
|
||||
{% if ocp4 %}
|
||||
name: "coreos-cincinnati"
|
||||
{% else %}
|
||||
name: "coreos-cincinnati-stub"
|
||||
{% endif %}
|
||||
labels:
|
||||
app: "coreos-cincinnati"
|
||||
spec:
|
||||
|
@ -27,4 +31,8 @@ spec:
|
|||
output:
|
||||
to:
|
||||
kind: "ImageStreamTag"
|
||||
{% if ocp4 %}
|
||||
name: "fedora-coreos-cincinnati:gitref-{{fcos_cincinnati_build_git_sha}}"
|
||||
{% else %}
|
||||
name: "fedora-coreos-cincinnati:dumnati-{{fcos_cincinnati_build_git_sha}}"
|
||||
{% endif %}
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
apiVersion: v1
|
||||
kind: DeploymentConfig
|
||||
metadata:
|
||||
{% if ocp4 %}
|
||||
name: coreos-cincinnati
|
||||
{% else %}
|
||||
name: coreos-cincinnati-stub
|
||||
{% endif %}
|
||||
labels:
|
||||
app: coreos-cincinnati
|
||||
spec:
|
||||
|
@ -29,7 +33,7 @@ spec:
|
|||
containers:
|
||||
- name: "fcos-graph-builder"
|
||||
{% if ocp4 %}
|
||||
image: "image-registry.openshift-image-registry.svc:5000/coreos-cincinnati/fedora-coreos-cincinnati:dumnati-{{fcos_cincinnati_deploy_git_sha}}"
|
||||
image: "image-registry.openshift-image-registry.svc:5000/coreos-cincinnati/fedora-coreos-cincinnati:gitref-{{fcos_cincinnati_deploy_git_sha}}"
|
||||
{% else %}
|
||||
image: "{{fcos_cincinnati_registry}}:5000/coreos-cincinnati/fedora-coreos-cincinnati:dumnati-{{fcos_cincinnati_deploy_git_sha}}"
|
||||
{% endif %}
|
||||
|
@ -44,7 +48,7 @@ spec:
|
|||
readOnly: true
|
||||
- name: "fcos-policy-engine"
|
||||
{% if ocp4 %}
|
||||
image: "image-registry.openshift-image-registry.svc:5000/coreos-cincinnati/fedora-coreos-cincinnati:dumnati-{{fcos_cincinnati_deploy_git_sha}}"
|
||||
image: "image-registry.openshift-image-registry.svc:5000/coreos-cincinnati/fedora-coreos-cincinnati:gitref-{{fcos_cincinnati_deploy_git_sha}}"
|
||||
{% else %}
|
||||
image: "{{fcos_cincinnati_registry}}:5000/coreos-cincinnati/fedora-coreos-cincinnati:dumnati-{{fcos_cincinnati_deploy_git_sha}}"
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue