diff --git a/charts/spark-operator-chart/templates/deployment.yaml b/charts/spark-operator-chart/templates/deployment.yaml index 959e4ed1b..c4823a642 100644 --- a/charts/spark-operator-chart/templates/deployment.yaml +++ b/charts/spark-operator-chart/templates/deployment.yaml @@ -10,6 +10,10 @@ metadata: name: {{ include "spark-operator.fullname" . }} labels: {{- include "spark-operator.labels" . | nindent 4 }} + {{- with .Values.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: {{ .Values.replicaCount }} selector: diff --git a/charts/spark-operator-chart/values.yaml b/charts/spark-operator-chart/values.yaml index f169df474..0660871c3 100644 --- a/charts/spark-operator-chart/values.yaml +++ b/charts/spark-operator-chart/values.yaml @@ -136,6 +136,9 @@ tolerations: [] # affinity -- Affinity for pod assignment affinity: {} +# annotations -- Additional annotations to add to the deployment +annotations: {} + # podAnnotations -- Additional annotations to add to the pod podAnnotations: {}