mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 13:01:03 +00:00
deploy k8s using rke-provider
This commit is contained in:
parent
2a2d951971
commit
0f08cfb0d2
14 changed files with 167 additions and 153 deletions
9
provider_kubernetes.tf
Normal file
9
provider_kubernetes.tf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
provider "kubernetes" {
|
||||
version = "~> 1.6"
|
||||
|
||||
host = "${rke_cluster.cluster.api_server_url}"
|
||||
|
||||
client_certificate = "${rke_cluster.cluster.client_cert}"
|
||||
client_key = "${rke_cluster.cluster.client_key}"
|
||||
cluster_ca_certificate = "${rke_cluster.cluster.ca_crt}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue