Skip to content

Commit

Permalink
fix: gke enable network config
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod committed Jun 29, 2022
1 parent 1b5801f commit 4485693
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions google/gke/gke.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ resource "google_container_cluster" "gke_cluster" {
}
}

# enable a network policy to be set
network_policy {
enabled = true
}

# allow API auth from anywhere
master_authorized_networks_config {
cidr_blocks {
Expand Down

0 comments on commit 4485693

Please sign in to comment.