Skip to content

Commit

Permalink
fix: Remove deperciated binary auth property (#30)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jsbroks and github-actions[bot] authored Jan 27, 2023
1 parent b678524 commit c48a551
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resources that lack official modules.
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | ~> 1.0 |
| <a name="requirement_google"></a> [google](#requirement\_google) | ~> 4.15 |
| <a name="requirement_google"></a> [google](#requirement\_google) | ~> 4.31 |
| <a name="requirement_kubernetes"></a> [kubernetes](#requirement\_kubernetes) | ~> 2.9 |

## Providers
Expand Down
6 changes: 5 additions & 1 deletion modules/app_gke/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ resource "google_container_cluster" "default" {
networking_mode = "VPC_NATIVE"

enable_intranode_visibility = true
enable_binary_authorization = true

binary_authorization {
evaluation_mode = "PROJECT_SINGLETON_POLICY_ENFORCE"
}


ip_allocation_policy {
cluster_ipv4_cidr_block = "/14"
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.15"
version = "~> 4.31"
}
kubernetes = {
source = "hashicorp/kubernetes"
Expand Down

0 comments on commit c48a551

Please sign in to comment.