code-dumps/tf-modulised/kubernetes/sshd/provider.tf-example

26 lines
550 B
Plaintext
Raw Normal View History

2020-07-28 16:47:08 +08:00
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)
}