diff --git a/charts/community-operator/templates/operator.yaml b/charts/community-operator/templates/operator.yaml index 69369245..b2687717 100644 --- a/charts/community-operator/templates/operator.yaml +++ b/charts/community-operator/templates/operator.yaml @@ -24,6 +24,10 @@ spec: {{- with .Values.operator.podLabels }} {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.operator.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/community-operator/values.yaml b/charts/community-operator/values.yaml index eddd43e4..b71b1466 100644 --- a/charts/community-operator/values.yaml +++ b/charts/community-operator/values.yaml @@ -17,6 +17,9 @@ operator: # Version of mongodb-kubernetes-operator version: 0.13.0 + # Additional annotations to be added to the operator pod + podAnnotations: {} + # Uncomment this line to watch all namespaces # watchNamespace: "*"