How can I modify the values in a Kubernetes secret using kubectl?
secret
kubectl
I created the secret with kubernetes create secret generic, but t
kubernetes create secret generic
I implemented a kubectl plugin just for this.
To install using krew
kubectl krew update kubectl krew install modify-secret
To run it
kubectl modify-secret xyz -n kube-system
Demo