-
Notifications
You must be signed in to change notification settings - Fork 3
/
providers.tf
39 lines (35 loc) · 1.03 KB
/
providers.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
terraform {
required_providers {
kind = {
source = "tehcyx/kind"
version = "~>0.0.15"
}
kubectl = {
source = "gavinbunney/kubectl"
version = "~>1.14.0"
}
helm = {
source = "hashicorp/helm"
version = "~>2.7.1"
}
}
required_version = "~>1.4.0"
}
provider "kubectl" {
#apply_retry_count = 15
host = kind_cluster.ortelius.endpoint
cluster_ca_certificate = kind_cluster.ortelius.cluster_ca_certificate
client_certificate = kind_cluster.ortelius.client_certificate
client_key = kind_cluster.ortelius.client_key
load_config_file = false
}
provider "helm" {
debug = true
kubernetes {
host = kind_cluster.ortelius.endpoint
cluster_ca_certificate = kind_cluster.ortelius.cluster_ca_certificate
client_certificate = kind_cluster.ortelius.client_certificate
client_key = kind_cluster.ortelius.client_key
config_path = pathexpand(var.kind_cluster_config_path)
}
}