Fixes #1: Added provider.tf and variables.tf for k8sapps
This commit is contained in:
@@ -29,11 +29,9 @@ terraform {
|
||||
}
|
||||
|
||||
provider "kubernetes" {
|
||||
host = var.k8s_host
|
||||
client_certificate = base64decode(var.k8s_client_certificate)
|
||||
client_key = base64decode(var.k8s_client_key)
|
||||
cluster_ca_certificate = base64decode(var.k8s_cluster_ca_certificate)
|
||||
insecure = true
|
||||
config_path = "~/.kube/config"
|
||||
config_context = "k8s"
|
||||
insecure = true
|
||||
}
|
||||
|
||||
provider "scaleway" {
|
||||
|
||||
@@ -67,23 +67,3 @@ variable "m3uproxy_secret" {
|
||||
description = "M3UProxy HMAC secret"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "k8s_host" {
|
||||
description = "K8S host"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "k8s_client_certificate" {
|
||||
description = "K8S client certificate"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "k8s_client_key" {
|
||||
description = "K8S client key"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "k8s_cluster_ca_certificate" {
|
||||
description = "K8S cluster CA certificate"
|
||||
type = string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user