-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
chore(CI): add insecure_kubelet_readonly_port_enabled #2144
Conversation
Hi @wyardley - FYI, I happened to discover that I think our |
Yes, discussed / mentioned here: I added that feature, so definitely aware that it's an enum at the provider level (for Reasons(TM)). We had decided to make it an optional bool here; you're right that probably it should be coerced to the correct value in the code, and it's possible I just never updated it, but it's interesting to me that the tests ever passed with the example added in #2082 with the existing code - I'd think even the validation should fail because of the provider requiring the enum values. |
Thanks @wyardley! Looks like the #2082 tests are both for node_pools (not cluster), which doesn't enforce the TF bool type (as it's a lookup) and so was actually defined using a string: I'll update this PR to fix and include a cluster test. |
Oh, I see, interesting, looks like I'd left the wrong code in the tests. I guess the module didn't complain because some of those settings are inside a data structure so the type isn't getting validated? I'll make a PR to update, and incorporate the update to convert from bool to the expected strings (from a quick test, doesn't seem like terraform will allow anything other than the exact value of |
I have something close to done if you want (#2145), otherwise, feel free to adjust this -- whatever's easier. |
Unfortunately Yeah, |
Close in favor of #2145 |
No description provided.