Skip to content

Commit

Permalink
bug: etcd persistence not needed with sqlite as default
Browse files Browse the repository at this point in the history
  • Loading branch information
waveywaves committed Feb 8, 2024
1 parent b688476 commit 8f768ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions controllers/helm/build/vcluster/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Check warning on line 30 in controllers/helm/build/vcluster/build.go

View check run for this annotation

Codecov / codecov/patch

controllers/helm/build/vcluster/build.go#L13-L30

Added lines #L13 - L30 were not covered by tests

Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 8f768ba

Please sign in to comment.