ITADN

Viewing a key now wraps the output in $key=''

#71Closedglitchcrab 创建于 2025-10-21
G
glitchcrabcommented
As the title, you can see that viewing a secret now wraps the decoded value, making outputting to a file impossible: ``` ➜ k view-secret test-kubeconfig Viewing only available key: value value='apiVersion: v1 clusters: - cluster: certificate-authority-data ... EgUFJJVkFURSBLRVktLS0tLQo= ' ``` This happens with single and multi-line strings. It also makes no difference if I provide the key to view.
关闭于 2025-11-16 1 条评论