Skip to content

Commit

Permalink
chore: add configurable pod annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Kryvosheia <[email protected]>
  • Loading branch information
yurii-kryvosheia committed Nov 3, 2023
1 parent d6cf85c commit 08fd8dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/prom-aggregation-gateway/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ spec:
{{- end }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "prom-aggregation-gateway.selectorLabels" . | nindent 8 }}
spec:
Expand Down
2 changes: 2 additions & 0 deletions charts/prom-aggregation-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ podMonitor:
create: true
additionalLabels: {}

podAnnotations: {}

service:
create: true
annotations: {}
Expand Down

0 comments on commit 08fd8dd

Please sign in to comment.