fix: disable flux var substitution on local-path-provisioner
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
2 files changed
+4
-5
No files matched your search
@@ -33,6 +33,7 @@ spec:
|
||||
nodePathMap:
|
||||
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES
|
||||
paths: ["/var/lib/rancher/k3s/storage"]
|
||||
# Note: Do not enable Flux variable substitution on this HelmRelease
|
||||
configmap:
|
||||
setup: |-
|
||||
#!/bin/sh
|
||||
@@ -50,8 +51,8 @@ spec:
|
||||
;;
|
||||
esac
|
||||
done
|
||||
mkdir -m 0777 -p $${absolutePath}
|
||||
chmod 701 $${absolutePath}/..
|
||||
mkdir -m 0777 -p ${absolutePath}
|
||||
chmod 701 ${absolutePath}/..
|
||||
teardown: |-
|
||||
#!/bin/sh
|
||||
while getopts "m:s:p:" opt
|
||||
@@ -68,4 +69,4 @@ spec:
|
||||
;;
|
||||
esac
|
||||
done
|
||||
rm -rf $${absolutePath}
|
||||
rm -rf ${absolutePath}
|
||||
@@ -4,8 +4,6 @@ kind: Kustomization
|
||||
metadata:
|
||||
name: cluster-apps-local-path-provisioner
|
||||
namespace: flux-system
|
||||
labels:
|
||||
substitution.flux.home.arpa/enabled: "true"
|
||||
spec:
|
||||
path: ./kubernetes/apps/kube-system/local-path-provisioner/app
|
||||
prune: true
|
||||
|
||||
Reference in new issue
Block a user