From 205226cb57936a8a4a274fabc8cb397413f51baa Mon Sep 17 00:00:00 2001 From: ChristianZaccaria Date: Tue, 18 Jul 2023 15:50:52 +0100 Subject: [PATCH] Expose CodeFlare Operator metrics endpoint --- config/default/manager_auth_proxy_patch.yaml | 2 +- config/rbac/auth_proxy_service.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index 24d5b119..31e1a364 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -35,5 +35,5 @@ spec: - name: manager args: - "--health-probe-bind-address=:8081" - - "--metrics-bind-address=127.0.0.1:8080" + - "--metrics-bind-address=0.0.0.0:8080" - "--leader-elect" diff --git a/config/rbac/auth_proxy_service.yaml b/config/rbac/auth_proxy_service.yaml index 25010042..c53c92d1 100644 --- a/config/rbac/auth_proxy_service.yaml +++ b/config/rbac/auth_proxy_service.yaml @@ -8,7 +8,7 @@ spec: - name: https port: 8443 protocol: TCP - targetPort: https + targetPort: 8080 selector: app.kubernetes.io/name: codeflare-operator app.kubernetes.io/part-of: codeflare