Skip to content

Commit c3d449c

Browse files
committed
Update controller manager metrics configuration to use HTTPS scheme
1 parent 90a6ee7 commit c3d449c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

charts/function-mesh-operator/templates/controller-manager-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
prometheus.io/scrape: "true"
2727
prometheus.io/path: "/metrics"
2828
prometheus.io/port: "{{ .Values.controllerManager.metrics.port }}"
29+
prometheus.io/scheme: "{{ .Values.controllerManager.metrics.scheme }}"
2930
traffic.sidecar.istio.io/excludeInboundPorts: '9443,8443'
3031
spec:
3132
{{- if .Values.controllerManager.serviceAccount }}

charts/function-mesh-operator/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ controllerManager:
6464
enableLeaderElection: true
6565
metrics:
6666
port: 8443
67+
scheme: https
6768
healthProbe:
6869
port: 8000
6970
pprof:

0 commit comments

Comments
 (0)