Skip to content

Commit 6e9d615

Browse files
Merge pull request #20 from sparkfabrik/task/gke_cluster_label
refs platform/1652: add GKE cluster labels
2 parents d75ba4a + 08d0525 commit 6e9d615

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ module "gke" {
393393
},
394394
]
395395

396+
cluster_resource_labels = var.gke_cluster_resource_labels
397+
396398
node_pools_oauth_scopes = {
397399
all = ["https://www.googleapis.com/auth/cloud-platform"]
398400
}

variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,11 @@ variable "gke_sc_gitlab_restore_disk" {
249249
default = "pd-ssd"
250250
}
251251

252+
variable "gke_cluster_resource_labels" {
253+
type = map(string)
254+
default = {}
255+
}
256+
252257
##################
253258
# GITLAB SECTION #
254259
##################

0 commit comments

Comments
 (0)