Rebase Lighttpd smb volume

This commit is contained in:
2025-07-09 13:09:50 +10:00
parent 1c8c55f3f1
commit 3246f2f5e5
8 changed files with 51 additions and 52 deletions

View File

@ -8,10 +8,11 @@ spec:
namespace: gotify
server: https://kubernetes.default.svc
project: default
source:
path: services/Gotify
repoURL: https://code.spamasaurus.com/djpbessems/Kubernetes.K3s.installLog.git
targetRevision: HEAD
syncPolicy:
automated:
selfHeal: true
automated: {}
syncOptions:
- CreateNamespace=true
sources:
- repoURL: https://code.spamasaurus.com/djpbessems/Kubernetes.K3s.installLog
path: services/Gotify
targetRevision: HEAD

View File

@ -28,4 +28,4 @@ spec:
subDir: gotify/data
nodeStageSecretRef:
name: smb-credentials
namespace: argus
namespace: gotify

View File

@ -8,10 +8,11 @@ spec:
namespace: lighttpd
server: https://kubernetes.default.svc
project: default
source:
path: services/Lighttpd
repoURL: https://code.spamasaurus.com/djpbessems/Kubernetes.K3s.installLog.git
targetRevision: HEAD
syncPolicy:
automated:
selfHeal: true
automated: {}
syncOptions:
- CreateNamespace=true
sources:
- repoURL: https://code.spamasaurus.com/djpbessems/Kubernetes.K3s.installLog
path: services/Lighttpd
targetRevision: HEAD

View File

@ -30,7 +30,7 @@ spec:
subPath: .htpasswd
- name: configmap-lighttpd-vhosts
mountPath: /etc/lighttpd/vhosts.d
- name: flexvolsmb-lighttpd-websites
- name: csismb-lighttpd-websites
mountPath: /var/www/
volumes:
- name: configmap-lighttpd-conf
@ -39,6 +39,6 @@ spec:
- name: configmap-lighttpd-vhosts
configMap:
name: configmap-lighttpd-vhosts
- name: flexvolsmb-lighttpd-websites
- name: csismb-lighttpd-websites
persistentVolumeClaim:
claimName: flexvolsmb-lighttpd-websites
claimName: csismb-lighttpd-websites

View File

@ -0,0 +1,31 @@
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/provisioned-by: smb.csi.k8s.io
name: csismb-lighttpd-websites
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
storageClassName: csismb-lighttpd-websites
mountOptions:
- dir_mode=0777
- file_mode=0777
- nobrl
- cache=none
- mfsymlinks
- noserverino # required to prevent data corruption
csi:
driver: smb.csi.k8s.io
# volumeHandle format: {smb-server-address}#{sub-dir-name}#{share-name}
# make sure this value is unique for every share in the cluster
volumeHandle: 192.168.154.195#lighttpd#websites
volumeAttributes:
source: //192.168.154.195/K3s.Volumes
subDir: lighttpd/websites
nodeStageSecretRef:
name: smb-credentials
namespace: lighttpd

View File

@ -1,18 +0,0 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: flexvolsmb-lighttpd-websites
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-lighttpd-websites
flexVolume:
driver: mount/smb
secretRef:
name: flexvolsmb-credentials
options:
opts: file_mode=0777,dir_mode=0777,iocharset=utf8,nobrl
server: 192.168.154.195
share: /K3s.Volumes/lighttpd/websites

View File

@ -1,12 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: flexvolsmb-lighttpd-websites
name: csismb-lighttpd-websites
namespace: lighttpd
spec:
accessModes:
- ReadWriteMany
storageClassName: flexvolsmb-lighttpd-websites
storageClassName: csismb-lighttpd-websites
resources:
requests:
storage: 1Gi

View File

@ -1,16 +0,0 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: flexvolsmb-credentials
namespace: lighttpd
spec:
encryptedData:
password: AgAc9UFx4rs5SmuntY7dUxf80geDlDc/zn9SaGWu4Z5n9aWJZZWlrAAq081fTeb4jjiR3bjdlKqgwLkKiIgkYlp1nBgfLsLo5rE49c8eo+s0x+0L2gVj9ArqHWD5hw76evnD73AU3zuQGNoHg7x7iUmyCtBk9kLDQTXWsLkSnb0HLB7knOqQjK8C1uC4eTdjQRLmhevQAl/oxiDZ8lf/xkj7GH3o0Gp6DKiGetnKYsaJJGPeImdAQzHMlH7F0ypQGMeyWU9zh4ro8a8G+Sxorj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CIyGvD2uZwN5b/8nKbABweLPRKpRJlM2v4e1N/Y70hxSOIN5iFd7FSG/8QV0U8Jm6ZI7xkoHAAitu8A2U=
template:
metadata:
creationTimestamp: null
name: flexvolsmb-credentials
namespace: lighttpd
type: mount/smb