Skip to content

Commit

Permalink
[controller] Add dm_snapshot loading (#119)
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
  • Loading branch information
AleksZimin authored Jan 22, 2025
1 parent c1a8b09 commit fa61164
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/agent/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ spec:
- -p
- --
- modprobe
- -a
- dm_thin_pool
{{- if (.Values.global.enabledModules | has "snapshot-controller") }}
- dm_snapshot
{{- end }}
# Privileged mode is required to use nsenter and access the host's mount namespace.
# This is necessary to run modprobe and load the dm_thin_pool kernel module on the host.
securityContext:
Expand Down

0 comments on commit fa61164

Please sign in to comment.