2022-03-12 18:06:06 +00:00
|
|
|
variable "kube_config_path" {
|
2022-04-13 21:01:14 +00:00
|
|
|
type = string
|
2022-03-12 18:06:06 +00:00
|
|
|
default = "~/.kube/config"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "kube_config_context" {
|
2022-04-13 21:01:14 +00:00
|
|
|
type = string
|
2022-03-12 18:06:06 +00:00
|
|
|
default = "colima"
|
|
|
|
}
|
|
|
|
|
|
|
|
provider "kubernetes" {
|
2022-04-13 21:01:14 +00:00
|
|
|
config_path = var.kube_config_path
|
2022-03-12 18:06:06 +00:00
|
|
|
config_context = var.kube_config_context
|
|
|
|
}
|
|
|
|
|
|
|
|
provider "helm" {
|
|
|
|
kubernetes {
|
2022-04-13 21:01:14 +00:00
|
|
|
config_path = var.kube_config_path
|
2022-03-12 18:06:06 +00:00
|
|
|
config_context = var.kube_config_context
|
|
|
|
}
|
|
|
|
}
|