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

Validate name for worker_node_pools. #368

Open
DeprecatedLuke opened this issue May 27, 2024 · 1 comment
Open

Validate name for worker_node_pools. #368

DeprecatedLuke opened this issue May 27, 2024 · 1 comment

Comments

@DeprecatedLuke
Copy link

DeprecatedLuke commented May 27, 2024

The name field for the worker_node_pools is not validated which will result in:

E0527 21:53:30.089025       1 hetzner_node_group.go:119] failed to create error: could not create server type cpx21 in region fsn1: invalid input in field 'name' (invalid_input)

(I used _'s in this case)

The same logic that is used for the cluster_name field should be applied to the worker_node_pools name field.

@vitobotta
Copy link
Owner

Good catch. I will fix this for v2.

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

No branches or pull requests

2 participants