Difference between revisions of "Is missing the ... annotation"
Jump to navigation
Jump to search
| Line 7: | Line 7: | ||
| − | + | == See also == | |
* {{kubectl apply}} | * {{kubectl apply}} | ||
* {{annotations}} | * {{annotations}} | ||
* {{ConfigMaps}} | * {{ConfigMaps}} | ||
| + | |||
| + | [[Category:K8s]] | ||
Revision as of 11:20, 10 October 2023
Warning: resource configmaps/kube-root-ca.crt is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically. secret/default-token-7z4zd created Error from server (Conflict): error when applying patch: .../... to: Resource: "/v1, Resource=configmaps", GroupVersionKind: "/v1, Kind=ConfigMap" Name: "kube-root-ca.crt", Namespace: "your-namespace" for: "your.yaml": Operation cannot be fulfilled on configmaps "kube-root-ca.crt": the object has been modified; please apply your changes to the latest version and try again Warning: resource configmaps/kube-root-ca.crt is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically. secret/default-token-7z4zd created
See also
kubectl apply [ view-last-applied ], --server-side, -k, -f, creationTimestamp, kubectl.kubernetes.io/last-applied-configuration, --validate=false- Annotations,
ingress.annotations, nginx.ingress.kubernetes.io - ConfigMaps:
kubectl [ get | edit | describe | create | delete ] configmaps,aws-auth, Kustomize,kind: ConfigMap, ConfigMapRef, envFrom, configmap XXX not found
Advertising: