KubeZero/docs/api-server.md
2020-09-01 14:18:02 +01:00

481 B

api-server OAuth configuration

Update Api-server config

Add the following extraArgs to the ClusterConfiguration configMap in the kube-system namespace: kubectl edit -n kube-system cm kubeadm-config

        oidc-issuer-url: "https://accounts.google.com"
        oidc-client-id: "<CLIENT_ID from Google>"
        oidc-username-claim: "email"
        oidc-groups-claim: "groups"

Resources