diff --git a/charts/ext-postgres-operator/templates/operator.yaml b/charts/ext-postgres-operator/templates/operator.yaml index fdcc2444..fa2a33a8 100644 --- a/charts/ext-postgres-operator/templates/operator.yaml +++ b/charts/ext-postgres-operator/templates/operator.yaml @@ -5,6 +5,10 @@ metadata: labels: {{- include "chart.labels" . | nindent 4 }} namespace: {{ .Release.Namespace }} + {{- with .Values.deploymentAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: {{ .Values.replicaCount }} selector: diff --git a/charts/ext-postgres-operator/values.yaml b/charts/ext-postgres-operator/values.yaml index 026bcc07..90f9ff0c 100644 --- a/charts/ext-postgres-operator/values.yaml +++ b/charts/ext-postgres-operator/values.yaml @@ -22,6 +22,8 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template name: "" +deploymentAnnotations: {} + podAnnotations: {} # Additionnal labels to add to the pod.