Skip to content

Commit

Permalink
Merge pull request #30 from genofire/patch-1
Browse files Browse the repository at this point in the history
fix: add labels to podmonitor
  • Loading branch information
gsautner committed Jan 24, 2024
2 parents 60b2c18 + 27ae2a2 commit c1d6aa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/xwiki/templates/podmonitor.yaml
Expand Up @@ -5,6 +5,9 @@ metadata:
name: {{ include "xwiki.fullname" . }}
labels:
{{- include "xwiki.labels" . | nindent 4 }}
{{- with .Values.prometheus.podmonitor.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
selector:
matchLabels:
Expand Down
1 change: 1 addition & 0 deletions charts/xwiki/values.yaml
Expand Up @@ -444,3 +444,4 @@ prometheus:
- pattern: ".*"
podmonitor:
enabled: true
labels: {}

0 comments on commit c1d6aa7

Please sign in to comment.