Skip to content

Commit c0ab6e2

Browse files
committed
fix: remove namespace and paused fields from image trigger annotations
The trigger controller only fired once on annotation creation rather than on subsequent ImageStream updates. Stripping namespace (same-namespace triggers don't need it) and the paused field to match the minimal format that the controller reliably watches. Bump chart to 0.3.3.
1 parent fc4c7c9 commit c0ab6e2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: pint
33
description: Pouring IPA for Network Trust - CSH WiFi EAP-TLS enrollment and home RadSec management
44
type: application
5-
version: 0.3.2
5+
version: 0.3.3
66
appVersion: "0.1.0"

chart/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
{{- include "pint.labels" . | nindent 4 }}
99
{{- if .Values.openshift.build.enabled }}
1010
annotations:
11-
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"{{ .Values.openshift.build.imageStreamName }}:{{ .Values.pint.image.tag }}","namespace":"{{ .Release.Namespace }}"},"fieldPath":"spec.template.spec.containers[?(@.name==\"pint\")].image","paused":"false"}]'
11+
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"{{ .Values.openshift.build.imageStreamName }}:{{ .Values.pint.image.tag }}"},"fieldPath":"spec.template.spec.containers[?(@.name==\"pint\")].image"}]'
1212
{{- end }}
1313
spec:
1414
replicas: 1

chart/templates/freeradius-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
{{- include "pint.freeradiusLabels" . | nindent 4 }}
99
{{- if .Values.openshift.build.enabled }}
1010
annotations:
11-
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"{{ .Values.openshift.build.freeradiusImageStreamName }}:{{ .Values.freeradius.image.tag }}","namespace":"{{ .Release.Namespace }}"},"fieldPath":"spec.template.spec.containers[?(@.name==\"freeradius\")].image","paused":"false"}]'
11+
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"{{ .Values.openshift.build.freeradiusImageStreamName }}:{{ .Values.freeradius.image.tag }}"},"fieldPath":"spec.template.spec.containers[?(@.name==\"freeradius\")].image"}]'
1212
{{- end }}
1313
spec:
1414
replicas: 1

0 commit comments

Comments
 (0)