Skip to content

docs: document datastore addon validation in porter apply#332

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/87472b99
Open

docs: document datastore addon validation in porter apply#332
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/87472b99

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new local validation that the Porter CLI runs against in-cluster datastore addons when applying a multi-app/addons porter.yaml.

Feature recap

The latest CLI release adds a validation step to porter apply (and porter apply validate / --validate) that checks every in-cluster Postgres or Redis addon block for required fields (name, type, kind, config.storageGigabytes, config.cpuCores, config.ramMegabytes) before any addon is applied. Misconfigured addons now fail fast with a clear, field-level error instead of an opaque backend failure.

Changes

  • applications/configuration-as-code/addons-porter-yaml.mdx — new "Validating datastore addons" section covering when validation runs, the field-level checks, and an example error.
  • standard/cli/command-reference/porter-apply.mdx — updated the --validate flag description to mention datastore addon validation, linked to the new section, and noted the porter apply validate subcommand.

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, 2:57 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