diff --git a/services/Guacamole/persistentvolume-csismb-guacamole-db.yaml b/services/Guacamole/persistentvolume-csismb-guacamole-db.yaml new file mode 100644 index 0000000..f2ec4f4 --- /dev/null +++ b/services/Guacamole/persistentvolume-csismb-guacamole-db.yaml @@ -0,0 +1,33 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + annotations: + pv.kubernetes.io/provisioned-by: smb.csi.k8s.io + name: csismb-guacamole-db +spec: + capacity: + storage: 1Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + storageClassName: csismb-guacamole-db + mountOptions: + - dir_mode=0777 + - file_mode=0777 + - uid=70 + - gid=70 + - nobrl + - cache=strict + - 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#guacamole#db + volumeAttributes: + source: //192.168.154.195/K3s.Volumes + subDir: guacamole/db + nodeStageSecretRef: + name: smb-credentials + namespace: guacamole diff --git a/services/Guacamole/persistentvolume-csismb-guacamole-home.yaml b/services/Guacamole/persistentvolume-csismb-guacamole-home.yaml new file mode 100644 index 0000000..4fe7c43 --- /dev/null +++ b/services/Guacamole/persistentvolume-csismb-guacamole-home.yaml @@ -0,0 +1,31 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + annotations: + pv.kubernetes.io/provisioned-by: smb.csi.k8s.io + name: csismb-guacamole-home +spec: + capacity: + storage: 1Gi + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + storageClassName: csismb-guacamole-home + mountOptions: + - dir_mode=0777 + - file_mode=0777 + - nobrl + - cache=strict + - 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#guacamole#home + volumeAttributes: + source: //192.168.154.195/K3s.Volumes + subDir: guacamole/home + nodeStageSecretRef: + name: smb-credentials + namespace: guacamole diff --git a/services/Guacamole/persistentvolumeclaim-csismb-guacamole-db.yaml b/services/Guacamole/persistentvolumeclaim-csismb-guacamole-db.yaml new file mode 100644 index 0000000..b26d9a9 --- /dev/null +++ b/services/Guacamole/persistentvolumeclaim-csismb-guacamole-db.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: csismb-guacamole-db + namespace: guacamole +spec: + accessModes: + - ReadWriteMany + storageClassName: csismb-guacamole-db + resources: + requests: + storage: 1Gi diff --git a/services/Guacamole/persistentvolumeclaim-csismb-guacamole-home.yaml b/services/Guacamole/persistentvolumeclaim-csismb-guacamole-home.yaml new file mode 100644 index 0000000..0b4440c --- /dev/null +++ b/services/Guacamole/persistentvolumeclaim-csismb-guacamole-home.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: csismb-guacamole-home + namespace: guacamole +spec: + accessModes: + - ReadWriteMany + storageClassName: csismb-guacamole-home + resources: + requests: + storage: 1Gi diff --git a/services/Guacamole/sealedsecret-smb-credentials.yaml b/services/Guacamole/sealedsecret-smb-credentials.yaml new file mode 100644 index 0000000..6175a74 --- /dev/null +++ b/services/Guacamole/sealedsecret-smb-credentials.yaml @@ -0,0 +1,16 @@ +apiVersion: bitnami.com/v1alpha1 +kind: SealedSecret +metadata: + creationTimestamp: null + name: smb-credentials + namespace: guacamole +spec: + encryptedData: + password: AgBs08sIFvUZdSmpszzpWZB68ByIU+K3h9atIvo3Zq4f44LIQwDEi4r4W58fUCIOzt1bW3aWJua5gWm0iK9KoCpRoqPo9mJkjS+HRBC3I8ukAmLitGYs8t3HiuwSAdzYdqPch6BbQySMiyEB7JymczjtnFeR5DdxFJBwN3rC6ai2GFh2HfJl93Va8tEd7F6Zg3ZzRYlKxPOO/bJaE6FqS+W9Lo042h5lmGEh8NpOBL23D1MJ43bGutshZp4jWVoygTYpw9N62FoBX439I7aquxVLRyE97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ttl84cImtXRQea+qW7tQ/Akk1ZvIhQxs9haPtMMKBt/nwQRHLJuKf+F/EAWOanx7/yBYGHQtx1wo5ru4AmR5OLJwQhY= + template: + metadata: + creationTimestamp: null + name: smb-credentials + namespace: guacamole + type: Opaque