-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Labels
enhancementNew feature or requestNew feature or request
Description
TL;DR
The internal kubectl-wrapper module uses gcloud container clusters get-credentials
. GKE recently introduced DNS-based endpoints which essentially just needs the user to add the flag --dns-endpoint
on that command.
Terraform Resources
module "kubectl" {
source = "terraform-google-modules/gcloud/google//modules/kubectl-wrapper"
project_id = var.project_id
cluster_name = var.cluster_name
cluster_location = var.cluster_location
use_dns_endpoint = true # potential new variable
kubectl_create_command = "kubectl create deploy nginx --image=nginx"
kubectl_destroy_command = "kubectl delete deploy nginx"
}
Detailed design
Additional information
No response
geojaz
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request