From 64c7c9128d83012c83b60b266823218e007178e2 Mon Sep 17 00:00:00 2001 From: realanna Date: Mon, 30 Jan 2023 18:11:22 +0100 Subject: [PATCH] fix: added Pod port Signed-off-by: realanna --- operator/config/manager/manager.yaml | 3 +++ operator/config/rbac/auth_proxy_service.yaml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/operator/config/manager/manager.yaml b/operator/config/manager/manager.yaml index 36f722a0bad..b931af46687 100644 --- a/operator/config/manager/manager.yaml +++ b/operator/config/manager/manager.yaml @@ -65,6 +65,9 @@ spec: - name: keptn-metrics containerPort: 9999 protocol: TCP + - name: metrics + containerPort: 2222 + protocol: TCP imagePullPolicy: Always env: - name: POD_NAMESPACE diff --git a/operator/config/rbac/auth_proxy_service.yaml b/operator/config/rbac/auth_proxy_service.yaml index 38c6de00898..c66f6348267 100644 --- a/operator/config/rbac/auth_proxy_service.yaml +++ b/operator/config/rbac/auth_proxy_service.yaml @@ -14,13 +14,13 @@ spec: - name: metrics port: 2222 protocol: TCP - targetPort: 2222 + targetPort: metrics - name: custom-metrics targetPort: 6443 port: 443 - name: keptn-metrics protocol: TCP port: 9999 - targetPort: 9999 + targetPort: keptn-metrics selector: control-plane: controller-manager