File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,12 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.0.2]
11+
12+ ### Added
13+
14+ - Add support for ` authenticator_groups_config `
15+
16+ ## Changed
17+
18+ - BREAKING: Upgrade provider to ` ~4.16 ` to add support for ` authenticator_groups_config `
19+
1020## [ 0.0.1]
1121
1222### Added
1323
1424- Add support for ` google_container_cluster ` with autopilot enabled
1525
16- [ unreleased ] : https://github.com/mineiros-io/terraform-google-gke-autopilot-cluster/compare/v0.0.1 ...HEAD
17- <!-- [0.0.2]: https://github.com/mineiros-io/terraform-google-gke-autopilot-cluster/compare/v0.0.1...v0.0.2 -->
26+ [ unreleased ] : https://github.com/mineiros-io/terraform-google-gke-autopilot-cluster/compare/v0.0.2 ...HEAD
27+ [ 0.0.2 ] : https://github.com/mineiros-io/terraform-google-gke-autopilot-cluster/compare/v0.0.1...v0.0.2
1828[ 0.0.1 ] : https://github.com/mineiros-io/terraform-google-gke-autopilot-cluster/releases/tag/v0.0.1
Original file line number Diff line number Diff line change @@ -115,6 +115,13 @@ See [variables.tf] and [examples/] for details and use-cases.
115115 The ID of the project in which the resource belongs.
116116 If it is not set, the provider project is used.
117117
118+ - [ ** ` rbac_security_identity_group ` ** ] ( #var-rbac_security_identity_group ) : * (Optional ` string ` )* <a name =" var-rbac_security_identity_group " ></a >
119+
120+ The name of the RBAC security identity group for use with Google
121+ security groups in Kubernetes RBAC. Group name must be in format
122+ ` gke-security-groups@yourdomain.com ` .
123+ For details please see https://cloud.google.com/kubernetes-engine/docs/how-to/google-groups-rbac
124+
118125- [ ** ` min_master_version ` ** ] ( #var-min_master_version ) : * (Optional ` string ` )* <a name =" var-min_master_version " ></a >
119126
120127 The minimum version of the Kubernetes master.
Original file line number Diff line number Diff line change @@ -154,6 +154,16 @@ section {
154154 END
155155 }
156156
157+ variable "rbac_security_identity_group" {
158+ type = string
159+ description = <<- END
160+ The name of the RBAC security identity group for use with Google
161+ security groups in Kubernetes RBAC. Group name must be in format
162+ `gke-security-groups@yourdomain.com`.
163+ For details please see https://cloud.google.com/kubernetes-engine/docs/how-to/google-groups-rbac
164+ END
165+ }
166+
157167 variable "min_master_version" {
158168 type = string
159169 description = <<- END
Original file line number Diff line number Diff line change @@ -35,6 +35,14 @@ resource "google_container_cluster" "cluster" {
3535
3636 cluster_ipv4_cidr = var. cluster_ipv4_cidr
3737
38+ dynamic "authenticator_groups_config" {
39+ for_each = var. rbac_security_identity_group != null ? [1 ] : []
40+
41+ content {
42+ security_group = var. rbac_security_identity_group
43+ }
44+ }
45+
3846 dynamic "release_channel" {
3947 for_each = var. release_channel != null ? [1 ] : []
4048
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ terraform {
1919 required_providers {
2020 google = {
2121 source = " hashicorp/google"
22- version = " 4.10 .0"
22+ version = " 4.16 .0"
2323 }
2424 }
2525}
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ terraform {
66 required_version = " >= 0.14.7, < 2.0"
77
88 required_providers {
9- google = " ~> 4.10 .0"
9+ google = " ~> 4.16 .0"
1010 }
1111}
You can’t perform that action at this time.
0 commit comments