Skip to content

Fix GKE not being able to disable Cilium Policies #8338

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

Conversation

modular-magician
Copy link
Collaborator

Fixes: hashicorp/terraform-provider-google#19360

The issue was caused due to the 'omitempty' flag on the 'DesiredEnableCiliumClusterwideNetworkPolicy' attribute on the struct that builds the request on the library end. So I am forcing it to be sent whenever there is a change.

Other fields suffer of the same issue, but I believe this is something that this issues should be treated on a case basis.

Release Note Template for Downstream PRs (will be copied)

container: fixed issue which caused to not being able to disable `enable_cilium_clusterwide_network_policy` field on `google_container_cluster`.

Derived from GoogleCloudPlatform/magic-modules#11810

[upstream:dfbaea010475975440b815dfa12a3ec5b42e0114]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 6c15720 into hashicorp:main Oct 3, 2024
@modular-magician modular-magician deleted the downstream-pr-dfbaea010475975440b815dfa12a3ec5b42e0114 branch November 16, 2024 03:42
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.

Changing enable_cilium_clusterwide_network_policy from true to false does not work via terraform
1 participant