terraform-google-modules / terraform-google-gcloud

Executes Google Cloud CLI commands within Terraform
https://registry.terraform.io/modules/terraform-google-modules/gcloud/google
Apache License 2.0
138 stars 93 forks source link

Add proxy support #170

Closed foosinn closed 9 months ago

foosinn commented 11 months ago

TL;DR

Allow the user to specify a proxy.

Terraform Resources

No response

Detailed design

module "annotate-sa-gatekeeper-system-restart" {
  source  = "terraform-google-modules/gcloud/google//modules/kubectl-wrapper"
  version = "~> 3.1"

  count            = var.enable_policy_controller && var.create_metrics_gcp_sa ? 1 : 0
  skip_download    = true
  cluster_name     = var.cluster_name
  cluster_location = var.location
  project_id       = var.project_id
  proxy            = var.cluster_proxy

  kubectl_create_command  = "kubectl rollout restart deployment gatekeeper-controller-manager -n gatekeeper-system"
  kubectl_destroy_command = ""
}

Additional information

GKE clusters running private-ip-only require a identity aware proxy to connect to them. This seems to be not possible right now.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days