From 627ca7816ee63d11b2534d56b53b81e0a0f4bcef Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Tue, 12 Sep 2023 15:16:42 +0200 Subject: [PATCH 1/2] Change mTLS mode to `PERMISSIVE` --- .../charts/controller/templates/peerauthentication.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/eventing/charts/controller/templates/peerauthentication.yaml b/resources/eventing/charts/controller/templates/peerauthentication.yaml index a41d922ed440..f703200f7d3d 100644 --- a/resources/eventing/charts/controller/templates/peerauthentication.yaml +++ b/resources/eventing/charts/controller/templates/peerauthentication.yaml @@ -10,4 +10,4 @@ spec: matchLabels: {{- include "controller.peerAuth.selectorLabels" . | nindent 6 }} portLevelMtls: {{ .Values.metrics.config.port }}: - mode: STRICT \ No newline at end of file + mode: PERMISSIVE From 7b2b6563d390c2d1ad4ec67abe0e189093f43dc2 Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Fri, 15 Sep 2023 15:25:49 +0200 Subject: [PATCH 2/2] add http label for prometheus on eventing-controller --- resources/eventing/charts/controller/templates/service.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/eventing/charts/controller/templates/service.yaml b/resources/eventing/charts/controller/templates/service.yaml index 345a9642223d..2d550b0d566f 100644 --- a/resources/eventing/charts/controller/templates/service.yaml +++ b/resources/eventing/charts/controller/templates/service.yaml @@ -5,6 +5,7 @@ metadata: labels: {{- include "controller.labels" . | nindent 4 }} annotations: prometheus.io/scrape: "true" + prometheus.io/scheme: http prometheus.io/port: {{ .Values.metrics.config.port | quote }} spec: type: ClusterIP