forked from infra/ansible
badges: fix image trigger annote order on deploy metadata
Similar to infra/ansible#3338 Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
This commit is contained in:
parent
b8773db5ba
commit
993e600700
1 changed files with 2 additions and 2 deletions
|
|
@ -118,6 +118,8 @@ metadata:
|
|||
labels:
|
||||
app: badges
|
||||
deployment: consumer
|
||||
annotations:
|
||||
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"fedbadges:latest"},"fieldPath":"spec.template.spec.containers[?(@.name==\"consumer\")].image"}]'
|
||||
spec:
|
||||
replicas: {{ (env == 'production')|ternary(2, 1) }}
|
||||
selector:
|
||||
|
|
@ -131,8 +133,6 @@ spec:
|
|||
labels:
|
||||
app: badges
|
||||
deployment: consumer
|
||||
annotations:
|
||||
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"fedbadges:latest"},"fieldPath":"spec.template.spec.containers[?(@.name==\"consumer\")].image"}]'
|
||||
spec:
|
||||
initContainers:
|
||||
- name: db-sync
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue