Skip to content

Commit

Permalink
fix: mount at different folder
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kotzbauer <[email protected]>
  • Loading branch information
ckotzbauer committed Aug 5, 2023
1 parent 07b4834 commit 0161dc7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions kured-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,12 @@ spec:
fieldRef:
fieldPath: spec.nodeName
volumeMounts:
- mountPath: /var/run
- mountPath: /sentinel
name: sentinel
# This can't be read-only because the service-account-token is mounted within the same directory
# This would cause a crash at startup
readOnly: false
readOnly: true
command:
- /usr/bin/kured
- --reboot-sentinel=/sentinel/reboot-required
# - --force-reboot=false
# - --drain-grace-period=-1
# - --skip-wait-for-delete-timeout=0
Expand All @@ -72,7 +71,6 @@ spec:
# - --prometheus-url=http://prometheus.monitoring.svc.cluster.local
# - --alert-filter-regexp=^RebootRequired$
# - --alert-firing-only=false
# - --reboot-sentinel=/var/run/reboot-required
# - --prefer-no-schedule-taint=""
# - --reboot-sentinel-command=""
# - --slack-hook-url=https://hooks.slack.com/...
Expand Down

0 comments on commit 0161dc7

Please sign in to comment.