Expose allow_net_admin feature in gke-cluster-autopilot
This commit is contained in:
@@ -32,6 +32,7 @@ resource "google_container_cluster" "cluster" {
|
||||
initial_node_count = 1
|
||||
|
||||
enable_autopilot = true
|
||||
allow_net_admin = var.allow_net_admin
|
||||
|
||||
addons_config {
|
||||
http_load_balancing {
|
||||
|
||||
@@ -211,3 +211,9 @@ variable "vpc_config" {
|
||||
})
|
||||
nullable = false
|
||||
}
|
||||
|
||||
variable "allow_net_admin" {
|
||||
description = "Enable NET_ADMIN feature on autopilot cluster."
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user