This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-1086
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1086 by this push:
     new cd9934b  fixed issue with terminating;
cd9934b is described below

commit cd9934bc6e20baee83b0546ff83ee153c46466e4
Author: Oleh Martushevskyi <oleh_martushevs...@epam.com>
AuthorDate: Fri Sep 13 11:33:30 2019 +0300

    fixed issue with terminating;
---
 .../terraform/gcp/ssn-gke/main/modules/helm_charts/main.tf   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/main.tf
 
b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/main.tf
index dae032b..0b1f792 100644
--- 
a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/main.tf
+++ 
b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/main.tf
@@ -32,9 +32,9 @@ provider "helm" {
   kubernetes {
     host                   = 
data.google_container_cluster.ssn_k8s_gke_cluster.endpoint
     token                  = data.google_client_config.current.access_token
-    client_certificate     = 
data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.client_certificate
-    client_key             = 
data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.client_key
-    cluster_ca_certificate = 
data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.cluster_ca_certificate
+    client_certificate     = 
base64decode(data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.client_certificate)
+    client_key             = 
base64decode(data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.client_key)
+    cluster_ca_certificate = 
base64decode(data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.cluster_ca_certificate)
   }
   install_tiller = true
   service_account = "tiller"
@@ -43,9 +43,9 @@ provider "helm" {
 provider "kubernetes" {
   host = data.google_container_cluster.ssn_k8s_gke_cluster.endpoint
 
-  client_certificate     = 
data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.client_certificate
-  client_key             = 
data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.client_key
-  cluster_ca_certificate = 
data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.cluster_ca_certificate
+  client_certificate     = 
base64decode(data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.client_certificate)
+  client_key             = 
base64decode(data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.client_key)
+  cluster_ca_certificate = 
base64decode(data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.cluster_ca_certificate)
 }
 
 resource "kubernetes_service_account" "example" {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to