From 629564bd35be62d1e97080d9ae7f6433bacac803 Mon Sep 17 00:00:00 2001 From: Adrian Berger Date: Mon, 26 Feb 2024 12:27:38 +0100 Subject: [PATCH] fix(vcluster): delete uds file if it already exists when starting konnectivity-server Signed-off-by: Adrian Berger --- charts/vcluster/Chart.yaml | 2 +- charts/vcluster/README.md | 2 +- charts/vcluster/templates/components/kubernetes/_templates.tpl | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/vcluster/Chart.yaml b/charts/vcluster/Chart.yaml index dcc4c2b6..4a13e5f6 100644 --- a/charts/vcluster/Chart.yaml +++ b/charts/vcluster/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: vcluster description: Virtual Kubernetes Cluster type: application -version: 0.5.5 +version: 0.5.6 appVersion: 0.1.0 keywords: - vcluster diff --git a/charts/vcluster/README.md b/charts/vcluster/README.md index 681c562b..ffde3571 100644 --- a/charts/vcluster/README.md +++ b/charts/vcluster/README.md @@ -2,7 +2,7 @@ __This Chart is under active development! We try to improve documentation and values consistency over time__ -![Version: 0.5.5](https://img.shields.io/badge/Version-0.5.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.5.6](https://img.shields.io/badge/Version-0.5.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Virtual Kubernetes Cluster diff --git a/charts/vcluster/templates/components/kubernetes/_templates.tpl b/charts/vcluster/templates/components/kubernetes/_templates.tpl index b9715489..d75803c6 100644 --- a/charts/vcluster/templates/components/kubernetes/_templates.tpl +++ b/charts/vcluster/templates/components/kubernetes/_templates.tpl @@ -144,6 +144,7 @@ Template for konnectivityServer containers {{- else }} - --mode=grpc - --uds-name=/run/konnectivity-server/konnectivity-server.socket + - --delete-existing-uds-file=true - --server-port=0 {{- end }} - --agent-port={{ $kubernetes.konnectivity.server.ports.agent }}