diff --git a/charts/aws-pca-issuer/templates/service-monitor.yaml b/charts/aws-pca-issuer/templates/service-monitor.yaml index 21141326..df2e4c5c 100644 --- a/charts/aws-pca-issuer/templates/service-monitor.yaml +++ b/charts/aws-pca-issuer/templates/service-monitor.yaml @@ -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 }} diff --git a/charts/aws-pca-issuer/values.yaml b/charts/aws-pca-issuer/values.yaml index 91e6baa0..4d66207c 100644 --- a/charts/aws-pca-issuer/values.yaml +++ b/charts/aws-pca-issuer/values.yaml @@ -44,6 +44,7 @@ approverRole: serviceMonitor: create: false annotations: {} + labels: {} podAnnotations: {}