mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 05:21:58 +00:00
Improving Legibility of Kubectl describe configmap by adding new line to output
This commit is contained in:
parent
d8122df1b7
commit
cb560a72e0
@ -4471,6 +4471,7 @@ func (d *ConfigMapDescriber) Describe(namespace, name string, describerSettings
|
|||||||
for k, v := range configMap.Data {
|
for k, v := range configMap.Data {
|
||||||
w.Write(LEVEL_0, "%s:\n----\n", k)
|
w.Write(LEVEL_0, "%s:\n----\n", k)
|
||||||
w.Write(LEVEL_0, "%s\n", string(v))
|
w.Write(LEVEL_0, "%s\n", string(v))
|
||||||
|
w.Write(LEVEL_0, "\n")
|
||||||
}
|
}
|
||||||
w.Write(LEVEL_0, "\nBinaryData\n====\n")
|
w.Write(LEVEL_0, "\nBinaryData\n====\n")
|
||||||
for k, v := range configMap.BinaryData {
|
for k, v := range configMap.BinaryData {
|
||||||
|
Loading…
Reference in New Issue
Block a user