Ability to add pod annotation to statefulset (#24)

ability to add pod annotation

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/24
Reviewed-by: luhahn <luhahn@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
mmuenster
2020-09-24 16:32:11 +00:00
committed by techknowlogick
parent 39d6d9b9d5
commit ffd6e5f92c
3 changed files with 14 additions and 0 deletions

View File

@ -14,6 +14,9 @@ spec:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/gitea/config.yaml") . | sha256sum }}
{{- with .Values.gitea.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "gitea.selectorLabels" . | nindent 8 }}
spec: