diff --git a/autogen/outputs.tf b/autogen/outputs.tf index 704569d00e..842502ecea 100644 --- a/autogen/outputs.tf +++ b/autogen/outputs.tf @@ -154,4 +154,12 @@ output "release_channel" { description = "The release channel of this cluster" value = var.release_channel } + +output "identity_namespace" { + description = "Workload Identity namespace" + value = var.identity_namespace + depends_on = [ + "google_container_cluster.primary" + ] +} {% endif %} diff --git a/modules/beta-private-cluster-update-variant/README.md b/modules/beta-private-cluster-update-variant/README.md index 93daea71ca..e9b13daa59 100644 --- a/modules/beta-private-cluster-update-variant/README.md +++ b/modules/beta-private-cluster-update-variant/README.md @@ -212,6 +212,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o | endpoint | Cluster endpoint | | horizontal\_pod\_autoscaling\_enabled | Whether horizontal pod autoscaling enabled | | http\_load\_balancing\_enabled | Whether http load balancing enabled | +| identity\_namespace | Workload Identity namespace | | intranode\_visibility\_enabled | Whether intra-node visibility is enabled | | istio\_enabled | Whether Istio is enabled | | kubernetes\_dashboard\_enabled | Whether kubernetes dashboard enabled | diff --git a/modules/beta-private-cluster-update-variant/outputs.tf b/modules/beta-private-cluster-update-variant/outputs.tf index 956c8c2d5d..fb3f29c401 100644 --- a/modules/beta-private-cluster-update-variant/outputs.tf +++ b/modules/beta-private-cluster-update-variant/outputs.tf @@ -153,3 +153,11 @@ output "release_channel" { description = "The release channel of this cluster" value = var.release_channel } + +output "identity_namespace" { + description = "Workload Identity namespace" + value = var.identity_namespace + depends_on = [ + "google_container_cluster.primary" + ] +} diff --git a/modules/beta-private-cluster/README.md b/modules/beta-private-cluster/README.md index 4096848139..ed98fb6093 100644 --- a/modules/beta-private-cluster/README.md +++ b/modules/beta-private-cluster/README.md @@ -212,6 +212,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o | endpoint | Cluster endpoint | | horizontal\_pod\_autoscaling\_enabled | Whether horizontal pod autoscaling enabled | | http\_load\_balancing\_enabled | Whether http load balancing enabled | +| identity\_namespace | Workload Identity namespace | | intranode\_visibility\_enabled | Whether intra-node visibility is enabled | | istio\_enabled | Whether Istio is enabled | | kubernetes\_dashboard\_enabled | Whether kubernetes dashboard enabled | diff --git a/modules/beta-private-cluster/outputs.tf b/modules/beta-private-cluster/outputs.tf index 956c8c2d5d..fb3f29c401 100644 --- a/modules/beta-private-cluster/outputs.tf +++ b/modules/beta-private-cluster/outputs.tf @@ -153,3 +153,11 @@ output "release_channel" { description = "The release channel of this cluster" value = var.release_channel } + +output "identity_namespace" { + description = "Workload Identity namespace" + value = var.identity_namespace + depends_on = [ + "google_container_cluster.primary" + ] +} diff --git a/modules/beta-public-cluster/README.md b/modules/beta-public-cluster/README.md index 258ea431e4..a9e71538e2 100644 --- a/modules/beta-public-cluster/README.md +++ b/modules/beta-public-cluster/README.md @@ -203,6 +203,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o | endpoint | Cluster endpoint | | horizontal\_pod\_autoscaling\_enabled | Whether horizontal pod autoscaling enabled | | http\_load\_balancing\_enabled | Whether http load balancing enabled | +| identity\_namespace | Workload Identity namespace | | intranode\_visibility\_enabled | Whether intra-node visibility is enabled | | istio\_enabled | Whether Istio is enabled | | kubernetes\_dashboard\_enabled | Whether kubernetes dashboard enabled | diff --git a/modules/beta-public-cluster/outputs.tf b/modules/beta-public-cluster/outputs.tf index 956c8c2d5d..fb3f29c401 100644 --- a/modules/beta-public-cluster/outputs.tf +++ b/modules/beta-public-cluster/outputs.tf @@ -153,3 +153,11 @@ output "release_channel" { description = "The release channel of this cluster" value = var.release_channel } + +output "identity_namespace" { + description = "Workload Identity namespace" + value = var.identity_namespace + depends_on = [ + "google_container_cluster.primary" + ] +}