Skip to content

Commit 63ec414

Browse files
committed
feat: support adding annotations on Deployment
1 parent 47c5901 commit 63ec414

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

charts/pulsar-resources-operator/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ kind: Deployment
1818
metadata:
1919
name: {{ include "pulsar-resources-operator.fullname" . }}
2020
namespace: {{ include "pulsar-resources-operator.namespace" .}}
21+
{{- with .Values.annotations }}
22+
annotations:
23+
{{- toYaml . | nindent 4 }}
24+
{{- end }}
2125
labels:
2226
{{- include "pulsar-resources-operator.labels" . | nindent 4 }}
2327
{{- with .Values.labels }}

charts/pulsar-resources-operator/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ serviceAccount:
6666
# -- Add labels for the deployment
6767
labels: {}
6868

69+
# -- Add annotations for the deployment
70+
annotations: {}
71+
6972
# -- Add annotations for the deployment pod
7073
podAnnotations: {}
7174

0 commit comments

Comments
 (0)