-
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
update and pin kubernetes provider to >= 1.11.1 #453
Conversation
@EricHorst thanks for the contribution. I think we should add a <2.0.0 constraint because there maybe breaking changes. Thoughts @morgante? |
@bharathkkb I considered that. My reasoning was that prior to the version being pinned to 1.10, there was no version constraint so when undoing that I returned to effectively no version constraint (upward) except for the very specific one required. |
Unfortunately my confidence in the stability of the Kubernetes provider is shaken by releasing a breaking change in a major version. In order to allow a wider variety of setups while preventing known issues, I suggest we use |
Incorporated @morgante suggested constraint. An enlightened solution I probably wouldn't have come up with! |
Whoops. I trusted and did not test that this would work. Looking... |
This is more version exploration than I've done before. It seems that while compound expressions are allowed, it doesn't work when the expression results in two disjoint intervals. Terraform doesn't find a suitable version for any of these: How do you feel about simply |
Trying to make this palatable and pass tests. Terraform did not like the other compound forms but is happy with a compound of |
I think we should still pin to at least 1.10. How about |
@morgante your last suggestion doesn't work as typed. ~> 1.10 means I think you probably meant to type |
Closed/reopened not paying attention to what tab I was in, not trying to be annoying. |
Indeed I did, sorry for the typo! |
We're seeing sporadic problems with Terraform Registry on |
I just manually queued a test run. You can also push an (empty) commit to force it as well. |
@EricHorst @morgante test failures are due to a change in the proto for GKE and the way we were asserting eq; I opened an issue #454 and fix is in PR #442 |
…e-modules#453) * update and pin kubernetes provider to >= 1.11.1 * a more enlightened version constraint * version spec tf will grok * version spec meeting all needs Co-authored-by: Eric UW <[email protected]>
Re-visting #429, the upstream issue has been resolved with 1.11.1 (hashicorp/terraform-provider-kubernetes#759). This update sets the kubernetes provider version at or greater than the problematic version 1.11.0
Advancing to 1.11.1 also addresses hashicorp/terraform-provider-kubernetes/issues/787 which was broken in kubernetes 1.10 and 1.11 and prevented running Terraform in a pod, ie Atlantis.