Validate and diff manifests
Ce contenu n’est pas encore disponible dans votre langue.
Validation checks local structure; diff compares that desired state with the live resource. A passing validation does not authorize or predict a live mutation.
How do I separate local and live checks?
Section titled “How do I separate local and live checks?”xcsh validate -f manifests/ -R --result-file validation.jsonxcsh diff -f manifests/ -R --result-file diff.jsonThe first command needs no application programming interface (API) credential. Run the second only after confirming the context and namespace. Read every create, update, preserve, and error entry in diff.json.
What blocks the next step?
Section titled “What blocks the next step?”Stop on an unknown kind, duplicate identity, unexpected namespace, destructive difference, or request against the wrong context. Correct the source manifest and rerun both commands.