MigrationArtifactInvalid see history edit this page

Talks about: , , , and

Symptom

READY=False, REASON=MigrationArtifactInvalid. The Message names the file and the parse or validation error. status.version is not advanced — the transition is held until the artifact is fixed and republished.

Cause

The StageSet sources its migration ladder from spec.migrationsSourceRef, and the fetched artifact could not be turned into a valid ladder. Each .yaml/.yml/.json file in the artifact (under the optional path) must be a YAML or JSON document that is either a list of migrations or a single migration. Parsing is strict — a misspelled field is rejected rather than silently dropped, because a destructive ladder must not run a half-understood definition.

Common causes:

This validates the same invariants the admission webhook enforces for inline spec.migrations; for a sourced ladder they can only be checked at fetch time, not at kubectl apply.

Remediation

The condition clears and the version advances on the next reconcile once the republished artifact parses and validates.