exec credential provider: make arbitrary JSON more explicit
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
parent
6fc4e102b8
commit
c855d5d68c
|
@ -895,7 +895,9 @@ clusters:
|
||||||
extensions:
|
extensions:
|
||||||
- name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config
|
- name: client.authentication.k8s.io/exec # reserved extension name for per cluster exec config
|
||||||
extension:
|
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:
|
contexts:
|
||||||
- name: my-cluster
|
- name: my-cluster
|
||||||
context:
|
context:
|
||||||
|
@ -994,7 +996,9 @@ example of the aforementioned `KUBERNETES_EXEC_INFO` environment variable.
|
||||||
"server": "https://172.17.4.100:6443",
|
"server": "https://172.17.4.100:6443",
|
||||||
"certificate-authority-data": "LS0t...",
|
"certificate-authority-data": "LS0t...",
|
||||||
"config": {
|
"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"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue