node-io: fix guard script path so the writeback limits are actually applied
This commit is contained in:
parent
c773a3e2a9
commit
f38f9433b9
1 changed files with 4 additions and 1 deletions
|
|
@ -28,7 +28,10 @@ spec:
|
||||||
- name: guard
|
- name: guard
|
||||||
image: busybox:1.36
|
image: busybox:1.36
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: ["/bin/sh", "/opt/guard/guard.sh"]
|
# ConfigMap keys are the source filenames, so the mounted path is
|
||||||
|
# /opt/guard/guard-script.sh (NOT guard.sh - that typo kept the
|
||||||
|
# guard in CrashLoopBackOff and the limits unapplied).
|
||||||
|
command: ["/bin/sh", "/opt/guard/guard-script.sh"]
|
||||||
env:
|
env:
|
||||||
- name: DIRTY_BYTES
|
- name: DIRTY_BYTES
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue