-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathversions.tf
40 lines (35 loc) · 996 Bytes
/
versions.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
40
terraform {
required_providers {
helm = {
source = "hashicorp/helm"
version = "2.7.1"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.14.0"
}
}
required_version = "~> 1"
}
provider "helm" {
kubernetes {
# example entries
# host = "https://cluster_endpoint:port"
# client_certificate = file("~/.kube/client-cert.pem")
# client_key = file("~/.kube/client-key.pem")
# cluster_ca_certificate = file("~/.kube/cluster-ca-cert.pem")
# or use kube config
# config_path = "~/.kube/config"
# config_context = "prd"
}
}
provider "kubernetes" {
# example entries
# host = "https://cluster_endpoint:port"
# client_certificate = file("~/.kube/client-cert.pem")
# client_key = file("~/.kube/client-key.pem")
# cluster_ca_certificate = file("~/.kube/cluster-ca-cert.pem")
# or use kube config
# config_path = "~/.kube/config"
# config_context = "prd"
}