kubectl-modify-secret
kubectl-modify-secret copied to clipboard
Wrong formatting after editing
I've faced with the issue then I edited the secret, saved it, and closed it. Reopened it using modify-secret
and I saw not a properly formatted file as the previous option but a string with a value, like that
application.properties: "all_secrets_here_in_one_row_splitted_by_\n"
All my rows were in value in one line and \n was shown between old rows. Everything was fine if I opened it with edit secret
and decoded it.
I've rechecked it and I didn't see any unusual chars, encoded it and resaved using edit secret
and tried to open it with modify-secret but the issue was the same.
Sorry, but I can't show this secret, but I've tried to describe it as best I can. This issue occurred sporadically on various unrelated namespaces. I don't have the steps to reproduce I changed various things
UPD. For now, this happens only in case I paste a big piece of properties. Maybe some kind of char there but I don't see any strange of them.
Hi @ArbeidW,
thanks for the report and sorry for the (super) late reply. I'll check this and see if I can reproduce the issue.
thanks