diff --git a/moon2/templates/deployment.yaml b/moon2/templates/deployment.yaml index 73bc460..a8ca0c2 100644 --- a/moon2/templates/deployment.yaml +++ b/moon2/templates/deployment.yaml @@ -20,6 +20,10 @@ spec: app: {{ .Release.Name }} template: metadata: + annotations: + {{- range $key, $value := .Values.deployment.podAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} labels: app: {{ .Release.Name }} spec: diff --git a/moon2/values.yaml b/moon2/values.yaml index 897a96d..c77708b 100644 --- a/moon2/values.yaml +++ b/moon2/values.yaml @@ -126,6 +126,11 @@ deployment: ## annotations: {} + ## + ## Custom pod annotations. + ## + podAnnotations: {} + ## ## Total number of Moon pods. Default is 2. ##