Difference between revisions of "Kubectl edit secret"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
A copy of your changes has been stored to "/var/folders/q1/8f04dm_94x15jrnjhs0npktr0000gn/T/kubectl-edit-3664611797.yaml" | 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 | 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 == |
Revision as of 08:37, 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
- Kubernetes secrets:
kubectl [ get | create | describe | delete | secret ] secrets
,secret.yml, kind: Secret, secretKeyRef, default-token, imagePullSecrets:, kubernetes.io/dockerconfigjson
- Secrets: Kubernetes secrets,
ansible-vault
, Hashicorp Vault, AWS Secrets Manager, Google Secret Manager,git-crypt
, SOPS: Secrets OPerationS, Google Cloud Secret Manager, GitHub secret scanning alerts
Advertising: