Documentation ¶
Index ¶
Constants ¶
View Source
const (
BANNER = `` /* 252-byte string literal not displayed */
)
Variables ¶
View Source
var ( // Cobra command AuthCmd = &cobra.Command{ Use: "auth", Short: "Authenticate with OIDC provider", Long: `Use your Google login to get a JWT (JSON Web Token) and update your local k8s config accordingly. A refresh token is added and automatically refreshed by kubectl. Existing token configurations are overwritten. For details go to: https://blog.gini.net/ dexters authentication flow =========================== 1. Open a browser window/tab and redirect you to Google (https://accounts.google.com) 2. You login with your Google credentials 3. You will be redirected to dexters builtin webserver and can now close the browser tab 4. dexter extracts the token from the callback and patches your ~/.kube/config ➜ Unless you have a good reason to do so please use the built-in google credentials (if they were added at build time)! `, Run: authCommand, } )
View Source
var (
Verbose bool
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.