Skip to content

Commit

Permalink
Support deployment annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
vpbarb committed Oct 13, 2023
1 parent 56ff5ff commit 0e50be4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/spark-operator-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions charts/spark-operator-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}

Expand Down

0 comments on commit 0e50be4

Please sign in to comment.