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

Add a schema for values validation #334

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

LeoColomb
Copy link
Member

This PR adds the values.schema.json file.
It is the standard schema file for values validation.

The proposed version is relatively naive, auto-generated and without further customization.

@LeoColomb LeoColomb force-pushed the leo/feat/schema branch 2 times, most recently from 406d750 to 7c3feeb Compare September 9, 2024 23:10
@LeoColomb LeoColomb enabled auto-merge (squash) September 9, 2024 23:10
@LeoColomb
Copy link
Member Author

Upgrade check failure is directly linked to the type change: the validation of values before upgrades is failing. https://github.com/netbox-community/netbox-chart/actions/runs/10782731200/job/29903300695?pr=334#step:7:107

In theory, this should request a major version bump.

Copy link
Contributor

@RangerRick RangerRick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems OK to me, and now is the time to do it

@RangerRick
Copy link
Contributor

Love having a schema at least, been wanting to do that.

@LeoColomb
Copy link
Member Author

@RangerRick Happy to help 😁
Just so it's clear, the upgrade check will always fail because of the type change without major version bump.

@RangerRick
Copy link
Contributor

Yeah, well, I was planning on merging it anyway, but i guess our permissions lockdown means I can't, lol. I'll look at it tomorrow.

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.

2 participants