Open marcofranssen opened 6 months ago
So... It works for me... Try to update your k9s
Version: v0.32.5
Commit: 1440643e8d1a101a38d9be1933131ddf5c863940
Date: 2024-06-15T17:11:02Z
# decoded secret
test: '{ofUfac]>t[898dfs'
# secret
kg secret test -o yaml
apiVersion: v1
data:
test: e29mVWZhY10+dFs4OThkZnM=
kind: Secret
metadata:
creationTimestamp: "2024-11-08T20:02:06Z"
name: test
namespace: default
resourceVersion: "98505"
uid: c68e1b53-6d82-4cb9-818a-d6742875bfd7
type: Opaque
Describe the bug
When decoding the following hypothetical secret
{ofUfac]>t[898dfs
it only shows the first part of the secret up till the[
character in the secret like this{ofUfac]>t
.So in essence as
To Reproduce Steps to reproduce the behavior:
{ofUfac]>t[898dfs
x
to decode the secret{ofUfac]>t
kubectl
(kubectl get secret my-secret -o jsonpath='{.data.password}' | base64 -d
){ofUfac]>t[898dfs
Historical Documents
Expected behavior
Secrets with special characters decode properly from k9s.
Screenshots
N.A.
Versions (please complete the following information):
Additional context
So far only detected it for a secret containing
[
at which it stops processing.