Skip to content

Commit 5dd46ef

Browse files
committed
feat: allow deployment annotations in Helm Chart
1 parent 3a8013a commit 5dd46ef

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/k8s-aws-operator/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: {{ include "k8s-aws-operator.fullname" . }}
5+
{{- with .Values.deploymentAnnotations }}
6+
annotations:
7+
{{- toYaml . | nindent 4 }}
8+
{{- end }}
59
labels:
610
{{- include "k8s-aws-operator.labels" . | nindent 4 }}
711
spec:

charts/k8s-aws-operator/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ image:
33
repository: goto-opensource/k8s-aws-operator
44
tag: # coming from appVersion
55

6+
# deploymentAnnotations: {}
7+
68
resources:
79
requests:
810
cpu: 20m

0 commit comments

Comments
 (0)