From c09cd58ce13e385853415f5f40160868f1b37ba1 Mon Sep 17 00:00:00 2001
From: Francesco Lombardo <francesco.lombardo@garr.it>
Date: Mon, 11 Apr 2022 11:37:13 +0200
Subject: [PATCH] modified kubeconfig template (certificate-authority-data,
 server)

---
 .../templates/kubeconfig.template                              | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/garr_horizon_dashboard_customization_module/templates/kubeconfig.template b/modules/garr_horizon_dashboard_customization_module/templates/kubeconfig.template
index 0724010..52c4fd8 100644
--- a/modules/garr_horizon_dashboard_customization_module/templates/kubeconfig.template
+++ b/modules/garr_horizon_dashboard_customization_module/templates/kubeconfig.template
@@ -3,7 +3,8 @@ kind: Config
 clusters:
 - name: kubernetes
   cluster:
-    server: "https://k8s-api-pa1.cloud.garr.it:443"
+    certificate-authority-data: {{ kubernetes_certificate_authority_data }}
+    server: {{ kubernetes_url }}
 contexts:
 - name: kubernetes
   context:
-- 
GitLab