File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
bootstrap/terraform/gcp-bootstrap Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,12 @@ module "gke" {
6363 release_channel = var. release_channel
6464 regional = var. regional_cluster
6565 zones = var. cluster_zones
66+ cluster_resource_labels = merge (
67+ {
68+ " managed-by" = " plural"
69+ },
70+ var. cluster_labels ,
71+ )
6672 grant_registry_access = var. grant_registry_access
6773
6874 node_pools = var. node_pools
Original file line number Diff line number Diff line change @@ -350,6 +350,11 @@ variable "cluster_zones" {
350350 default = []
351351}
352352
353+ variable "cluster_labels" {
354+ type = map (string )
355+ default = {}
356+ }
357+
353358variable "grant_registry_access" {
354359 type = bool
355360 description = " Grants created cluster-specific service account storage.objectViewer and artifactregistry.reader roles."
You can’t perform that action at this time.
0 commit comments