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 empty volumes array in sample config #318

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

koct9i
Copy link
Collaborator

@koct9i koct9i commented Aug 2, 2024

YAML "volumes:" parsed as "volumes: null" instead "volumes: []".

This breaks server-side apply:

The Ytsaurus "ytsaurus" is invalid:
spec.execNodes[0].volumes:
Invalid value: "null":
spec.execNodes[0].volumes in body must be of type array: "null"

YAML "volumes:" parsed as "volumes: null" instead "volumes: []".

This breaks server-side apply:

The Ytsaurus "ytsaurus" is invalid:
spec.execNodes[0].volumes:
Invalid value: "null":
spec.execNodes[0].volumes in body must be of type array: "null"
@koct9i koct9i merged commit 64df608 into ytsaurus:main Aug 5, 2024
6 checks passed
@koct9i koct9i deleted the fix-sample-config branch August 5, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants