Skip to content

Commit

Permalink
Helm chart support pod annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet committed Oct 27, 2023
1 parent 01d8dbd commit 3608b07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/artifacts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ spec:
app: {{ template "fullname" $ }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
terminationGracePeriodSeconds: {{ .Values.deployment.terminationGracePeriodSeconds }}
{{- if .Values.image.pullSecrets }}
Expand Down
2 changes: 2 additions & 0 deletions charts/artifacts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ nameOverride: "artifacts"
## fullnameOverride allows to change the full name of resources
fullnameOverride:

podAnnotations: {}

githubApiBasicAuth:
## githubApiUrl contains the api url to check the auth connection
##
Expand Down

0 comments on commit 3608b07

Please sign in to comment.