kubectl/pkg/cmd/config
Arda Güçlü 7af2fcf712 kubectl config set-credentials: Add InteractiveMode and ProvideClusterInfo flags
`set-credentials` command can also be used to config kubeconfig with credentials
exec plugins. However, there is no flag provided by this command to set
`InteractiveMode` and `ProvideClusterInfo` fields in credentials exec plugins.
Since `InteractiveMode` is required field, this makes the command's output
is incomplete and invalid. This PR introduces 2 new flags in set-credentials
command to let users can configure these 2 fields in credentials exec plugins,
especially the one `InteractiveMode` which is required.

Kubernetes-commit: b088e65007761bda1aee0b5fb92f79d1aae82c05
2023-11-23 15:32:32 +03:00
..
config.go Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
config_test.go kubectl config set-credentials: Add InteractiveMode and ProvideClusterInfo flags 2023-11-23 15:32:32 +03:00
current_context.go Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
current_context_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
delete_cluster.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
delete_cluster_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
delete_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
delete_context_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
delete_user.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
delete_user_test.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
get_clusters.go Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
get_clusters_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
get_contexts.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
get_contexts_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
get_users.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
get_users_test.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
navigation_step_parser.go Change reflect.Ptr to reflect.Pointer 2022-06-26 01:23:43 +09:00
navigation_step_parser_test.go Replace uses of diff.ObjectDiff with cmp.Diff 2023-03-23 11:29:01 -07:00
rename_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
rename_context_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
set.go Change reflect.Ptr to reflect.Pointer 2022-06-26 01:23:43 +09:00
set_cluster.go Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
set_cluster_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
set_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
set_context_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
set_credentials.go kubectl config set-credentials: Add InteractiveMode and ProvideClusterInfo flags 2023-11-23 15:32:32 +03:00
set_credentials_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
set_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
unset.go Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
unset_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
use_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
use_context_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
view.go Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
view_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00