26 lines
550 B
Plaintext
26 lines
550 B
Plaintext
variable "kubernetes_client_certificate"{
|
|
type = string
|
|
default = "xxx"
|
|
}
|
|
|
|
variable "kubernetes_client_key"{
|
|
type = string
|
|
default = "xxx"
|
|
}
|
|
|
|
variable "kubernetes_cluster_ca_certificate"{
|
|
type = string
|
|
default = "xxx"
|
|
}
|
|
|
|
provider "kubernetes" {
|
|
load_config_file = "false"
|
|
|
|
host = "https://192.168.86.51:6443"
|
|
|
|
client_certificate = base64decode(var.kubernetes_client_certificate)
|
|
client_key = base64decode(var.kubernetes_client_key)
|
|
cluster_ca_certificate = base64decode(var.kubernetes_cluster_ca_certificate)
|
|
}
|
|
|