File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ terraform {
1515provider "coder" {}
1616
1717provider "kubernetes" {
18- config_path = var . use_kubeconfig == true ? " ~/.kube/config" : null
18+ config_path = " ~/.kube/config"
1919}
2020
2121provider "envbuilder" {}
@@ -24,21 +24,6 @@ data "coder_provisioner" "me" {}
2424data "coder_workspace" "me" {}
2525data "coder_workspace_owner" "me" {}
2626
27- variable "use_kubeconfig" {
28- type = bool
29- description = <<- EOF
30- Use host kubeconfig? (true/false)
31-
32- Set this to false if the Coder host is itself running as a Pod on the same
33- Kubernetes cluster as you are deploying workspaces to.
34-
35- Set this to true if the Coder host is running outside the Kubernetes cluster
36- for workspaces. A valid "~/.kube/config" must be present on the Coder host.
37- EOF
38- default = false
39- }
40-
41-
4227# Handling private repositories
4328data "coder_external_auth" "github" {
4429 id = " primary-github"
You can’t perform that action at this time.
0 commit comments