From c44cfb8bc8cceee03a2f0c5b74869bab8b78a229 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Sat, 27 Jul 2024 14:24:37 +0300 Subject: [PATCH] fix kubelogin --- passmower/kubelogin.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 passmower/kubelogin.yaml diff --git a/passmower/kubelogin.yaml b/passmower/kubelogin.yaml new file mode 100644 index 0000000..ab7a056 --- /dev/null +++ b/passmower/kubelogin.yaml @@ -0,0 +1,21 @@ +--- +apiVersion: codemowers.cloud/v1beta1 +kind: OIDCClient +metadata: + name: kubelogin +spec: + displayName: Kubernetes API + uri: https://git.k-space.ee/k-space/kube#cluster-access + redirectUris: + - http://localhost:27890 + allowedGroups: + - k-space:kubernetes:admins + grantTypes: + - authorization_code + - refresh_token + responseTypes: + - code + availableScopes: + - openid + - profile + tokenEndpointAuthMethod: none