exec credential provider: make arbitrary JSON more explicit

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
Andrew Keesler 2020-11-03 12:19:16 -05:00
parent 6fc4e102b8
commit c855d5d68c
No known key found for this signature in database
GPG Key ID: 27CE0444346F9413
1 changed files with 6 additions and 2 deletions

View File

@ -895,7 +895,9 @@ clusters:
extensions:
- name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config
extension:
some-config-per-cluster: config-data # arbitrary config
arbitrary: config
this: can be provided via the KUBERNETES_EXEC_INFO environment variable upon setting provideClusterInfo
you: ["can", "put", "anything", "here"]
contexts:
- name: my-cluster
context:
@ -994,7 +996,9 @@ example of the aforementioned `KUBERNETES_EXEC_INFO` environment variable.
"server": "https://172.17.4.100:6443",
"certificate-authority-data": "LS0t...",
"config": {
"some-config-per-cluster": "config-data"
"arbitrary": "config",
"this": "can be provided via the KUBERNETES_EXEC_INFO environment variable upon setting provideClusterInfo",
"you": ["can", "put", "anything", "here"]
}
}
}