1
0
Fork 0
forked from infra/ansible

openshift-apps/bodhi: fix annotations metadata in wrong place

728b6c57a3 inadvertently put the
annotations in the wrong place for bodhi-celery (in spec, not in
metadata).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2026-06-02 11:47:05 -07:00
commit f89447b834

View file

@ -210,13 +210,13 @@ metadata:
name: bodhi-celery
labels:
app: bodhi-celery
annotations:
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"bodhi-base:latest","namespace":"bodhi"},"fieldPath":"spec.template.spec.containers[?(@.name==\"bodhi-celery\")].image"}]'
spec:
replicas: {{ bodhi_openshift_pods }}
selector:
matchLabels:
app: bodhi-celery
annotations:
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"bodhi-base:latest","namespace":"bodhi"},"fieldPath":"spec.template.spec.containers[?(@.name==\"bodhi-celery\")].image"}]'
strategy:
type: RollingUpdate
rollingUpdate: