kubernetes/pkg/kubectl/cmd/util
Kubernetes Submit Queue 082cfac707 Merge pull request #35408 from xilabao/add-secret-to-pflag
Automatic merge from submit-queue (batch tested with PRs 35408, 41915, 41992, 41964, 41925)

add secret option to flag

To resolve the issue of security(pr #35030 ),

> @smarterclayton commented 5 days ago
> This is unfortunately not all flags that could be secrets. The best option would be to add support in spf13/pflag to tag a flag as a secret, and then use that bit to determine the list.
> 
> Also, Command() could be used in contexts that need exact parameters (for subshell execution), so we would need to add a new method or extend the signature here to allow exact flags to be retrieved.

we could add a secret option to the flags.
2017-02-26 18:07:53 -08:00
..
editor Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
jsonmerge extract util used by jsonmergepatch and SMPatch 2017-02-03 15:28:42 -08:00
sanity Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
BUILD generated: bazel 2017-02-23 00:28:32 -05:00
cached_discovery.go Add f.close for the opend file 2017-02-24 16:18:22 +08:00
cached_discovery_test.go shortcut expander will take the list of short names from the api server. 2017-02-15 09:06:47 +01:00
clientcache.go stop senseless negotiation 2017-02-14 08:49:14 -05:00
factory.go Merge pull request #35408 from xilabao/add-secret-to-pflag 2017-02-26 18:07:53 -08:00
factory_builder.go command Factory should provide Printers 2017-02-23 00:28:31 -05:00
factory_client_access.go Merge pull request #35408 from xilabao/add-secret-to-pflag 2017-02-26 18:07:53 -08:00
factory_object_mapping.go command Factory should provide Printers 2017-02-23 00:28:31 -05:00
factory_test.go shortcut expander will take the list of short names from the api server. 2017-02-15 09:06:47 +01:00
helpers.go command Factory should provide Printers 2017-02-23 00:28:31 -05:00
helpers_test.go Made multi-scheduler graduated to Beta and then v1. 2017-01-19 20:16:01 +08:00
printing.go command Factory should provide Printers 2017-02-23 00:28:31 -05:00
shortcut_restmapper.go shortcut expander will take the list of short names from the api server. 2017-02-15 09:06:47 +01:00
shortcut_restmapper_test.go Revert "Merge pull request #40088 from jsafrane/storage-ga-v1" 2017-02-25 22:35:15 -05:00