From 6b09a3b0385b76574be94fe99016c2ffe41d3800 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 18 Jun 2024 16:33:46 -0500 Subject: [PATCH] Trying out more mounts. --- .../zfs-scrub/app/helmrelease.yaml | 45 +++++++++++++++---- 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/kubernetes/apps/kube-system/zfs-scrub/app/helmrelease.yaml b/kubernetes/apps/kube-system/zfs-scrub/app/helmrelease.yaml index 6c303e08..e7c12d74 100644 --- a/kubernetes/apps/kube-system/zfs-scrub/app/helmrelease.yaml +++ b/kubernetes/apps/kube-system/zfs-scrub/app/helmrelease.yaml @@ -69,17 +69,46 @@ spec: - path: /app/zfs-scrub.sh subPath: zfs-scrub.sh readOnly: true - procfs: - type: hostPath - hostPath: /proc - hostPathType: Directory - globalMounts: - - path: /host/proc - readOnly: true netfs: type: hostPath hostPath: /sys hostPathType: Directory globalMounts: - - path: /host/net + - path: /sys readOnly: true + dev: + type: hostPath + hostPath: /dev + hostPathType: Directory + globalMounts: + - path: /dev + modules: + type: hostPath + hostPath: /lib/modules + hostPathType: "" + globalMounts: + - path: /lib/modules + udev: + type: hostPath + hostPath: /run/udev + hostPathType: "" + globalMounts: + - path: /run/udev + localtime: + type: hostPath + hostPath: /etc/localtime + hostPathType: "" + globalMounts: + - path: /etc/localtime + host: + type: hostPath + hostPath: / + hostPathType: Directory + globalMounts: + - path: /host + efivars: + type: hostPath + hostPath: /sys/firmware/efi/efivars + hostPathType: "" + globalMounts: + - path: /sys/firmware/efi/efivars