Skaffold "config version out of date" (skaffold fix) in CI
When the installed Skaffold is newer than the schema in skaffold.yaml, it asks you to migrate with skaffold fix. In CI, where prompts cannot be answered, the command fails instead of upgrading interactively.
What this error means
A skaffold command reports "config version out of date" and suggests running skaffold fix, then exits non-zero in the pipeline.
skaffold
config version "skaffold/v2beta29" is out of date: run `skaffold fix`Common causes
The binary was upgraded but the config was not migrated
A newer Skaffold in CI expects a newer schema than the committed skaffold.yaml still declares.
The migration was never committed
A local skaffold fix upgraded the file but the change was not pushed, so CI still sees the old version.
How to fix it
Migrate the config and commit it
- Run
skaffold fix --overwritelocally. - Review and commit the updated skaffold.yaml.
- Push so CI reads the migrated schema.
Terminal
skaffold fix --overwrite
git add skaffold.yamlPin the Skaffold version to the current schema
If you cannot migrate yet, pin CI to the Skaffold release that matches the committed apiVersion.
Terminal
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v2.9.0/skaffold-linux-amd64
sudo install skaffold /usr/local/bin/How to prevent it
- Run
skaffold fixas part of upgrading Skaffold, and commit it. - Pin the CI Skaffold version so the schema expectation is stable.
- Avoid installing "latest" Skaffold in CI.
Related guides
Skaffold "unknown apiVersion" parsing skaffold config in CIFix Skaffold "parsing skaffold config: unknown apiVersion" in CI - the apiVersion in skaffold.yaml is newer o…
Skaffold "unknown field" in skaffold.yaml in CIFix Skaffold "error parsing skaffold configuration file: unknown field" in CI - a key in skaffold.yaml is mis…
Skaffold "skaffold config file not found" in CIFix Skaffold "skaffold config file skaffold.yaml not found" in CI - Skaffold ran in a directory without a con…