Created
December 6, 2021 13:25
-
-
Save salrashid123/ec4066a1177877436b9427a3cd7a7f01 to your computer and use it in GitHub Desktop.
k8s_wif_14.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DISCOVERY_URL="https://e782-72-83-67-174.ngrok.io" | |
minikube start --driver=kvm2 --feature-gates=ServiceAccountIssuerDiscovery=true \ | |
--extra-config=apiserver.service-account-jwks-uri=$DISCOVERY_URL/openid/v1/jwks \ | |
--extra-config=apiserver.service-account-issuer=$DISCOVERY_URL | |
# enable the cluster role bindng to expose the discovery server | |
kubectl create clusterrolebinding oidc-reviewer --clusterrole=system:service-account-issuer-discovery --group=system:unauthenticated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment