Commit Graph

13 Commits

Author SHA1 Message Date
Julio Castillo
9b9ad76ced Update gke-hub module to use new Policy Controller API (#3332)
* Update gke-hub to use new Policy Controller API

Fixes #3287

* Use same config format for servicemesh

* remove useless trys

* use ternaries as in the rest of the repo

* Update docs and fix tests

* Update variables

* Bump tofu version

* Bump terraform version 1.12
2025-10-13 09:47:39 +02:00
Julio Castillo
d3f0dc984e Upgrade provider to version 7.0.1 (#3291)
* Upgrade provider to version 7.0.1

* Update READMEs

* Bring back depends_on for services and jobs
2025-09-01 17:29:20 +02:00
Daniel
202d799494 Fixed gke-hub module to support regional deployment (#3218)
* Fixed gke-hub module to support regional deployment

* Co-authored-by: Julio Castillo <juliocc@gmail.com>
Adding location param for Regional Cluster Memebership,mesh feature default config for managed ASM

Updated Readme

* Updated fleet_default_member_config to match provider

* Fixed tf fmt for readme example

* Fix README

* Fix linter

* Fix variable order

* Fix tests

* Fixing tests

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2025-07-15 12:20:36 +00:00
Jacob Mammoliti
64cb097bae Add required enabled field introduced in Terraform version 5.41.0 (#2653) 2024-11-01 07:01:13 +00:00
Valerio Ponza
596acb63e4 removing deprecated field from gke-hub 2023-03-30 12:47:39 +02:00
Valerio Ponza
44d2e9e50e removing deprecated field from gke-hub 2023-03-30 12:47:39 +02:00
Valerio Ponza
cbe85e0605 fixing workloadidentity for anthos service mesh - authority was not created 2023-02-27 14:17:16 +00:00
Wiktor Niesiobędzki
0ea769e70f Revert to use each.key for membership
It's not needed to force recreation of membership when workload identity
is configured.
2023-01-19 11:46:50 +01:00
Wiktor Niesiobędzki
720213593e Use google_gkehub_feature_membership
Use google_gkehub_feature_membership to provision ASM on clusters.

Ensure that the cluster membership is refreshed on cluster recreation.
2023-01-19 09:37:48 +01:00
Ludovico Magnocavallo
3778d37d18 Fix gke hub module features condition (#761)
* fix features condition

* remove test output

* fix example tests

* fix module tests
2022-07-30 15:53:05 +02:00
Ludovico Magnocavallo
b20ab65756 GKE hub module refactor (#760)
GKE hub module refactor 
Co-authored-by: Daniel Marzini <danielmarzini@users.noreply.github.com>
Co-authored-by: Miren Esnaola <mirene@google.com>
2022-07-29 08:39:25 +02:00
Miren Esnaola
824353a42b Added servicemesh feature to GKE hub and included fleet robot service account in projectmodule 2022-07-15 17:58:39 +02:00
Daniel Marzini
e372b50d19 Add GKE Hub module to fabric (#540)
* GKE Hub initial PR commit

* variable management adjust

* comments, fixes and alphabetically ordered variables

* Update README.md

* Update README.md

* Update README.md

* fix test

* resources vs modules

still needs some love

* remove modules usage

* comments, readme update and output

* adjusting outputs and README

* fix README.md

* fix README

* adjusted based on comments

still need some love in the google_gke_hub_feature_membership variables management

* types and variable management

* optionally enable required api

* Update README.md

* reorder locals and use standard formatting

* Don't enable services from modules

* Use self links for member clusters

* Update readme

* members_clusters back to map

@juliocc let's talk about this cause we saw it together in our call and if I change it to a list than the other resources are not going to work, they need location there too.

* Forcing null feature to false due to a bug in provider

If a block is set to null the provider will crash with a "panic: interface conversion: interface {} is nil, not map[string]interface {}" a PR will follow

* Readme update

* Readme.md update

* Update README.md

* bring back tolist, WIP

* Update main.tf

* Readme.md update

* Update README.md

* Update main.tf

* Update main.tf

* Add id and self_links output to gke-cluster

* Use try and make all member feature blocks dynamic/optional

* Change member clusters to map

* Add gke-hub tests

* Address PR comments

* Update gke-hub readme

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2022-02-28 12:40:48 +01:00