Kubernetes: modify a secret using kubectl?

前端 未结 8 901
被撕碎了的回忆
被撕碎了的回忆 2021-01-31 14:17

How can I modify the values in a Kubernetes secret using kubectl?

I created the secret with kubernetes create secret generic, but t

8条回答
  •  太阳男子
    2021-01-31 14:38

    The most direct (and interactive) way should be to execute kubectl edit secret . Run kubectl get secrets if you'd like to see the list of secrets managed by Kubernetes.

提交回复
热议问题