feat: allow overriding the default local-path-provisioner path for PVC data

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-12-07 18:06:15 -05:00
1 parent 90eff07152
commit 311863e017
3 files changed
+19 -1

No files matched your search

@@ -23,6 +23,9 @@ spec:
uninstall:
keepHistory: false
values:
image:
repository: docker.io/rancher/local-path-provisioner
tag: v0.0.26
helperImage:
repository: public.ecr.aws/docker/library/busybox
tag: latest
@@ -30,7 +33,7 @@ spec:
defaultClass: false
nodePathMap:
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES
paths: ["/var/lib/rancher/k3s/storage"]
paths: ["{{ bootstrap_local_path_provisioner_path | default('/var/lib/rancher/k3s/storage', true) }}"]
# NOTE: Do not enable Flux variable substitution on this HelmRelease
configmap:
setup: |-