diff --git a/packages/system/dashboard/templates/gatekeeper.yaml b/packages/system/dashboard/templates/gatekeeper.yaml index 8d4b13f74..3aa6c5bef 100644 --- a/packages/system/dashboard/templates/gatekeeper.yaml +++ b/packages/system/dashboard/templates/gatekeeper.yaml @@ -68,6 +68,8 @@ spec: {{- end }} - --whitelist-domain=keycloak.{{ $host }} - --email-domain=* + - --api-route=^/api(/|$) + - --api-route=^/apis(/|$) - --pass-access-token=true - --pass-authorization-header=true - --cookie-refresh=3m diff --git a/packages/system/dashboard/templates/keycloakclient.yaml b/packages/system/dashboard/templates/keycloakclient.yaml index fa33fea4a..cd455af7f 100644 --- a/packages/system/dashboard/templates/keycloakclient.yaml +++ b/packages/system/dashboard/templates/keycloakclient.yaml @@ -64,6 +64,8 @@ spec: directAccess: true public: false webUrl: "https://dashboard.{{ $host }}" + webOrigins: + - "+" defaultClientScopes: - groups - kubernetes-client