kubernetes/pkg/kubectl/cmd/set
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
..
BUILD generated: bazel 2017-02-23 00:28:32 -05:00
helper.go pkg/util: move uuid and strategicpatch into k8s.io/apimachinery 2017-01-25 19:45:09 +01:00
set_image_test.go Refactor commands to use new factory method 2017-02-23 00:28:32 -05:00
set_image.go add secret flag to options 2017-02-25 23:40:50 +08:00
set_resources.go add secret flag to options 2017-02-25 23:40:50 +08:00
set_selector_test.go start the apimachinery repo 2017-01-11 09:09:48 -05:00
set_selector.go add secret flag to options 2017-02-25 23:40:50 +08:00
set_test.go add --dry-run opt to kubectl set image 2016-12-08 15:50:52 -05:00
set.go Extract strings for the 'kubectl set' family of commands. 2017-01-29 14:46:07 -08:00