Skip to content

Commit

Permalink
feat: enable_mesh_certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
bgvdiscord committed Sep 11, 2023
1 parent 00878e5 commit cb8ee1a
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 16 deletions.
3 changes: 3 additions & 0 deletions autogen/main/outputs.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,16 @@ output "identity_namespace" {
]
}

{% if autopilot_cluster != true %}
output "mesh_certificates_config" {
description = "Mesh certificates configuration"
value = local.cluster_mesh_certificates_config
depends_on = [
google_container_cluster.primary
]
}
{% endif %}

{% if private_cluster %}

output "master_ipv4_cidr_block" {
Expand Down
1 change: 0 additions & 1 deletion modules/beta-autopilot-private-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ Then perform the following commands on the root folder:
| master\_authorized\_networks\_config | Networks from which access to master is permitted |
| master\_ipv4\_cidr\_block | The IP range in CIDR notation used for the hosted master network |
| master\_version | Current master kubernetes version |
| mesh\_certificates\_config | Mesh certificates configuration |
| min\_master\_version | Minimum master kubernetes version |
| monitoring\_service | Monitoring service used |
| name | Cluster name |
Expand Down
8 changes: 1 addition & 7 deletions modules/beta-autopilot-private-cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,7 @@ output "identity_namespace" {
]
}

output "mesh_certificates_config" {
description = "Mesh certificates configuration"
value = local.cluster_mesh_certificates_config
depends_on = [
google_container_cluster.primary
]
}


output "master_ipv4_cidr_block" {
description = "The IP range in CIDR notation used for the hosted master network"
Expand Down
1 change: 0 additions & 1 deletion modules/beta-autopilot-public-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ Then perform the following commands on the root folder:
| logging\_service | Logging service used |
| master\_authorized\_networks\_config | Networks from which access to master is permitted |
| master\_version | Current master kubernetes version |
| mesh\_certificates\_config | Mesh certificates configuration |
| min\_master\_version | Minimum master kubernetes version |
| monitoring\_service | Monitoring service used |
| name | Cluster name |
Expand Down
8 changes: 1 addition & 7 deletions modules/beta-autopilot-public-cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,7 @@ output "identity_namespace" {
]
}

output "mesh_certificates_config" {
description = "Mesh certificates configuration"
value = local.cluster_mesh_certificates_config
depends_on = [
google_container_cluster.primary
]
}


output "cloudrun_enabled" {
description = "Whether CloudRun enabled"
Expand Down
1 change: 1 addition & 0 deletions modules/beta-private-cluster-update-variant/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ output "mesh_certificates_config" {
]
}


output "master_ipv4_cidr_block" {
description = "The IP range in CIDR notation used for the hosted master network"
value = var.master_ipv4_cidr_block
Expand Down
1 change: 1 addition & 0 deletions modules/beta-private-cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ output "mesh_certificates_config" {
]
}


output "master_ipv4_cidr_block" {
description = "The IP range in CIDR notation used for the hosted master network"
value = var.master_ipv4_cidr_block
Expand Down
1 change: 1 addition & 0 deletions modules/beta-public-cluster-update-variant/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ output "mesh_certificates_config" {
]
}


output "cloudrun_enabled" {
description = "Whether CloudRun enabled"
value = local.cluster_cloudrun_enabled
Expand Down
1 change: 1 addition & 0 deletions modules/beta-public-cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ output "mesh_certificates_config" {
]
}


output "cloudrun_enabled" {
description = "Whether CloudRun enabled"
value = local.cluster_cloudrun_enabled
Expand Down
1 change: 1 addition & 0 deletions modules/private-cluster-update-variant/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ output "mesh_certificates_config" {
]
}


output "master_ipv4_cidr_block" {
description = "The IP range in CIDR notation used for the hosted master network"
value = var.master_ipv4_cidr_block
Expand Down
1 change: 1 addition & 0 deletions modules/private-cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ output "mesh_certificates_config" {
]
}


output "master_ipv4_cidr_block" {
description = "The IP range in CIDR notation used for the hosted master network"
value = var.master_ipv4_cidr_block
Expand Down
1 change: 1 addition & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,4 @@ output "mesh_certificates_config" {
google_container_cluster.primary
]
}

0 comments on commit cb8ee1a

Please sign in to comment.