mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 06:20:26 +08:00
openshift-apps/coreos-cincinnati: cleanups for ocp4
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user