Skip to content

Commit fd74c82

Browse files
authored
Merge pull request #795 from snyk/feat/metadata-annotations
feat: add metadata annotations for deployment
2 parents 0d9e676 + 8ee384c commit fd74c82

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

snyk-monitor/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ spec:
2222
app.kubernetes.io/name: {{ include "snyk-monitor.name" . }}
2323
app.kubernetes.io/instance: {{ .Release.Name }}
2424
app.kubernetes.io/managed-by: {{ .Release.Service }}
25+
{{- with .Values.metadata.annotations }}
26+
annotations:
27+
{{- toYaml . | nindent 8 }}
28+
{{- end }}
2529
spec:
2630
affinity:
2731
nodeAffinity:

snyk-monitor/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ log_level:
9191

9292
nodeSelector: {}
9393

94+
# Additional annotations for the snyk-monitor Deployment's Pod
95+
metadata:
96+
annotations: {}
97+
9498
psp:
9599
enabled: false
96100
name: ""

0 commit comments

Comments
 (0)