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 VolumeSource in JSON Schema #395

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Conversation

DrJosh9000
Copy link
Contributor

@DrJosh9000 DrJosh9000 commented Oct 8, 2024

Turns out VolumeSource is just an artefact of the Go library implementation - the JSON Schema has no concept of VolumeSource, only Volume. (And "name" is required, per the schema.)

I suppose the user should be able to change the volume name if they want, anyway.

I tested it and it works:

Screenshot 2024-10-08 at 5 39 10 PM

@DrJosh9000 DrJosh9000 requested a review from a team October 8, 2024 10:55
Copy link
Contributor

@wolfeidau wolfeidau left a comment

Choose a reason for hiding this comment

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

👍🏻

@DrJosh9000 DrJosh9000 merged commit 7128f8c into main Oct 8, 2024
1 check passed
@DrJosh9000 DrJosh9000 deleted the fix-volumesource-json-schema branch October 8, 2024 22:19
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