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
"The OpenID claim to use as the user name. Note that claims other than the default ('sub') is not "+
167
168
"guaranteed to be unique and immutable. This flag is experimental, please see the authentication documentation for further details.")
169
+
fs.StringVar(&s.OIDCGroupsClaim, "oidc-groups-claim", "", "If provided, the name of a custom OpenID Connect claim for specifying user groups. The claim value is expected to be an array of strings. This flag is experimental, please see the authentication documentation for further details.")
168
170
fs.StringVar(&s.ServiceAccountKeyFile, "service-account-key-file", s.ServiceAccountKeyFile, "File containing PEM-encoded x509 RSA private or public key, used to verify ServiceAccount tokens. If unspecified, --tls-private-key-file is used.")
169
171
fs.BoolVar(&s.ServiceAccountLookup, "service-account-lookup", s.ServiceAccountLookup, "If true, validate ServiceAccount tokens exist in etcd as part of authentication.")
170
172
fs.StringVar(&s.KeystoneURL, "experimental-keystone-url", s.KeystoneURL, "If passed, activates the keystone authentication plugin")
Copy file name to clipboardExpand all lines: docs/admin/authentication.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,8 @@ to the OpenID provider.
67
67
-`--oidc-username-claim` (optional, experimental) specifies which OpenID claim to use as the user name. By default, `sub`
68
68
will be used, which should be unique and immutable under the issuer's domain. Cluster administrator can
69
69
choose other claims such as `email` to use as the user name, but the uniqueness and immutability is not guaranteed.
70
+
-`--oidc-groups-claim` (optional, experimental) the name of a custom OpenID Connect claim for specifying user groups. The claim
71
+
value is expected to be an array of strings.
70
72
71
73
Please note that this flag is still experimental until we settle more on how to handle the mapping of the OpenID user to the Kubernetes user. Thus further changes are possible.
Copy file name to clipboardExpand all lines: docs/admin/kube-apiserver.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,7 @@ kube-apiserver
89
89
--min-request-timeout=1800: An optional field indicating the minimum number of seconds a handler must keep a request open before timing it out. Currently only honored by the watch request handler, which picks a randomized value above this number as the connection timeout, to spread out load.
90
90
--oidc-ca-file="": If set, the OpenID server's certificate will be verified by one of the authorities in the oidc-ca-file, otherwise the host's root CA set will be used
91
91
--oidc-client-id="": The client ID for the OpenID Connect client, must be set if oidc-issuer-url is set
92
+
--oidc-groups-claim="": If provided, the name of a custom OpenID Connect claim for specifying user groups. The claim value is expected to be an array of strings. This flag is experimental, please see the authentication documentation for further details.
92
93
--oidc-issuer-url="": The URL of the OpenID issuer, only HTTPS scheme will be accepted. If set, it will be used to verify the OIDC JSON Web Token (JWT)
93
94
--oidc-username-claim="sub": The OpenID claim to use as the user name. Note that claims other than the default ('sub') is not guaranteed to be unique and immutable. This flag is experimental, please see the authentication documentation for further details.
94
95
--profiling[=true]: Enable profiling via web interface host:port/debug/pprof/
@@ -109,7 +110,7 @@ kube-apiserver
109
110
--watch-cache-sizes=[]: List of watch cache sizes for every resource (pods, nodes, etc.), comma separated. The individual override format: resource#size, where size is a number. It takes effect when watch-cache is enabled.
110
111
```
111
112
112
-
###### Auto generated by spf13/cobra on 5-Feb-2016
113
+
###### Auto generated by spf13/cobra on 10-Feb-2016
0 commit comments