Instruct ServiceMonitor to connect using https for controller (#625)
Lint and Test Charts / lint-test (push) Has been cancelled

The controller metrics endpoint serves over https using a self-signed cert by default in this chart so correct the ServiceMonitor to reflect.
This commit is contained in:
John Stewart
2021-06-29 15:50:38 +09:00
committed by GitHub
parent 7722730dc0
commit 79543add3f
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -15,7 +15,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.12.3
version: 0.12.4
# Used as the default manager tag value when no tag property is provided in the values.yaml
appVersion: 0.19.0
@@ -9,6 +9,12 @@ spec:
endpoints:
- path: /metrics
port: metrics-port
{{- if .Values.metrics.proxy.enabled }}
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
scheme: https
tlsConfig:
insecureSkipVerify: true
{{- end }}
selector:
matchLabels:
{{- include "actions-runner-controller.selectorLabels" . | nindent 6 }}