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

fix: Unset gcp_public_cidrs_access_enabled in default case #64

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

ciiiii
Copy link
Member

@ciiiii ciiiii commented Jan 16, 2025

unset gcp_public_cidrs_access_enabled when master_authorized_networks not configured, otherwise master_authorized_networks_config will be set as an empty list in upstream module, which will unexpectedly prevent access to the GKE public endpoint.

https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/745b16ac02faf106cca502dd77e0499651a9f5b4/cluster.tf#L192-L204

@ciiiii ciiiii requested a review from a team as a code owner January 16, 2025 12:24
@ciiiii ciiiii changed the title Fix: unset gcp_public_cidrs_access_enabled in default case fix: Unset gcp_public_cidrs_access_enabled in default case Jan 16, 2025
@ciiiii ciiiii merged commit 6f287b8 into master Jan 16, 2025
5 of 6 checks passed
@ciiiii ciiiii deleted the yscai/fix-endpoint branch January 16, 2025 13:38
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.

2 participants