From 437b4591ff59a1d0acc6fe9a1646d7886cbfdadf Mon Sep 17 00:00:00 2001 From: Floppy Disk Date: Thu, 5 Dec 2024 21:28:40 +0300 Subject: [PATCH 1/2] fix kubeconfig --- packages/apps/tenant/Chart.yaml | 2 +- packages/apps/tenant/templates/kubeconfig.yaml | 2 +- packages/apps/versions_map | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/apps/tenant/Chart.yaml b/packages/apps/tenant/Chart.yaml index 1dca128de..585a0cd98 100644 --- a/packages/apps/tenant/Chart.yaml +++ b/packages/apps/tenant/Chart.yaml @@ -4,4 +4,4 @@ description: Separated tenant namespace icon: /logos/tenant.svg type: application -version: 1.6.1 +version: 1.6.2 diff --git a/packages/apps/tenant/templates/kubeconfig.yaml b/packages/apps/tenant/templates/kubeconfig.yaml index 601945f03..e0c3aef59 100644 --- a/packages/apps/tenant/templates/kubeconfig.yaml +++ b/packages/apps/tenant/templates/kubeconfig.yaml @@ -27,7 +27,7 @@ stringData: namespace: {{ include "tenant.name" . }} user: keycloak name: {{ include "tenant.name" . }} - current-context: default + current-context: {{ include "tenant.name" . }} users: - name: keycloak user: diff --git a/packages/apps/versions_map b/packages/apps/versions_map index 6ad48e5e5..0af234926 100644 --- a/packages/apps/versions_map +++ b/packages/apps/versions_map @@ -88,7 +88,8 @@ tenant 1.3.1 c56e5769 tenant 1.4.0 94c688f7 tenant 1.5.0 48128743 tenant 1.6.0 df448b99 -tenant 1.6.1 HEAD +tenant 1.6.1 edbbb9be +tenant 1.6.2 HEAD virtual-machine 0.1.4 f2015d6 virtual-machine 0.1.5 7cd7de7 virtual-machine 0.2.0 5ca8823 From 52986214f994f3583911ebe0584c42522aa15416 Mon Sep 17 00:00:00 2001 From: Floppy Disk Date: Mon, 9 Dec 2024 12:02:16 +0300 Subject: [PATCH 2/2] delete -grant-type --- packages/apps/tenant/templates/kubeconfig.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/apps/tenant/templates/kubeconfig.yaml b/packages/apps/tenant/templates/kubeconfig.yaml index e0c3aef59..408bc8c75 100644 --- a/packages/apps/tenant/templates/kubeconfig.yaml +++ b/packages/apps/tenant/templates/kubeconfig.yaml @@ -40,6 +40,5 @@ stringData: - --oidc-client-id=kubernetes - --oidc-client-secret={{ $k8sClient }} - --skip-open-browser - - --grant-type=password command: kubectl {{- end }}