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

@@ -48,6 +48,10 @@ You can use \-\-output=template \-\-template=TEMPLATE to extract specific values
\fB\-\-output\-version\fP=""
Output the formatted object with the given version (default api\-version).
.PP
\fB\-\-raw\fP=false
display raw byte data
.PP
\fB\-t\fP, \fB\-\-template\fP=""
Template string or path to template file to use when \-o=template or \-o=templatefile. The template format is golang templates [