-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproviders.tf
22 lines (19 loc) · 989 Bytes
/
providers.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
provider "google" {}
provider "gitlab" {
token = var.gitlab_token
base_url = "https://${var.gitlab_url}/api/v4/"
}
provider "helm" {
kubernetes {
host = google_container_cluster.runners.endpoint
client_certificate = base64decode(google_container_cluster.runners.master_auth.0.client_certificate)
client_key = base64decode(google_container_cluster.runners.master_auth.0.client_key)
cluster_ca_certificate = base64decode(google_container_cluster.runners.master_auth.0.cluster_ca_certificate)
}
}
provider "kubernetes" {
host = google_container_cluster.runners.endpoint
client_certificate = base64decode(google_container_cluster.runners.master_auth.0.client_certificate)
client_key = base64decode(google_container_cluster.runners.master_auth.0.client_key)
cluster_ca_certificate = base64decode(google_container_cluster.runners.master_auth.0.cluster_ca_certificate)
}