File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
modules/beta-private-cluster Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,10 @@ resource "google_container_cluster" "primary" {
173
173
state = database_encryption. value . state
174
174
}
175
175
}
176
+
177
+ workload_identity_config {
178
+ identity_namespace = var. identity_namespace
179
+ }
176
180
}
177
181
178
182
/* *****************************************
Original file line number Diff line number Diff line change @@ -169,6 +169,10 @@ resource "google_container_cluster" "zonal_primary" {
169
169
state = database_encryption. value . state
170
170
}
171
171
}
172
+
173
+ workload_identity_config {
174
+ identity_namespace = var. identity_namespace
175
+ }
172
176
}
173
177
174
178
/* *****************************************
Original file line number Diff line number Diff line change @@ -373,3 +373,9 @@ variable "enable_vertical_pod_autoscaling" {
373
373
description = " Vertical Pod Autoscaling automatically adjusts the resources of pods controlled by it"
374
374
default = false
375
375
}
376
+
377
+ variable "identity_namespace" {
378
+ type = string
379
+ description = " Workload Identity namespace"
380
+ default = " "
381
+ }
You can’t perform that action at this time.
0 commit comments