Skip to content

Commit c4fda9c

Browse files
authored
Merge pull request #575 from dennis-ge/configure-deployment-annotations
feat(574): allow configuring annotations for Deployment
2 parents 498a272 + 81d0dd4 commit c4fda9c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/ingressmonitorcontroller/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ metadata:
66
labels:
77
{{- include "ingress-monitor-controller.labels" . | nindent 4 }}
88
control-plane: controller-manager
9+
{{- with .Values.deploymentAnnotations }}
10+
annotations:
11+
{{- toYaml . | nindent 4 }}
12+
{{- end }}
913
spec:
1014
replicas: {{ .Values.replicaCount }}
1115
selector:

charts/ingressmonitorcontroller/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ resources:
7171
# cpu: 100m
7272
# memory: 128Mi
7373

74+
deploymentAnnotations: {}
75+
7476
podAnnotations: {}
7577

7678
podSecurityContext:

0 commit comments

Comments
 (0)