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:
3 files changed
+19
-1
No files matched your search
@@ -68,6 +68,16 @@
|
||||
},
|
||||
"separateMinorPatch": true
|
||||
},
|
||||
{
|
||||
"description": "Local Path Provisioner Group",
|
||||
"groupName": "Local Path Provisioner",
|
||||
"matchPackagePatterns": ["local-path-provisioner"],
|
||||
"matchDatasources": ["docker", "github-tags"],
|
||||
"group": {
|
||||
"commitMessageTopic": "{{{groupName}}} group"
|
||||
},
|
||||
"separateMinorPatch": true
|
||||
},
|
||||
{
|
||||
"description": "System Upgrade Controller Group",
|
||||
"groupName": "System Upgrade Controller",
|
||||
|
||||
+4
-1
@@ -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: |-
|
||||
|
||||
@@ -56,6 +56,11 @@ bootstrap_cluster_cidr: 10.42.0.0/16
|
||||
# (Advanced) For ipv6 use format 10.43.0.0/16,fd78:c889:47fb:e0::/112
|
||||
bootstrap_service_cidr: 10.43.0.0/16
|
||||
|
||||
# (Advanced) Path for local-path-provisioner to use for storage on ALL nodes
|
||||
# If changing this value to anything other than the default
|
||||
# make sure the path exists and is owned by root:root with 701 permissions
|
||||
bootstrap_local_path_provisioner_path: /var/lib/rancher/k3s/storage
|
||||
|
||||
# Node information
|
||||
bootstrap_nodes:
|
||||
# Use only 1, 3 or more odd master nodes, recommended is 3
|
||||
|
||||
Reference in new issue
Block a user