Adds clarification to gke-cluster module for node_config (#68)

This commit is contained in:
Eric Hole 2020-05-06 21:48:04 -07:00 committed by GitHub
parent 41c7266f8b
commit a51c8be101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -45,9 +45,11 @@ resource "google_container_cluster" "cluster" {
initial_node_count = 1
remove_default_node_pool = true
# node_config
# TODO(ludomagno): compute addons map in locals and use a single dynamic block
# node_config {}
# NOTE: Default node_pool is deleted, so node_config (here) is extranneous.
# Specify that node_config as an parameter to gke-nodepool module instead.
# TODO(ludomagno): compute addons map in locals and use a single dynamic block
addons_config {
dns_cache_config {
enabled = var.addons.dns_cache_config