Add a --raw flag to kubectl config view

Defaults to false, unless --flatten is specified. Default behavior
(--raw=false) is that byte data (Client{Certificate,Key}data,
CertificateAuthorityData) is redacted for a more human-readable view.
Useful for manually inspecting files that have embeded data.
This commit is contained in:
Jeff Lowdermilk
2015-04-17 15:36:31 -07:00
parent 35cbbe6bde
commit fa6ce7b7bf
33 changed files with 167 additions and 30 deletions

View File

@@ -646,6 +646,7 @@ _kubectl_config_view()
flags+=("--output=")
two_word_flags+=("-o")
flags+=("--output-version=")
flags+=("--raw")
flags+=("--template=")
two_word_flags+=("-t")