Skip to content

docs: document per-block validation and legacy addon warning for porter apply#335

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/5f927777
Open

docs: document per-block validation and legacy addon warning for porter apply#335
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/5f927777

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new behavior where porter apply validate (and porter apply --validate) splits multi-app/addon porter.yaml files and validates each app and addon block individually, and prints a deprecation warning for addon blocks that use the legacy schema.

Changes

  • standard/cli/command-reference/porter-apply.mdx — expanded the Validation Options section to describe single-app vs. multi-app/addon behavior and the legacy-schema deprecation warning, plus a new example for porter apply validate.
  • applications/configuration-as-code/addons-porter-yaml.mdx — added a Validating multi-app/addon porter.yaml section covering the per-block validation flow and the legacy-addon warning.

Context

Triggered by porter-dev/code#6072, which made applyValidate walk each app and addon block in a multi-app/addon porter.yaml, validate them individually, and emit a yellow DEPRECATION WARNING for legacy addon schemas instead of failing.

cc @GKestenberg for review.

@mintlify

mintlify Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
porter 🟢 Ready View Preview Jun 10, 2026, 7:41 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants