You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When applying a Secret, the diff shown in the console has the actual values censored as expected.
However, when running tk delete the diff shows the key value pairs in plain text if stringData is used:
From what I can tell, the hiding in the apply-diff happens thanks to the diff being generated on the server and not the client. The StaticDiffer is used for delete, which doesn't do any hiding. The main reason why the StaticDiffer is used here is that we can force a certain output, e.g. that the given manifest list should be deleted.
Hiding the data of a secret should be doable, though, on that level and would make the behaviour a bit more consistent.
When applying a Secret, the diff shown in the console has the actual values censored as expected.
However, when running
tk delete
the diff shows the key value pairs in plain text if stringData is used:tk apply
:tk delete
:It seems to me that this information should be hidden in the terminal output as well.
The text was updated successfully, but these errors were encountered: