Skip to content

Commit

Permalink
Allow labels to be specified on servicemonitor
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Bohne <andy.bohne@armis.com>
  • Loading branch information
abohne committed Jan 12, 2024
1 parent 83ce2cd commit 00da4ad
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 00da4ad

Please sign in to comment.