Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix immutable field validation error when a sub-schema is not Pydantic #2797

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kenafoster
Copy link
Contributor

Reference Issues or PRs

Fixes #2767

What does this implement/fix?

Put a x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds a feature)
  • Breaking change (fix or feature that would cause existing features not to work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Other (please describe):

Testing

  • Did you test the pull request locally?
  • Did you add new tests?

How to test this PR?

Deploy Nebari with a configuration that includes an "overrides" or "values" block whose structure is not defined in the schema (this occurs when passing values to Helm charts). One example is:

jupyterhub:
  overrides:
    singleuser:
      extraEnv:
        ENV: "test"

Change the value of the "ENV" key and redeploy. (Nebari 2024.9.1 would error out)

Any other comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New 🚦
Development

Successfully merging this pull request may close these issues.

[BUG] - 2024.9.1 Immutable Field Check Appears to Fail for Certain Schema Types
1 participant