Skip to content

Commit

Permalink
feat(pontoon): improve custom pod annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellzc committed Jun 15, 2021
1 parent 737e1ba commit 92c61b0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/pontoon/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: pontoon
home: https:/mozilla/pontoon
version: 1.3.0
version: 1.4.0
# Pontoon no longer cuts releases.
# See https:/mozilla/pontoon/releases/tag/2018-12-19
# and https://hub.docker.com/r/skillsnetwork/pontoon/tags
Expand Down
6 changes: 6 additions & 0 deletions charts/pontoon/templates/pontoon-migration-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ spec:
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
component: "pontoon-migration-job"
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
Expand Down
4 changes: 4 additions & 0 deletions charts/pontoon/templates/pontoon-sync-projects-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
component: "pontoon-sync-projects-cronjob"
annotations:
{{- range $key, $value := .Values.syncProjectCronjob.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
Expand Down

0 comments on commit 92c61b0

Please sign in to comment.