Skip to content

Commit 08fd8dd

Browse files
chore: add configurable pod annotation
Signed-off-by: Yurii Kryvosheia <yurii.kryvosheia@finsight.com>
1 parent d6cf85c commit 08fd8dd

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/prom-aggregation-gateway/templates/controller.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ spec:
2020
{{- end }}
2121
template:
2222
metadata:
23+
{{- with .Values.podAnnotations }}
24+
annotations:
25+
{{- toYaml . | nindent 8 }}
26+
{{- end }}
2327
labels:
2428
{{- include "prom-aggregation-gateway.selectorLabels" . | nindent 8 }}
2529
spec:

charts/prom-aggregation-gateway/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ podMonitor:
2121
create: true
2222
additionalLabels: {}
2323

24+
podAnnotations: {}
25+
2426
service:
2527
create: true
2628
annotations: {}

0 commit comments

Comments
 (0)