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

Make workload_identity_config dynamic #237

Merged
merged 9 commits into from
Aug 20, 2019

Conversation

sylvioneto
Copy link

@sylvioneto sylvioneto commented Aug 17, 2019

This PR makes workload_identity_config dynamic in the cluster configuration in order to solve the problem reported by @richardmcsong in this PR #234 (review), when a cluster was created without that config and should not prompt any change in the terraform plan.

@sylvioneto sylvioneto marked this pull request as ready for review August 17, 2019 01:12
README.md Outdated Show resolved Hide resolved
@kopachevsky
Copy link
Contributor

@sylvioneto can you please update provider version for ./examples in this PR as well?

@sylvioneto sylvioneto closed this Aug 19, 2019
@sylvioneto
Copy link
Author

sylvioneto commented Aug 19, 2019

Closed temporarily because it requires more tests, which I'm doing right now. I'll reopen once it is done.

@sylvioneto sylvioneto reopened this Aug 19, 2019
@sylvioneto
Copy link
Author

Reopening the PR because tests worked successfully. Solution was creating a local local.cluster_workload_identity_config to use in the dynamic block. If the var identity_namespace is empty, this local var is a empty list so that a empty workload_identity_config block is not added to the cluster.

@aaron-lane aaron-lane added the enhancement New feature or request label Aug 19, 2019
@sylvioneto
Copy link
Author

@kopachevsky, @morgante, all changes done.

Copy link
Contributor

@morgante morgante left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!

@morgante morgante merged commit 7e0f994 into terraform-google-modules:master Aug 20, 2019
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants