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:
|
nodePathMap:
|
||||||
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES
|
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES
|
||||||
paths: ["/var/lib/rancher/k3s/storage"]
|
paths: ["/var/lib/rancher/k3s/storage"]
|
||||||
|
# Note: Do not enable Flux variable substitution on this HelmRelease
|
||||||
configmap:
|
configmap:
|
||||||
setup: |-
|
setup: |-
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@@ -50,8 +51,8 @@ spec:
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
mkdir -m 0777 -p $${absolutePath}
|
mkdir -m 0777 -p ${absolutePath}
|
||||||
chmod 701 $${absolutePath}/..
|
chmod 701 ${absolutePath}/..
|
||||||
teardown: |-
|
teardown: |-
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
while getopts "m:s:p:" opt
|
while getopts "m:s:p:" opt
|
||||||
@@ -68,4 +69,4 @@ spec:
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
rm -rf $${absolutePath}
|
rm -rf ${absolutePath}
|
||||||
@@ -4,8 +4,6 @@ kind: Kustomization
|
|||||||
metadata:
|
metadata:
|
||||||
name: cluster-apps-local-path-provisioner
|
name: cluster-apps-local-path-provisioner
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
labels:
|
|
||||||
substitution.flux.home.arpa/enabled: "true"
|
|
||||||
spec:
|
spec:
|
||||||
path: ./kubernetes/apps/kube-system/local-path-provisioner/app
|
path: ./kubernetes/apps/kube-system/local-path-provisioner/app
|
||||||
prune: true
|
prune: true
|
||||||
|
|||||||
Reference in new issue
Block a user