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

Avoid triggering new "conflicts with" rule in 2.21.0 Kubernetes provider #189

Closed
wants to merge 1 commit into from

Conversation

avidspartan1
Copy link

Closes #188

what

Avoids triggering the "conflicts with" error that now crops up with the latest version (2.21.0) of the Kubernetes provider.

why

Terraform actions involving this module and the latest Kubernetes provider fail.

references

https://github.com/hashicorp/terraform-provider-kubernetes/releases/tag/v2.21.0
hashicorp/terraform-provider-kubernetes#2084

…path not enabled, instead of an empty string; avoids triggering new conflictsWith rule
Copy link
Sponsor Contributor

@Nuru Nuru left a comment

Choose a reason for hiding this comment

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

I would like to put this on hold. This change removes the override of environment variables, which ensured that Terraform was targeting the correct cluster.

This change was made necessary because version 2.21.0 of the Kubernetes provider introduced a breaking change in a minor version. History suggests it will be rolled back or otherwise mitigated, so I would like to wait and see what the next release holds before making changes. I would prefer a solution (not obviously available in 2.21.0) that maintains the override behavior, and hopefully the next release will provide that.

Meanwhile, you can pin your provider version by adding != 2.21.0 to avoid this issue.

@iBrandyJackson
Copy link

Please note, after feedback received, a hot fix of the Kubernetes provider for Terraform has been released to revert the breaking change that introduced this: (v2.21.1) - we will reconsider this for our next major release.

@Nuru
Copy link
Sponsor Contributor

Nuru commented Jun 5, 2023

Closing because this was caused by a breaking change in the provider, which has since been rolled back.

@Nuru Nuru closed this Jun 5, 2023
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.

Conflicting arguments with Kubernetes provider 2.21.0
3 participants