From 8f768bab04d3cee0733a82b0c7a4b26037807c32 Mon Sep 17 00:00:00 2001 From: Vibhav Bobade Date: Thu, 8 Feb 2024 13:06:02 +0530 Subject: [PATCH] bug: etcd persistence not needed with sqlite as default --- controllers/helm/build/vcluster/build.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/controllers/helm/build/vcluster/build.go b/controllers/helm/build/vcluster/build.go index 660d32a1..2ecdafe3 100644 --- a/controllers/helm/build/vcluster/build.go +++ b/controllers/helm/build/vcluster/build.go @@ -25,7 +25,7 @@ func BuildK3SHelmValues(uCluster *v1alpha1.UffizziCluster) (vcluster.K3S, string Value: "http://" + etcd.BuildEtcdHelmReleaseName(uCluster) + "." + uCluster.Namespace + ".svc.cluster.local:2379", }, } - vclusterK3sHelmValues.Storage.Persistence = true + vclusterK3sHelmValues.Storage.Persistence = false vclusterK3sHelmValues.EnableHA = false } @@ -187,7 +187,8 @@ func BuildK8SHelmValues(uCluster *v1alpha1.UffizziCluster) (vcluster.K8S, string func pluginsConfig() vcluster.Plugins { return vcluster.Plugins{ UffizziClusterSyncPlugin: vcluster.Plugin{ - Image: constants.UCLUSTER_SYNC_PLUGIN_TAG, + Image: constants.UCLUSTER_SYNC_PLUGIN_TAG, + ImagePullPolicy: "IfNotPresent", Rbac: vcluster.Rbac{ Role: vcluster.RbacRole{ ExtraRules: []vcluster.RbacRule{