Skip to content

Commit

Permalink
add support for annotaiont on prometheus (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
netic-rkm authored Jan 16, 2024
1 parent 9be26f9 commit 692e3e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/aoi/templates/prometheus/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
prometheus_cluster: ${cluster_name}/aoi-prometheus
provider: "${cluster_provider}"
podMetadata:
annotations:
{{- toYaml .Values.prometheus.podAnnotations | nindent 6 }}
labels:
{{- include "aoi.prometheusSelectorLabels" . | nindent 6 }}
{{- with .Values.global.podLabels }}
Expand Down
1 change: 1 addition & 0 deletions charts/aoi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ prometheus:
cpu: 100m
memory: 256Mi
priorityClassName: null
podAnnotations: {}
podSecurityContext:
runAsUser: 1000
runAsGroup: 3000
Expand Down

0 comments on commit 692e3e1

Please sign in to comment.