Skip to content

Commit 7c77c01

Browse files
Added annotations for pods (max-rocket-internet#15)
1 parent 8bd0f1a commit 7c77c01

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

chart/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ spec:
1212
app.kubernetes.io/instance: {{ .Release.Name }}
1313
template:
1414
metadata:
15+
{{- with .Values.podAnnotations }}
16+
annotations:
17+
{{- toYaml . | nindent 8 }}
18+
{{- end }}
1519
labels:
1620
app.kubernetes.io/name: {{ include "k8s-event-logger.name" . }}
1721
app.kubernetes.io/instance: {{ .Release.Name }}

chart/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ nodeSelector: {}
2222
tolerations: []
2323
affinity: {}
2424
podLabels: {}
25+
podAnnotations: {}

0 commit comments

Comments
 (0)