diff --git a/helm/hybrid-cloud-postgresql-operator/templates/deployment.yaml b/helm/hybrid-cloud-postgresql-operator/templates/deployment.yaml index 99a37e4..17cb4b8 100644 --- a/helm/hybrid-cloud-postgresql-operator/templates/deployment.yaml +++ b/helm/hybrid-cloud-postgresql-operator/templates/deployment.yaml @@ -26,6 +26,9 @@ spec: {{- end }} labels: {{- include "operator.selectorLabels" . | nindent 8 }} + {{- if .Values.podLabels }} + {{- toYaml .Values.podLabels | nindent 8 }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/helm/hybrid-cloud-postgresql-operator/values.yaml b/helm/hybrid-cloud-postgresql-operator/values.yaml index 1665af6..275c30e 100644 --- a/helm/hybrid-cloud-postgresql-operator/values.yaml +++ b/helm/hybrid-cloud-postgresql-operator/values.yaml @@ -39,8 +39,12 @@ volumes: [] # List of volume mounts for the operator pod volumeMounts: [] +# Extra annotations to add to the operator pods podAnnotations: {} +# Extra labels to add to the operator pods +podLabels: {} + podSecurityContext: {} securityContext: {}