diff --git a/charts/arnor/Chart.yaml b/charts/arnor/Chart.yaml index 44e5bb5..87c1234 100644 --- a/charts/arnor/Chart.yaml +++ b/charts/arnor/Chart.yaml @@ -17,7 +17,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/arnor/templates/servicemonitor.yaml b/charts/arnor/templates/servicemonitor.yaml index 3c8a9b9..052f6aa 100644 --- a/charts/arnor/templates/servicemonitor.yaml +++ b/charts/arnor/templates/servicemonitor.yaml @@ -23,6 +23,10 @@ spec: {{- if .Values.serviceMonitor.timeout }} scrapeTimeout: {{ .Values.serviceMonitor.timeout }} {{- end }} +{{- if .Values.serviceMonitor.authorization }} + authorization: +{{ toYaml .Values.serviceMonitor.authorization | indent 4 }} +{{- end }} {{- if .Values.serviceMonitor.metricRelabelings }} metricRelabelings: {{ toYaml .Values.serviceMonitor.metricRelabelings | indent 4 }} diff --git a/charts/arnor/values.yaml b/charts/arnor/values.yaml index 6f74509..e25f3ea 100644 --- a/charts/arnor/values.yaml +++ b/charts/arnor/values.yaml @@ -118,6 +118,10 @@ affinity: {} serviceMonitor: enabled: false + # authorization: + # credentials: + # name: arnor-service-monitor-auth + # key: auth prometheusRule: