Difference between revisions of "Kubectl edit secret"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} kubectl edit secrets == See also == * {{Kubernetes secrets}} * {{secrets}} Category:Kubernetes")
 
m (Thomas moved page Kubectl edit secrets to Kubectl edit secret)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
  kubectl edit secrets
 
  kubectl edit secrets
 +
kubectl edit secret [[your-secret-name]]
 +
 +
kubectl edit secret [[your-secret-name]]
 +
A copy of your changes has been stored to "/var/folders/q1/8f04dm_94x15jrnjhs0npktr0000gn/T/kubectl-edit-3664611797.yaml"
 +
error: At least one of [[apiVersion]], [[kind]] and [[name]] was changed
 +
 +
Solution: your are trying to change an atrribute that cannot be modified. [[Delete and recreate your secret]].
  
 
== See also ==
 
== See also ==
 
* {{Kubernetes secrets}}
 
* {{Kubernetes secrets}}
* {{secrets}}
 
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 09:11, 14 July 2022

kubectl edit secrets
kubectl edit secret your-secret-name
kubectl edit secret your-secret-name
A copy of your changes has been stored to "/var/folders/q1/8f04dm_94x15jrnjhs0npktr0000gn/T/kubectl-edit-3664611797.yaml"
error: At least one of apiVersion, kind and name was changed

Solution: your are trying to change an atrribute that cannot be modified. Delete and recreate your secret.

See also[edit]

Advertising: