Skip to content

Allow configuring cluster connection details in provider block #8

@silvpol

Description

@silvpol

Hi

I had a look at the provider code and it looks like it relies on default kubeconfig mechanism for configuring cluster connection. Is there a way to override it just like the kubernetes provider available in Terraform? Below is an example setup I use currrently:

data "google_client_config" "default" {}

provider "kubernetes" {
  load_config_file       = false
  host                   = var.cluster_host
  token                  = data.google_client_config.default.access_token
  cluster_ca_certificate = var.cluster_ca_certificate
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions