This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
code:linux [2023/11/10 23:33] hansek [jq] |
code:linux [2023/11/11 00:39] (current) hansek [jq] |
||
---|---|---|---|
Line 320: | Line 320: | ||
</ | </ | ||
+ | **Inplace decode all k8s secrets values** | ||
+ | |||
+ | <code bash> | ||
+ | kubectl get secrets postgres-secrets -o json | jq '.data | map_values(@base64d)' | ||
+ | </ |