Last active
June 23, 2020 03:13
-
-
Save wzhliang/f864f9b1e659eb3694418081aa96df25 to your computer and use it in GitHub Desktop.
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
apiVersion: v1 | |
clusters: | |
- cluster: | |
certificate-authority-data: <your cluster certificate-authority-data> | |
server: https://api.dev.automateops.co.uk | |
name: dev.automateops.co.uk | |
contexts: | |
- context: | |
cluster: dev.automateops.co.uk | |
user: google | |
name: dev.automateops.co.uk | |
current-context: dev.automateops.co.uk | |
kind: Config | |
preferences: {} | |
users: | |
- name: google | |
user: | |
exec: | |
apiVersion: client.authentication.k8s.io/v1beta1 | |
args: | |
- oidc-login | |
- get-token | |
- --oidc-issuer-url=https://accounts.google.com | |
- --oidc-client-id=YOUR_CLIENT_ID | |
- --oidc-client-secret=YOUR_CLIENT_SECRET | |
- --oidc-extra-scope=email | |
- --oidc-extra-scope=profile | |
command: kubectl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment