From 2d7d339db0533f486bec266ed32e6e158ce38de9 Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Thu, 4 Apr 2024 11:39:50 +0200 Subject: [PATCH] Align deployment with new management port used by Keycloak https://github.com/keycloak/keycloak/pull/27629 Signed-off-by: Alexander Schwartz --- provision/minikube/keycloak/templates/keycloak-monitor.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/provision/minikube/keycloak/templates/keycloak-monitor.yaml b/provision/minikube/keycloak/templates/keycloak-monitor.yaml index a987b95e4..0702bf1cb 100644 --- a/provision/minikube/keycloak/templates/keycloak-monitor.yaml +++ b/provision/minikube/keycloak/templates/keycloak-monitor.yaml @@ -9,8 +9,7 @@ spec: matchLabels: app: keycloak podMetricsEndpoints: - # todo: targetPort is deprecated, ask the operator to specify a name instead - - targetPort: 8443 + - port: management scheme: https tlsConfig: insecureSkipVerify: true @@ -28,4 +27,4 @@ spec: podMetricsEndpoints: - port: otel-prometheus {{ end }} -{{ end }} \ No newline at end of file +{{ end }}