Skip to content

Commit 92c61b0

Browse files
committed
feat(pontoon): improve custom pod annotations
1 parent 737e1ba commit 92c61b0

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

charts/pontoon/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: pontoon
33
home: https://github.com/mozilla/pontoon
4-
version: 1.3.0
4+
version: 1.4.0
55
# Pontoon no longer cuts releases.
66
# See https://github.com/mozilla/pontoon/releases/tag/2018-12-19
77
# and https://hub.docker.com/r/skillsnetwork/pontoon/tags

charts/pontoon/templates/pontoon-migration-job.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ spec:
2222
heritage: {{ .Release.Service }}
2323
release: {{ .Release.Name }}
2424
component: "pontoon-migration-job"
25+
{{- if .Values.podAnnotations }}
26+
annotations:
27+
{{- range $key, $value := .Values.podAnnotations }}
28+
{{ $key }}: {{ $value | quote }}
29+
{{- end }}
30+
{{- end }}
2531
spec:
2632
imagePullSecrets:
2733
{{- range .Values.imagePullSecrets }}

charts/pontoon/templates/pontoon-sync-projects-cronjob.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ spec:
3434
heritage: {{ .Release.Service }}
3535
release: {{ .Release.Name }}
3636
component: "pontoon-sync-projects-cronjob"
37+
annotations:
38+
{{- range $key, $value := .Values.syncProjectCronjob.podAnnotations }}
39+
{{ $key }}: {{ $value | quote }}
40+
{{- end }}
3741
spec:
3842
imagePullSecrets:
3943
{{- range .Values.imagePullSecrets }}

0 commit comments

Comments
 (0)