Skip to content

Commit

Permalink
Merge pull request #312 from abohne/add-label-support-to-servicemonitor
Browse files Browse the repository at this point in the history
Allow labels to be specified on servicemonitor
  • Loading branch information
jetstack-bot committed Jan 19, 2024
2 parents afb1c0f + 00da4ad commit ec3007b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/aws-pca-issuer/templates/service-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "aws-privateca-issuer.labels" . | nindent 4 }}
{{- with .Values.serviceMonitor.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.serviceMonitor.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions charts/aws-pca-issuer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ approverRole:
serviceMonitor:
create: false
annotations: {}
labels: {}

podAnnotations: {}

Expand Down

0 comments on commit ec3007b

Please sign in to comment.