From c7ffd63630912ede6410f2b16fbed0ef4e850df0 Mon Sep 17 00:00:00 2001 From: Diego Braga Date: Fri, 19 Apr 2024 14:34:29 +0200 Subject: [PATCH] feat: ability to disable init (#132) --- chart/templates/vcluster-installer.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chart/templates/vcluster-installer.yaml b/chart/templates/vcluster-installer.yaml index 62cf787..15b0af1 100644 --- a/chart/templates/vcluster-installer.yaml +++ b/chart/templates/vcluster-installer.yaml @@ -49,8 +49,13 @@ spec: krateoplatformops: vcluster: enabled: false + {{- if .Values.krateoplatformops.init.enabled }} init: enabled: true + {{- else }} + init: + enabled: false + {{- end }} {{- if and (eq .Values.krateoplatformops.service.type "NodePort") .Values.krateoplatformops.service.externalIpAvailable }} service: type: NodePort