Skip to content

Commit 8a46542

Browse files
authored
Add deploymentAnnotations to helm chart (#11376)
Signed-off-by: Chris Forkner <cforkner@twilio.com>
1 parent 76f14a5 commit 8a46542

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

packaging/helm-charts/helm3/strimzi-kafka-operator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ the documentation for more details.
106106
| `defaultImageRegistry` | Default image registry for all the images | `quay.io` |
107107
| `defaultImageRepository` | Default image registry for all the images | `strimzi` |
108108
| `defaultImageTag` | Default image tag for all the images except Kafka Bridge | `latest` |
109+
| `deploymentAnnotations` | Annotations for the operator deployment | `{}` |
109110
| `image.registry` | Override default Cluster Operator image registry | `nil` |
110111
| `image.repository` | Override default Cluster Operator image repository | `nil` |
111112
| `image.name` | Cluster Operator image name | `operator` |

packaging/helm-charts/helm3/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ metadata:
99
component: deployment
1010
release: {{ .Release.Name }}
1111
heritage: {{ .Release.Service }}
12+
{{- with .Values.deploymentAnnotations }}
13+
annotations:
14+
{{- toYaml . | nindent 4 }}
15+
{{- end }}
1216
spec:
1317
replicas: {{ .Values.replicas }}
1418
{{- if .Values.revisionHistoryLimit }}

packaging/helm-charts/helm3/strimzi-kafka-operator/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ affinity: {}
4141
annotations: {}
4242
labels: {}
4343
nodeSelector: {}
44+
deploymentAnnotations: {}
4445
priorityClassName: ""
4546

4647
podSecurityContext: {}

0 commit comments

Comments
 (0)