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"
|
||||
- role: openshift/object
|
||||
app: openscanhub
|
||||
file: deployment-fedora-osh-hub.yml
|
||||
template: deployment-fedora-osh-hub.yml
|
||||
objectname: deployment-fedora-osh-hub
|
||||
when: env == "staging"
|
||||
- role: openshift/object
|
||||
|
@ -123,17 +123,17 @@
|
|||
when: env == "staging"
|
||||
- role: openshift/object
|
||||
app: openscanhub
|
||||
file: deployment-resalloc-server.yml
|
||||
template: deployment-resalloc-server.yml
|
||||
objectname: deployment-resalloc-server
|
||||
when: env == "staging"
|
||||
- role: openshift/object
|
||||
app: openscanhub
|
||||
file: route-resalloc-server.yml
|
||||
template: route-resalloc-server.yml
|
||||
objectname: route-resalloc-server
|
||||
when: env == "staging"
|
||||
- role: openshift/object
|
||||
app: openscanhub
|
||||
file: service-resalloc-server.yml
|
||||
template: service-resalloc-server.yml
|
||||
objectname: service-resalloc-server
|
||||
when: env == "staging"
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
|||
deployment: fedora-osh-hub
|
||||
spec:
|
||||
containers:
|
||||
- image: quay.io/openscanhub-fedora-infra/ocp:staging
|
||||
- image: quay.io/openscanhub-fedora-infra/ocp:{{ env }}
|
||||
imagePullPolicy: Always
|
||||
name: fedora-osh-hub
|
||||
volumeMounts:
|
|
@ -25,7 +25,7 @@ spec:
|
|||
deployment: resalloc-server
|
||||
spec:
|
||||
containers:
|
||||
- image: quay.io/openscanhub-fedora-infra/resalloc-server:staging
|
||||
- image: quay.io/openscanhub-fedora-infra/resalloc-server:{{ env }}
|
||||
imagePullPolicy: Always
|
||||
name: resalloc-server
|
||||
ports:
|
|
@ -7,7 +7,7 @@ metadata:
|
|||
app.kubernetes.io/instance: resalloc-server
|
||||
app.kubernetes.io/name: resalloc-server
|
||||
app.kubernetes.io/part-of: openscanhub
|
||||
app.openshift.io/runtime-version: staging
|
||||
app.openshift.io/runtime-version: {{ env }}
|
||||
name: resalloc-server
|
||||
namespace: openscanhub
|
||||
spec:
|
|
@ -7,7 +7,7 @@ metadata:
|
|||
app.kubernetes.io/instance: resalloc-server
|
||||
app.kubernetes.io/name: resalloc-server
|
||||
app.kubernetes.io/part-of: openscanhub
|
||||
app.openshift.io/runtime-version: staging
|
||||
app.openshift.io/runtime-version: {{ env }}
|
||||
name: resalloc-server
|
||||
namespace: openscanhub
|
||||
spec:
|
Loading…
Add table
Add a link
Reference in a new issue