openscanhub: use different container images
... in staging and production environments. Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
parent
f961e40c3d
commit
014e96cf36
5 changed files with 8 additions and 8 deletions
|
@ -65,7 +65,7 @@
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
app: openscanhub
|
app: openscanhub
|
||||||
file: deployment-fedora-osh-hub.yml
|
template: deployment-fedora-osh-hub.yml
|
||||||
objectname: deployment-fedora-osh-hub
|
objectname: deployment-fedora-osh-hub
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
|
@ -123,17 +123,17 @@
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
app: openscanhub
|
app: openscanhub
|
||||||
file: deployment-resalloc-server.yml
|
template: deployment-resalloc-server.yml
|
||||||
objectname: deployment-resalloc-server
|
objectname: deployment-resalloc-server
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
app: openscanhub
|
app: openscanhub
|
||||||
file: route-resalloc-server.yml
|
template: route-resalloc-server.yml
|
||||||
objectname: route-resalloc-server
|
objectname: route-resalloc-server
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
app: openscanhub
|
app: openscanhub
|
||||||
file: service-resalloc-server.yml
|
template: service-resalloc-server.yml
|
||||||
objectname: service-resalloc-server
|
objectname: service-resalloc-server
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
deployment: fedora-osh-hub
|
deployment: fedora-osh-hub
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: quay.io/openscanhub-fedora-infra/ocp:staging
|
- image: quay.io/openscanhub-fedora-infra/ocp:{{ env }}
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: fedora-osh-hub
|
name: fedora-osh-hub
|
||||||
volumeMounts:
|
volumeMounts:
|
|
@ -25,7 +25,7 @@ spec:
|
||||||
deployment: resalloc-server
|
deployment: resalloc-server
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: quay.io/openscanhub-fedora-infra/resalloc-server:staging
|
- image: quay.io/openscanhub-fedora-infra/resalloc-server:{{ env }}
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: resalloc-server
|
name: resalloc-server
|
||||||
ports:
|
ports:
|
|
@ -7,7 +7,7 @@ metadata:
|
||||||
app.kubernetes.io/instance: resalloc-server
|
app.kubernetes.io/instance: resalloc-server
|
||||||
app.kubernetes.io/name: resalloc-server
|
app.kubernetes.io/name: resalloc-server
|
||||||
app.kubernetes.io/part-of: openscanhub
|
app.kubernetes.io/part-of: openscanhub
|
||||||
app.openshift.io/runtime-version: staging
|
app.openshift.io/runtime-version: {{ env }}
|
||||||
name: resalloc-server
|
name: resalloc-server
|
||||||
namespace: openscanhub
|
namespace: openscanhub
|
||||||
spec:
|
spec:
|
|
@ -7,7 +7,7 @@ metadata:
|
||||||
app.kubernetes.io/instance: resalloc-server
|
app.kubernetes.io/instance: resalloc-server
|
||||||
app.kubernetes.io/name: resalloc-server
|
app.kubernetes.io/name: resalloc-server
|
||||||
app.kubernetes.io/part-of: openscanhub
|
app.kubernetes.io/part-of: openscanhub
|
||||||
app.openshift.io/runtime-version: staging
|
app.openshift.io/runtime-version: {{ env }}
|
||||||
name: resalloc-server
|
name: resalloc-server
|
||||||
namespace: openscanhub
|
namespace: openscanhub
|
||||||
spec:
|
spec:
|
Loading…
Add table
Add a link
Reference in a new issue