mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
don't expand $(ls -A /scrub) in PV_RECYCLER_TEMPLATE
Before we write the template.
This commit is contained in:
parent
f3bf7e1ced
commit
384e9cec1b
@ -3034,7 +3034,7 @@ function override-pv-recycler {
|
||||
PV_RECYCLER_VOLUME="{\"name\": \"pv-recycler-mount\",\"hostPath\": {\"path\": \"${PV_RECYCLER_OVERRIDE_TEMPLATE}\", \"type\": \"FileOrCreate\"}},"
|
||||
PV_RECYCLER_MOUNT="{\"name\": \"pv-recycler-mount\",\"mountPath\": \"${PV_RECYCLER_OVERRIDE_TEMPLATE}\", \"readOnly\": true},"
|
||||
|
||||
cat > "${PV_RECYCLER_OVERRIDE_TEMPLATE}" <<EOF
|
||||
cat > "${PV_RECYCLER_OVERRIDE_TEMPLATE}" <<\EOF
|
||||
version: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
|
Loading…
Reference in New Issue
Block a user