Skip to content

Commit f279185

Browse files
committed
chore: Updated kubernetes provider to automatically look for CA and token
1 parent ea2dca0 commit f279185

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • templates/k8s-pod-custom-repo

templates/k8s-pod-custom-repo/main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,7 @@ data "coder_external_auth" "github" {
108108
id = "primary-github"
109109
}
110110

111-
provider "kubernetes" {
112-
host = "https://kubernetes.default.svc" # Internal cluster address
113-
}
111+
provider "kubernetes" {}
114112

115113
data "coder_workspace" "me" {}
116114
data "coder_workspace_owner" "me" {}

0 commit comments

Comments
 (0)