Skip to content

Commit

Permalink
Change kubectl provider (#171)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer authored Nov 1, 2024
1 parent 7d41875 commit d264189
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
12 changes: 1 addition & 11 deletions terraform/modules/azure/aks/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
kubectl = {
source = "gavinbunney/kubectl"
source = "alekc/kubectl"
}
}
}
Expand Down Expand Up @@ -376,16 +376,6 @@ TEMPLATE

## Deploy the image proxy

provider "helm" {
kubernetes {
host = azurerm_kubernetes_cluster.aks.kube_config.0.host
client_certificate = base64decode(azurerm_kubernetes_cluster.aks.kube_config.0.client_certificate)
client_key = base64decode(azurerm_kubernetes_cluster.aks.kube_config.0.client_key)
cluster_ca_certificate = base64decode(azurerm_kubernetes_cluster.aks.kube_config.0.cluster_ca_certificate)

}
}

provider "kubectl" {
host = azurerm_kubernetes_cluster.aks.kube_config.0.host
client_certificate = base64decode(azurerm_kubernetes_cluster.aks.kube_config.0.client_certificate)
Expand Down
4 changes: 2 additions & 2 deletions terraform/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ terraform {
version = "=4.0.5"
}
kubectl = {
source = "gavinbunney/kubectl"
version = "1.14.0"
source = "alekc/kubectl"
version = "2.1.2"
}
}
}
Expand Down

0 comments on commit d264189

Please sign in to comment.