Commit Graph

54 Commits

Author SHA1 Message Date
Miren Esnaola ae6080ebf7 Modifications related to autopilot and workload identity. Added workload_identity_pool output to module 2023-02-24 09:59:23 +01:00
Brent Walker e8c0b66aee Remove unnecessary ternaries 2023-02-10 07:00:12 -05:00
Brent Walker 695b34efe9 fmt 2023-02-10 07:00:12 -05:00
Brent Walker c3a7760a49 Autopilot fix
Support cluster_autoscaling configuration when using autopilot
2023-02-10 07:00:12 -05:00
Julio Castillo d6e3716815 Fix gke-cluster dns config feature
Fixes #1141
2023-02-10 11:14:07 +01:00
Ludovico Magnocavallo 46ba8f5691
Skip node config for autopilot (#1127) 2023-02-02 16:13:56 +01:00
Taneli Leppä 824f873327 Added mesh_certificates setting in GKE cluster. 2023-02-02 11:02:59 +01:00
Wiktor Niesiobędzki 135f01f191 Add aditional Multi-Cluster related services 2023-01-29 15:50:24 +01:00
Wiktor Niesiobędzki 0af5399389 Add gateway_api_config, change workload_identity default value
Make the default value on `enable_features` inline with what is set by
optionals.
2023-01-29 15:50:24 +01:00
Miren Esnaola 7d9dc6c28e Added tags to gke-cluster module 2023-01-13 12:58:40 +01:00
Wiktor Niesiobędzki 7e18f6d7b5 Fixes for GKE
* Fix non-empty plan when spot instances are used
* Add cluster_id and recommend its use, as this prevents inconsitencies
  when only cluster is recreated (with no changes on node pool)
2022-12-21 23:14:52 +01:00
Ankur Saxena b487b2c938
Feature - CloudSQL pre-allocation private IP range and GKE Cluster ignore_change lifecycle hook. (#1056)
* Update to include allocate_ip_range

* Updates to GKE Cluster module

* Add boot_disk_kms_key to ignore changes

* Update ignore lifecycle block

* Update docs

* Remove default_pool_boot_disk

* Refactor as per suggestions in PR

* Update readme

* Update variable sort

* Changes to address review comments

Co-authored-by: Ankur Saxena <ankur.saxena@nwmworld.com>
2022-12-20 07:08:00 +00:00
Joe Heaton.dev 9fa381f5ed
Fix memory typo (#1016) 2022-11-27 18:29:25 +01:00
astianseb 345cb4b7fa
Default nodepool creation fix (#999)
* Default nodepool creation fix

* Removed comments and fixded formatting with fmt

* Refactored per PR comment

Co-authored-by: Astian Seb <sgrabski@google.com>
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-11-22 19:17:57 +01:00
Julio Castillo 6242607e1b
Merge branch 'master' into ludo/gke-autopilot-datapath 2022-10-25 23:24:20 +02:00
apichick d9ccf04221
Added managed_prometheus to features (#906)
* Added managed_prometheus monitoring_config

* fix module

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-10-25 21:18:50 +00:00
Ludovico Magnocavallo 68f5719036
gke module datapath for autopilot 2022-10-25 07:23:38 +02:00
Daniel Marzini 49d5e21a4b
Fix csi-driver, logging and monitoring default values when autopilot … (#883)
* Fix csi-driver, logging and monitoring default values when autopilot is used
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-10-14 17:30:54 +02:00
Ludovico Magnocavallo e8056577ce
Refactor GKE nodepool and blueprints (#875)
* first shot, untested

* example tests working

* module tests

* work on gke blueprints

* multitenant fleet doc examples

* fix gke hub doc examples

* blueprint tests

* move master range to vpc config

* fast stage 3 gke test

* tfdoc

* bump provider versions

* and bump provider again to latest
2022-10-12 12:59:36 +02:00
Ludovico Magnocavallo 16822e94ab
Refactor GKE module for Terraform 1.3 (#868)
* wip

* module and module tests

* doc examples

* gke-hub doc examples

* gke blueprints

* hub and spoke peering blueprint

* Rename some keys of some optional objects

* Fix readme

Co-authored-by: Julio Castillo <jccb@google.com>
2022-10-10 09:38:21 +02:00
Arindam Sirohia eb73e13b67 Updated for each condition of binary authorization in gke-cluster module 2022-09-20 00:35:06 +05:30
Arindam Sirohia 489acfdb32 Added new binary_authorization argument in gke-cluster module 2022-09-20 00:09:59 +05:30
Daniel Marzini 6314afb21e Fix gke-cluster enable_binary_authorization being deprecated 2022-08-02 18:26:53 +02:00
Abhishek Patil d224404424 when using managed prometheus or passing monitoring config there is error thrown as Error: googleapi: Error 400: Cannot specify logging_config or monitoring_config together with logging_service or monitoring_service., badRequest which is resolved using the fix 2022-06-29 14:54:05 +05:30
Ludovico Magnocavallo 5982fe89ff as developed with Julio 2022-06-28 17:33:54 +02:00
Julio Castillo cf76744f95 Fix addons for autopilot clusters, add tests for gke-cluster.
Fixes second part of #702
2022-06-28 12:24:17 +02:00
next-davidduquehernandez 4cb814a0ae
Added 'gke_backup_agent_config' option to addons in gke-cluster (#642)
* Added 'gke_backup_agent_config' option to addons in gke-cluster

* Update README.md after launch tfdoc.py
2022-04-30 10:32:49 +02:00
Julio Castillo 2ddce7b8fa Fix gke-cluster permadiff when using dns_config 2022-04-20 11:36:53 +02:00
Daniel Marzini 463edc42cc [gke-cluster] filestore csi integration 2022-03-14 17:12:56 +01:00
Caio Tavares 666c5dd82e
feat: added missing addons gke (#481) 2022-02-01 07:23:00 +01:00
Simone Ruffilli ee25965c89
Copyright bump (#410) 2022-01-01 15:52:31 +01:00
caiotavaresdito c9870b44f1 defaulted to false and conditional output 2021-11-30 07:58:45 -05:00
caiotavaresdito fd4383540a removed extra lines 2021-11-30 07:50:53 -05:00
caiotavaresdito 01e100719e Added GKE pubsub notifications 2021-11-29 22:39:44 -05:00
caiotavaresdito 9d57c10f36 Fixed boolean variable condition 2021-11-18 14:12:13 -05:00
caiotavaresdito b09c24c736 Added dynamic block for dns_cache_config 2021-11-18 12:49:31 -05:00
Ludovico Magnocavallo f6775aca1b
Use the same versions file everywhere, pin to tf 1.0+ provider 4.0+ (#355)
* add default versions file, remove old providers and versions

* use default versions file everywhere

* fix kms module

* re-add provider configuration for data platform step 2

* update kms module outputs sorting

* update kms documentation

* fix data solutions tests

* fix GKE workload identity attribute name

* work around firewall provider issue in datafusion example
2021-11-03 15:05:43 +01:00
Taneli Leppä e1b79bc7f6 Added recurring maintenance window, dns config, L4ILB subsetting and monitoring/logging config to GKE cluster module. 2021-10-20 18:21:05 +02:00
Julio Castillo 46e83d3b59 Autopilot support 2021-06-28 00:54:14 +02:00
Daniel Marzini 71031efc7c
Dataplane V2 integration (#256)
* Dataplane V2 integration

* Moving enable_dataplane_v2 outside addons

* Fixing enable_dataplane_v2 position and default value

* Fix README with default value

* Removing enable_dataplane_v2 from addons

* Adding standalone Dataplane V2 Example
2021-06-04 12:29:12 +02:00
Ludovico Magnocavallo c1719951a9
Update to Terraform 0.15 (#248)
* don't use deprecated list() function

* don't use deprecated map() function

* update Terraform version in CI files
2021-05-22 15:58:55 +02:00
Luca Prete fbbe88eb23
[#221] Add master_global_access_config to gke module (#222) 2021-04-07 09:50:40 +02:00
Julio Castillo 1e11c670f5 Update copyright to 2021 2021-02-15 09:38:10 +01:00
Ludovico Magnocavallo bd00eec1be
decouple cloudrun from istio in gke cluster module (#144) 2020-09-25 22:02:17 +02:00
Luca Prete f2c80e17f1
[#138] Update copyright headers to 2020 (#139)
Co-authored-by: Luca Prete <lucaprete@google.com>
2020-09-23 11:07:03 +02:00
Ludovico Magnocavallo 2e644a3333 streamline gke module peering project id 2020-08-16 20:36:52 +02:00
Roberto Rojas a3962dcaf7
#123: Proposal to extend gke-module (#124)
* allows the use of shared VPC network

* adds configuration block for host project id and shared vpc

* changes based on issue discussion

* changes based on issue discussion
2020-08-16 20:32:36 +02:00
T.V.VIGNESH 6b0b147e7e
Added PD CSI Driver Addon support (#84)
* Added PD CSI Driver Addon support

Google supports CSI Driver for PD (https://cloud.google.com/kubernetes-engine/docs/how-to/gce-pd-csi-driver) which is also supported by TF Google Beta Provider (https://www.terraform.io/docs/providers/google/r/container_cluster.html#gce_persistent_disk_csi_driver_config).

Added the same support to this module.

* Added PD CSI Config to variables

The PD CSI config has been added to variables to support PD CSI Driver (https://www.terraform.io/docs/providers/google/r/container_cluster.html#gce_persistent_disk_csi_driver_config)
2020-06-01 07:57:14 +02:00
Julio Castillo de9825310c Fix another gke-cluster dynamic block typo 2020-05-12 18:46:50 +02:00
Eric Hole a51c8be101
Adds clarification to gke-cluster module for node_config (#68) 2020-05-07 06:48:04 +02:00