-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat(safer-cluster): add some missing variables #2429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -185,6 +185,16 @@ variable "node_pools_resource_labels" { | |
| } | ||
| } | ||
|
|
||
| variable "node_pools_resource_manager_tags" { | ||
| type = map(map(string)) | ||
| description = "Map of maps containing resource manager tags by node-pool name" | ||
|
|
||
| default = { | ||
| all = {} | ||
| default-node-pool = {} | ||
| } | ||
| } | ||
|
|
||
| variable "node_pools_metadata" { | ||
| type = map(map(string)) | ||
| description = "Map of maps containing node metadata by node-pool name" | ||
|
|
@@ -195,6 +205,28 @@ variable "node_pools_metadata" { | |
| } | ||
| } | ||
|
|
||
| variable "node_pools_cgroup_mode" { | ||
| type = map(string) | ||
| description = "Map of strings containing cgroup node config by node-pool name" | ||
|
|
||
| # Default is being set in variables_defaults.tf | ||
| default = { | ||
| all = "" | ||
| default-node-pool = "" | ||
| } | ||
| } | ||
|
|
||
| variable "node_pools_hugepage_size_2m" { | ||
| type = map(string) | ||
| description = "Map of strings containing hugepage size 2m node config by node-pool name" | ||
|
|
||
| # Default is being set in variables_defaults.tf | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| default = { | ||
| all = "" | ||
| default-node-pool = "" | ||
| } | ||
| } | ||
|
|
||
| variable "node_pools_taints" { | ||
| type = map(list(object({ key = string, value = string, effect = string }))) | ||
| description = "Map of lists containing node taints by node-pool name" | ||
|
|
@@ -540,6 +572,12 @@ variable "enable_gcfs" { | |
| default = false | ||
| } | ||
|
|
||
| variable "enable_secret_manager_addon" { | ||
| description = "Enable the Secret Manager add-on for this cluster" | ||
| type = bool | ||
| default = false | ||
| } | ||
|
|
||
| variable "enable_mesh_certificates" { | ||
| type = bool | ||
| default = false | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -285,6 +285,9 @@ spec: | |
| master_authorized_networks: | ||
| name: master_authorized_networks | ||
| title: Master Authorized Networks | ||
| monitoring_auto_monitoring_config_scope: | ||
| name: monitoring_auto_monitoring_config_scope | ||
| title: Monitoring Auto Monitoring Config Scope | ||
|
Comment on lines
+288
to
+290
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| monitoring_enable_managed_prometheus: | ||
| name: monitoring_enable_managed_prometheus | ||
| title: Monitoring Enable Managed Prometheus | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -106,6 +106,9 @@ spec: | |
| enable_private_endpoint: | ||
| name: enable_private_endpoint | ||
| title: Enable Private Endpoint | ||
| enable_secret_manager_addon: | ||
| name: enable_secret_manager_addon | ||
| title: Enable Secret Manager Addon | ||
| enable_shielded_nodes: | ||
| name: enable_shielded_nodes | ||
| title: Enable Shielded Nodes | ||
|
|
@@ -208,9 +211,21 @@ spec: | |
| node_pools: | ||
| name: node_pools | ||
| title: Node Pools | ||
| node_pools_cgroup_mode: | ||
| name: node_pools_cgroup_mode | ||
| title: Node Pools Cgroup Mode | ||
| node_pools_hugepage_size_1g: | ||
| name: node_pools_hugepage_size_1g | ||
| title: Node Pools Hugepage Size 1G | ||
| node_pools_hugepage_size_2m: | ||
| name: node_pools_hugepage_size_2m | ||
| title: Node Pools Hugepage Size 2M | ||
| node_pools_labels: | ||
| name: node_pools_labels | ||
| title: Node Pools Labels | ||
| node_pools_linux_node_configs_sysctls: | ||
| name: node_pools_linux_node_configs_sysctls | ||
| title: Node Pools Linux Node Configs Sysctls | ||
|
Comment on lines
+214
to
+228
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are a couple of issues here:
|
||
| node_pools_metadata: | ||
| name: node_pools_metadata | ||
| title: Node Pools Metadata | ||
|
|
@@ -220,6 +235,9 @@ spec: | |
| node_pools_resource_labels: | ||
| name: node_pools_resource_labels | ||
| title: Node Pools Resource Labels | ||
| node_pools_resource_manager_tags: | ||
| name: node_pools_resource_manager_tags | ||
| title: Node Pools Resource Manager Tags | ||
| node_pools_tags: | ||
| name: node_pools_tags | ||
| title: Node Pools Tags | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -185,6 +185,16 @@ variable "node_pools_resource_labels" { | |
| } | ||
| } | ||
|
|
||
| variable "node_pools_resource_manager_tags" { | ||
| type = map(map(string)) | ||
| description = "Map of maps containing resource manager tags by node-pool name" | ||
|
|
||
| default = { | ||
| all = {} | ||
| default-node-pool = {} | ||
| } | ||
| } | ||
|
|
||
| variable "node_pools_metadata" { | ||
| type = map(map(string)) | ||
| description = "Map of maps containing node metadata by node-pool name" | ||
|
|
@@ -195,6 +205,28 @@ variable "node_pools_metadata" { | |
| } | ||
| } | ||
|
|
||
| variable "node_pools_cgroup_mode" { | ||
| type = map(string) | ||
| description = "Map of strings containing cgroup node config by node-pool name" | ||
|
|
||
| # Default is being set in variables_defaults.tf | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| default = { | ||
| all = "" | ||
| default-node-pool = "" | ||
| } | ||
| } | ||
|
|
||
| variable "node_pools_hugepage_size_2m" { | ||
| type = map(string) | ||
| description = "Map of strings containing hugepage size 2m node config by node-pool name" | ||
|
|
||
| # Default is being set in variables_defaults.tf | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| default = { | ||
| all = "" | ||
| default-node-pool = "" | ||
| } | ||
| } | ||
|
|
||
| variable "node_pools_taints" { | ||
| type = map(list(object({ key = string, value = string, effect = string }))) | ||
| description = "Map of lists containing node taints by node-pool name" | ||
|
|
@@ -540,6 +572,12 @@ variable "enable_gcfs" { | |
| default = false | ||
| } | ||
|
|
||
| variable "enable_secret_manager_addon" { | ||
| description = "Enable the Secret Manager add-on for this cluster" | ||
| type = bool | ||
| default = false | ||
| } | ||
|
|
||
| variable "enable_mesh_certificates" { | ||
| type = bool | ||
| default = false | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is misleading as the default value is defined in the block immediately below. Please remove this line to avoid confusion.