You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--user-name= User name to use when generating client configuration. Either user-name or user-claim-name may be specified.
34
40
--user-claim-name= Claim that defines the user name to use when generating client configuration. Either user-name or user-claim-name may be specified.
41
+
--no-open-url Don't open the redirect URL in a browser automatically
42
+
43
+
OpenID Connect Options:
44
+
-u, --issuer-url= IdP Issuer URL to be contacted (default: https://accounts.google.com)
45
+
-i, --client-id= Client ID to be used
46
+
-s, --client-secret= Client Secret to be used
47
+
-r, --redirect-url= Redirect URL to be communicated to the IdP (needs to indicate "out of band") (default: urn:ietf:wg:oauth:2.0:oob)
48
+
-c, --claim= Additional claims to be requested
35
49
36
50
[patch-kubeconfig command arguments]
37
51
KUBECONFIG_FILE: Path to the kubeconfig file to be patched. Uses the default discovery mechanism if omitted/empty. Special value '-' (hyphen) means read from STDIN.
38
52
OUTPUT_FILE: Path to the patched kubeconfig file to be written. Overwrites kubeconfig if omitted/empty. Special value '-' (hyphen) means write to STDOUT.
Copy file name to clipboardExpand all lines: cmd/oidc-token-ferry/kubeconfig/patchcmd.go
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ import (
16
16
17
17
constuseStdInOut="-"
18
18
19
-
typepatchCmdstruct {
19
+
typePatchCmdstruct {
20
20
UserNamefunc(string) `long:"user-name" description:"User name to use when generating client configuration. Either user-name or user-claim-name may be specified."`
21
21
UserClaimNamefunc(string) `long:"user-claim-name" description:"Claim that defines the user name to use when generating client configuration. Either user-name or user-claim-name may be specified."`
22
22
@@ -25,20 +25,20 @@ type patchCmd struct {
25
25
Outputconfig flags.Filename`positional-arg-name:"OUTPUT_FILE" description:"Path to the patched kubeconfig file to be written. Overwrites kubeconfig if omitted/empty. Special value '-' (hyphen) means write to STDOUT."`
Copy file name to clipboardExpand all lines: cmd/oidc-token-ferry/render/gotemplatecmd.go
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -11,25 +11,23 @@ import (
11
11
"github.com/twz123/oidc-token-ferry/pkg/cli"
12
12
)
13
13
14
-
typegoTemplateCmdstruct {
14
+
typeGoTemplateCmdstruct {
15
15
cli.OutputTarget
16
16
17
17
Argsstruct {
18
18
TemplateStringstring`positional-arg-name:"TEMPLATE_STRING" description:"Go Template to be rendered. An empty template indicates that the template is to be read from STDIN."`
0 commit comments