Rewording of paragraph about provideClusterInfo key
Signed-off-by: Margo Crawford <margaretc@vmware.com>
This commit is contained in:
@@ -1004,14 +1004,13 @@ RFC3339 timestamp. Presence or absence of an expiry has the following impact:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
To provide the plugin with information about the cluster for which it is
|
||||||
The plugin can optionally be called with an environment variable, `KUBERNETES_EXEC_INFO`,
|
obtaining credentials, the `provideClusterInfo` field can be set on the exec user
|
||||||
that contains information about the cluster for which this plugin is obtaining
|
field in the [kubeconfig](/docs/concepts/configuration/organize-cluster-access-kubeconfig/).
|
||||||
credentials. This information can be used to perform cluster-specific credential
|
The plugin will then be supplied with an environment variable, `KUBERNETES_EXEC_INFO`.
|
||||||
acquisition logic. In order to enable this behavior, the `provideClusterInfo` field must
|
Information from this environment variable can be used to perform cluster-specific
|
||||||
be set on the exec user field in the
|
credential acquisition logic. Here is an example of the aforementioned
|
||||||
[kubeconfig](/docs/concepts/configuration/organize-cluster-access-kubeconfig/). Here is an
|
`KUBERNETES_EXEC_INFO` environment variable.
|
||||||
example of the aforementioned `KUBERNETES_EXEC_INFO` environment variable.
|
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user