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

feat!: update TPG version constraints to 4.0 #1129

Merged
merged 35 commits into from
Jan 22, 2022

Conversation

bharathkkb
Copy link
Member

based off of #1071 since I didnt have permission to push to the fork branch

@bharathkkb bharathkkb requested review from Jberlinsky and a team as code owners January 19, 2022 22:47
@bharathkkb bharathkkb marked this pull request as draft January 19, 2022 22:48
@comment-bot-dev
Copy link

comment-bot-dev commented Jan 19, 2022

Thanks for the PR! 🚀
✅ Lint checks have passed.

@bharathkkb bharathkkb force-pushed the 1071-branch-provider-update branch 2 times, most recently from 596bcbb to 0dccbb7 Compare January 21, 2022 02:02
* addresses warning about multiple provider blocks
* temporary change until new version is released
* temporary change until new version of that dependency is released
@bharathkkb bharathkkb marked this pull request as ready for review January 21, 2022 15:18
@bharathkkb bharathkkb changed the title [WIP]: feat: update TPG version constraints to allow 4.0 feat!: update TPG version constraints to allow 4.0 Jan 21, 2022
@@ -112,6 +112,7 @@ resource "google_compute_firewall" "master_webhooks" {
direction = "INGRESS"

source_ranges = [local.cluster_endpoint_for_nodes]
source_tags = []
Copy link
Member Author

Choose a reason for hiding this comment

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

Workaround for hashicorp/terraform-provider-google#10494. Long term fix maybe GoogleCloudPlatform/magic-modules#5526 but will need to validate.

@bharathkkb bharathkkb changed the title feat!: update TPG version constraints to allow 4.0 feat!: update TPG version constraints to 4.0 Jan 21, 2022
@bharathkkb
Copy link
Member Author

@morgante PTAL since I rebased this and added a few commits

}
```

### Acceptable values for node_metadata modified
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of requiring users to change this, I think we can provide a mapping at very low effort to ourselves. Could you add that?

Copy link
Member Author

@bharathkkb bharathkkb Jan 21, 2022

Choose a reason for hiding this comment

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

I updated the doc in e83bfc3 to make this a recommendation instead, encouraging users to switch to values that are supported by the provider.

docs/upgrading_to_v8.0.md Outdated Show resolved Hide resolved
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.

Just some nits - go ahead and merge once resolved.

autogen/main/main.tf.tmpl Outdated Show resolved Hide resolved
autogen/main/variables.tf.tmpl Outdated Show resolved Hide resolved
bharathkkb and others added 2 commits January 21, 2022 15:00
Co-authored-by: Morgante Pell <morgantep@google.com>
@bharathkkb bharathkkb merged commit d494b0f into master Jan 22, 2022
@bharathkkb bharathkkb deleted the 1071-branch-provider-update branch January 22, 2022 00:02
@bharathkkb bharathkkb mentioned this pull request Aug 9, 2022
1 task
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this pull request Jul 15, 2024
…s#1129)

* feat: update TPG version constraints to allow 4.0

* Removes basic auth, renames namespace_identity

* Regenerates modules and documentation

* Updates tests to use latest Google provider

* addresses warning about multiple provider blocks

* Updates network module for Google provider 4.0 compatibility

* Temporarily uses "main" for gcloud module (until next release is cut)

* Comments out version constraint (temporary change)

* fetches main branch by default?

* Uses master branch for gcloud module (until release is cut)

* Uses kubectl-wrapper where appropriate

* Uses released version of gcloud module

* Returns instance group URLs per node pool

* Extends use of cluster_output_node_pools_ variables

* Fixes documentation

* Updates more modules

* Updates READMEs to match variables

* Uses master branch of bastion

* temporary change until new version is released

* Updates node pools versions description

* Adds locals for node pool instance group URLs

* Uses master branch of terraform-google-project-factory

* temporary change until new version of that dependency is released

* Updates project version ready for release

* Updates pinned version of Google provider for example

* Updates pinned version of Google provider in example

* Addresses code review comments

* Temporarily applies an empty source_tags setting.

* this should be removed once hashicorp/terraform-provider-google#10494 is addressed

* Fixes indentation

* Uses newly-released version of project factory

* Uses released version of bastion host

* Removes use of SECURE mode (deprecated)

* test empty source tag workaround

* fix wi test

* refactor IAM test for loose match

* map old node meta value, add validations

* update docs

* Update autogen/main/variables.tf.tmpl

Co-authored-by: Morgante Pell <morgantep@google.com>

* remove local

Co-authored-by: cloud-foundation-bot <cloud-foundation-bot@google.com>
Co-authored-by: Jack Whelpton <jack.whelpton@rakuten.com>
Co-authored-by: Morgante Pell <morgantep@google.com>
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.

None yet

5 participants