Skip to content

Commit 41fa4c2

Browse files
authored
Merge pull request #82 from yurii-kryvosheia/main
chore: add configurable pod annotation
2 parents d6cf85c + d07d035 commit 41fa4c2

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

charts/prom-aggregation-gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: prom-aggregation-gateway
3-
version: 0.6.0
3+
version: 0.6.1
44
home: https://github.com/zapier/prom-aggregation-gateway
55
maintainers:
66
- name: djeebus

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)