From 7ca68d4bd2df1ff45f96a27de9e49fa7872d8ed7 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Thu, 17 Jul 2025 11:21:46 +1000 Subject: [PATCH] Change smb mount attributes #2 --- .../persistentvolume-csismb-argus-config.yaml | 2 +- .../persistentvolume-csismb-argus-data.yaml | 2 +- ...persistentvolume-csismb-authelia-conf.yaml | 2 +- ...ersistentvolume-csismb-authelia-redis.yaml | 2 +- ...rsistentvolume-csismb-ddclient-config.yaml | 2 +- .../persistentvolume-csismb-gotify-data.yaml | 2 +- ...istentvolume-csismb-ldapwrapper-cache.yaml | 2 +- ...istentvolume-csismb-lighttpd-websites.yaml | 2 +- .../persistentvolume-csismb-memos-data.yaml | 2 +- ...rsistentvolume-csismb-jellyfin-config.yaml | 2 +- ...rsistentvolume-csismb-jellyfin-movies.yaml | 2 +- ...rsistentvolume-csismb-jellyfin-series.yaml | 2 +- ...sistentvolume-csismb-vaultwarden-data.yaml | 2 +- .../application-csi-driver-smb.yaml | 3 --- .../sealedsecret-smb-credentials.yaml | 15 ------------ .../manifests/storageclass-smb-csi.yaml | 23 ------------------- 16 files changed, 13 insertions(+), 54 deletions(-) delete mode 100644 storage/csi-driver-smb/manifests/sealedsecret-smb-credentials.yaml delete mode 100644 storage/csi-driver-smb/manifests/storageclass-smb-csi.yaml diff --git a/services/Argus/persistentvolume-csismb-argus-config.yaml b/services/Argus/persistentvolume-csismb-argus-config.yaml index 582f42f..0297abd 100644 --- a/services/Argus/persistentvolume-csismb-argus-config.yaml +++ b/services/Argus/persistentvolume-csismb-argus-config.yaml @@ -15,7 +15,7 @@ spec: - dir_mode=0777 - file_mode=0777 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/Argus/persistentvolume-csismb-argus-data.yaml b/services/Argus/persistentvolume-csismb-argus-data.yaml index 318fcc8..600b453 100644 --- a/services/Argus/persistentvolume-csismb-argus-data.yaml +++ b/services/Argus/persistentvolume-csismb-argus-data.yaml @@ -15,7 +15,7 @@ spec: - dir_mode=0777 - file_mode=0777 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/Authelia/persistentvolume-csismb-authelia-conf.yaml b/services/Authelia/persistentvolume-csismb-authelia-conf.yaml index 8372d1a..bdb2e8c 100644 --- a/services/Authelia/persistentvolume-csismb-authelia-conf.yaml +++ b/services/Authelia/persistentvolume-csismb-authelia-conf.yaml @@ -15,7 +15,7 @@ spec: - dir_mode=0600 - file_mode=0600 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/Authelia/persistentvolume-csismb-authelia-redis.yaml b/services/Authelia/persistentvolume-csismb-authelia-redis.yaml index 960738f..3794d93 100644 --- a/services/Authelia/persistentvolume-csismb-authelia-redis.yaml +++ b/services/Authelia/persistentvolume-csismb-authelia-redis.yaml @@ -17,7 +17,7 @@ spec: - uid=999 - gid=1000 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/DDclient/persistentvolume-csismb-ddclient-config.yaml b/services/DDclient/persistentvolume-csismb-ddclient-config.yaml index cd1d348..5dded29 100644 --- a/services/DDclient/persistentvolume-csismb-ddclient-config.yaml +++ b/services/DDclient/persistentvolume-csismb-ddclient-config.yaml @@ -15,7 +15,7 @@ spec: - dir_mode=0777 - file_mode=0777 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/Gotify/persistentvolume-csismb-gotify-data.yaml b/services/Gotify/persistentvolume-csismb-gotify-data.yaml index bb0ad73..8c150e4 100644 --- a/services/Gotify/persistentvolume-csismb-gotify-data.yaml +++ b/services/Gotify/persistentvolume-csismb-gotify-data.yaml @@ -15,7 +15,7 @@ spec: - dir_mode=0777 - file_mode=0777 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/LdapWrapper/persistentvolume-csismb-ldapwrapper-cache.yaml b/services/LdapWrapper/persistentvolume-csismb-ldapwrapper-cache.yaml index 1297123..396636a 100644 --- a/services/LdapWrapper/persistentvolume-csismb-ldapwrapper-cache.yaml +++ b/services/LdapWrapper/persistentvolume-csismb-ldapwrapper-cache.yaml @@ -15,7 +15,7 @@ spec: - dir_mode=0777 - file_mode=0777 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/Lighttpd/persistentvolume-csismb-lighttpd-websites.yaml b/services/Lighttpd/persistentvolume-csismb-lighttpd-websites.yaml index e7ff2e2..c679f8e 100644 --- a/services/Lighttpd/persistentvolume-csismb-lighttpd-websites.yaml +++ b/services/Lighttpd/persistentvolume-csismb-lighttpd-websites.yaml @@ -15,7 +15,7 @@ spec: - dir_mode=0777 - file_mode=0777 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/Memos/persistentvolume-csismb-memos-data.yaml b/services/Memos/persistentvolume-csismb-memos-data.yaml index e6de8fe..86fd390 100644 --- a/services/Memos/persistentvolume-csismb-memos-data.yaml +++ b/services/Memos/persistentvolume-csismb-memos-data.yaml @@ -17,7 +17,7 @@ spec: - uid=1001 - gid=1001 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-config.yaml b/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-config.yaml index 9c9129a..869c09c 100644 --- a/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-config.yaml +++ b/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-config.yaml @@ -17,7 +17,7 @@ spec: - uid=911 - gid=911 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-movies.yaml b/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-movies.yaml index d983cb2..25ccb5d 100644 --- a/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-movies.yaml +++ b/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-movies.yaml @@ -17,7 +17,7 @@ spec: - uid=911 - gid=911 # - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-series.yaml b/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-series.yaml index cac0629..4dd7c71 100644 --- a/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-series.yaml +++ b/services/PVR/Jellyfin/manifests/persistentvolume-csismb-jellyfin-series.yaml @@ -17,7 +17,7 @@ spec: - uid=911 - gid=911 # - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/services/Vaultwarden/persistentvolume-csismb-vaultwarden-data.yaml b/services/Vaultwarden/persistentvolume-csismb-vaultwarden-data.yaml index 67eaff0..e0a5123 100644 --- a/services/Vaultwarden/persistentvolume-csismb-vaultwarden-data.yaml +++ b/services/Vaultwarden/persistentvolume-csismb-vaultwarden-data.yaml @@ -15,7 +15,7 @@ spec: - dir_mode=0777 - file_mode=0777 - nobrl - - cache=none + - cache=strict - mfsymlinks - noserverino # required to prevent data corruption csi: diff --git a/storage/csi-driver-smb/application-csi-driver-smb.yaml b/storage/csi-driver-smb/application-csi-driver-smb.yaml index ab14d8c..9603e1e 100644 --- a/storage/csi-driver-smb/application-csi-driver-smb.yaml +++ b/storage/csi-driver-smb/application-csi-driver-smb.yaml @@ -11,9 +11,6 @@ spec: syncPolicy: automated: {} sources: - # - repoURL: https://code.spamasaurus.com/djpbessems/Kubernetes.K3s.installLog - # path: storage/csi-driver-smb/manifests - # targetRevision: HEAD - repoURL: https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/charts chart: csi-driver-smb targetRevision: v1.18.0 diff --git a/storage/csi-driver-smb/manifests/sealedsecret-smb-credentials.yaml b/storage/csi-driver-smb/manifests/sealedsecret-smb-credentials.yaml deleted file mode 100644 index 98efced..0000000 --- a/storage/csi-driver-smb/manifests/sealedsecret-smb-credentials.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: bitnami.com/v1alpha1 -kind: SealedSecret -metadata: - name: smb-credentials - namespace: default -spec: - encryptedData: - password: AgCkOReg8deCpkzUQj+J6XjMKcHUXwzg5AM2Y68CrC1gNgWSWhVKONX5UruNemJ773ZmgRDdDbIwQUBanLUByMbo4y3/kVnwgJCOADD+ERo30ysbdei+SNIIgg55J8R8nU/H31GFWYdq8Ck3FPNvBXo9uMHyUzqopZm8iOV2YVNA0kx9J1uArpzzc1bx3ZA2sV1Rcg9FtLvPErd7WEn5xdosC2Jtxl8NpMFEU32CiKJVM0h4GjmT5uyEOEYeVBURqRB73QfwS7rIRGGCfV8Px6ByF+ADZQ++0Vdla+kWLfsbTW6qcnDv6rqTc8MtXCfYDC3eWKnNvVgI7aNyyWNntQ1qlgW4o3kBNJm33HEU8lxWtgbt8L+g6l/x/ECRsb2EDJWa15VkEJr2WyghkM9WrgL+C0sVwxjOSPcbiZyk2VLfKL02NN4sJ8GQxVW1AvE6MM+YrPD/9o6YaQkOjI6IbZThpDnGGM3n+VQvUB3mSBR1cC9DNjssbzZOJiMm11OfW3Pfw2blyCzO8swM0RN+pO1+8/63uFh6y3hzYuW/6XkHY1bp2EqBRvpaCsjiJfLg+zhPGKz0Lv7L6GzCaXolxWGrdkTiPVpTKvQl1rW5HhWEYz5W+djRZTSX0Kimu3sawI0riPvJyD+6ANHGvHnW8ioONuv3/TXuCs5As2f9V8PikR8jeEGr5YJQOwnXTXaVd/5Yg7ulVXltLnFZ2fa3jYkW - username: AgAUu6XbTsHoS33fRV9N31CxHildp0XrnrDkT3UuJQKIx8c/GmUy6LZK1/yWD4hwco0DY6BmDMUUXdJQQDE5aYLBADRq5EobwlyuBgHP2pAhncV750e+u0VhWsCg0AREjLJA4P9xN61Qpbw7w1Yfi6OBjFhzKw4e0YyG3D7EoA2Q9+0dQrkPf3ooLJBx6SE/NuVs7uTuKWi2hC+kuKp3WhgrTU9IG+r1UFOO2jPR9ZFtsHaIArDzgbYZ03dFAXuTFjFLLx519/vCMXKKOglUsTzzaZUb798u3zG1xic+nZIvt6OmjyB86QZ+mjRAElVRINZRUJEMPbWkP2frbN1caQnPvX28LGcRiP0wFM+tgJG/3tAu9T1kaYnLFx+g8wex/kYqI0xktFJb2aisEb32Dhr4S883gpvvEouxuY/Y1g0ZuKxuS7tL8SE3i8x6GBFGaqLx+Wp60G2LsHDDn1PRqZ/GRlPci6QnAwScMPRuHbZOkyQem5w7n5t+LkoYq/gQ/hI+kiyEJOT7XqgR0iCsGGqsLQrVuP1M4XaZQEMlXl8q/iw4N7B28XMDAvWKF02jPM1XsCXMi5ins20KjzHwriMZA0CR7LWyBQsp88phQ/JNqTkEYa+AMdL2zVrhKYao7GvbYs15i3dcuZR08Lof2QIkeLe96DVKb3z6cqqRkbCxlErmD2M8BKhS3TXcNRhSgMReFUqTUAU= - template: - metadata: - creationTimestamp: null - name: smb-credentials - namespace: default - type: Opaque diff --git a/storage/csi-driver-smb/manifests/storageclass-smb-csi.yaml b/storage/csi-driver-smb/manifests/storageclass-smb-csi.yaml deleted file mode 100644 index 98f4e36..0000000 --- a/storage/csi-driver-smb/manifests/storageclass-smb-csi.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: StorageClass -metadata: - name: smb-csi -mountOptions: -- dir_mode=0777 -- file_mode=0777 -- uid=1001 -- gid=1001 -- nobrl -- noperm -- mfsymlinks -- cache=strict -- noserverino -parameters: - csi.storage.k8s.io/node-stage-secret-name: smb-credentials - csi.storage.k8s.io/node-stage-secret-namespace: default - csi.storage.k8s.io/provisioner-secret-name: smb-credentials - csi.storage.k8s.io/provisioner-secret-namespace: default - source: //192.168.154.195/K3s.StorageClass/smb-csi -provisioner: smb.csi.k8s.io -reclaimPolicy: Retain -volumeBindingMode: Immediate