diff --git a/helm/monitoring/oauth2-proxy-alertmanager.yaml b/helm/monitoring/oauth2-proxy-alertmanager.yaml index 36f730f..8f12954 100644 --- a/helm/monitoring/oauth2-proxy-alertmanager.yaml +++ b/helm/monitoring/oauth2-proxy-alertmanager.yaml @@ -13,7 +13,7 @@ config: extraArgs: provider: oidc - oidc-issuer-url: "http://keycloak.13.140.150.2.nip.io/auth/realms/k8s-apps" + oidc-issuer-url: "http://keycloak-keycloakx-http.keycloak.svc.cluster.local/auth/realms/k8s-apps" email-domain: "*" insecure-oidc-allow-unverified-email: "true" upstream: "http://monitoring-kube-prometheus-alertmanager.monitoring.svc.cluster.local:9093" diff --git a/helm/monitoring/oauth2-proxy-prometheus.yaml b/helm/monitoring/oauth2-proxy-prometheus.yaml index 45c58ea..a2585b4 100644 --- a/helm/monitoring/oauth2-proxy-prometheus.yaml +++ b/helm/monitoring/oauth2-proxy-prometheus.yaml @@ -13,7 +13,7 @@ config: extraArgs: provider: oidc - oidc-issuer-url: "http://keycloak.13.140.150.2.nip.io/auth/realms/k8s-apps" + oidc-issuer-url: "http://keycloak-keycloakx-http.keycloak.svc.cluster.local/auth/realms/k8s-apps" email-domain: "*" insecure-oidc-allow-unverified-email: "true" upstream: "http://monitoring-kube-prometheus-prometheus.monitoring.svc.cluster.local:9090" diff --git a/helm/monitoring/values.yaml b/helm/monitoring/values.yaml index aeeaf6f..356b9d0 100644 --- a/helm/monitoring/values.yaml +++ b/helm/monitoring/values.yaml @@ -30,8 +30,8 @@ grafana: client_secret: $__file{/etc/secrets/GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET} scopes: openid email profile auth_url: http://keycloak.13.140.150.2.nip.io/auth/realms/k8s-apps/protocol/openid-connect/auth - token_url: http://keycloak.13.140.150.2.nip.io/auth/realms/k8s-apps/protocol/openid-connect/token - api_url: http://keycloak.13.140.150.2.nip.io/auth/realms/k8s-apps/protocol/openid-connect/userinfo + token_url: http://keycloak-keycloakx-http.keycloak.svc.cluster.local/auth/realms/k8s-apps/protocol/openid-connect/token + api_url: http://keycloak-keycloakx-http.keycloak.svc.cluster.local/auth/realms/k8s-apps/protocol/openid-connect/userinfo email_attribute_path: email login_attribute_path: preferred_username