You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "adutra (via GitHub)" <gi...@apache.org> on 2026/02/10 15:42:17 UTC

[PR] Add JSON Schema for Helm chart values validation [polaris]

adutra opened a new pull request, #3728:
URL: https://github.com/apache/polaris/pull/3728

   This PR adds a `values.schema.json` file to the Helm chart to enable automatic validation of `values.yaml` during chart rendering.
   
   Benefits of a schema file:
   
   - Configuration errors can be caught early before deployment
   - IDE autocompletion and validation support
   
   The schema file uses JSON Schema draft-07 for broad tooling compatibility. A comprehensive schema covering all configuration sections is provided; however, Kubernetes API types (e.g. `EnvVar`) are declared as "object" to avoid referencing external schemas, and to avoid Kubernetes API versioning issues.
   
   <!--
   ๐Ÿ“ Describe what changes you're proposing, especially breaking or user-facing changes. 
   ๐Ÿ“– See https://github.com/apache/polaris/blob/main/CONTRIBUTING.md for more.
   -->
   
   ## Checklist
   - [ ] ๐Ÿ›ก๏ธ Don't disclose security issues! (contact security@apache.org)
   - [ ] ๐Ÿ”— Clearly explained why the changes are needed, or linked related issues: Fixes #
   - [ ] ๐Ÿงช Added/updated tests with good coverage, or manually tested (and explained how)
   - [ ] ๐Ÿ’ก Added comments for complex logic
   - [ ] ๐Ÿงพ Updated `CHANGELOG.md` (if needed)
   - [ ] ๐Ÿ“š Updated documentation in `site/content/in-dev/unreleased` (if needed)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add JSON Schema for Helm chart values validation [polaris]

Posted by "adutra (via GitHub)" <gi...@apache.org>.
adutra closed pull request #3728: Add JSON Schema for Helm chart values validation
URL: https://github.com/apache/polaris/pull/3728


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add JSON Schema for Helm chart values validation [polaris]

Posted by "adutra (via GitHub)" <gi...@apache.org>.
adutra commented on PR #3728:
URL: https://github.com/apache/polaris/pull/3728#issuecomment-3880928813

   Turning this into draft for now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add JSON Schema for Helm chart values validation [polaris]

Posted by "adutra (via GitHub)" <gi...@apache.org>.
adutra commented on PR #3728:
URL: https://github.com/apache/polaris/pull/3728#issuecomment-3908765240

   Closing in favor of #3759.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add JSON Schema for Helm chart values validation [polaris]

Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode commented on PR #3728:
URL: https://github.com/apache/polaris/pull/3728#issuecomment-3888519950

   > Turning this into draft for now.
   
   Thanks @adutra . I will take a closer look later this weekend. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add JSON Schema for Helm chart values validation [polaris]

Posted by "adutra (via GitHub)" <gi...@apache.org>.
adutra commented on PR #3728:
URL: https://github.com/apache/polaris/pull/3728#issuecomment-3880838440

   Heads up: I'm exploring tools that would allow us to generate the schema file from the values.yaml file... but there aren't a ton of alternatives. I'll keep you posted.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org