forked from infra/ansible
Fix the triggers for the deployment in webhook2fedmsg
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
ea82ea2c9a
commit
d98ce9b9f8
1 changed files with 3 additions and 3 deletions
|
|
@ -2,10 +2,12 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: app
|
||||
labels:
|
||||
app: webhook2fedmsg
|
||||
service: webhook2fedmsg
|
||||
name: app
|
||||
annotations:
|
||||
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"webhook2fedmsg:latest"},"fieldPath":"spec.template.spec.containers[?(@.name==\"app\")].image"}]'
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
|
|
@ -19,8 +21,6 @@ spec:
|
|||
labels:
|
||||
app: webhook2fedmsg
|
||||
service: webhook2fedmsg
|
||||
annotations:
|
||||
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"webhook2fedmsg:latest"},"fieldPath":"spec.template.spec.containers[?(@.name==\"app\")].image"}]'
|
||||
spec:
|
||||
initContainers:
|
||||
- name: setup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue