k8s/manifests/photos.yaml

120 lines
2.9 KiB
YAML

---
apiVersion: v1
kind: ServiceAccount
metadata:
namespace: immich
name: immich
---
apiVersion: v1
kind: Secret
type: kubernetes.io/service-account-token
metadata:
name: serviceaccounttoken
namespace: immich
annotations:
kubernetes.io/service-account.name: "immich"
---
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
longhorn.io/volume-scheduling-error: ""
pv.kubernetes.io/provisioned-by: driver.longhorn.io
volume.kubernetes.io/provisioner-deletion-secret-name: longhorn-encryption
volume.kubernetes.io/provisioner-deletion-secret-namespace: longhorn-system
name: pvc-081a3c56-4cf6-4c96-a42d-064710b7ea63
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 50Gi
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: immich
namespace: immich
csi:
driver: driver.longhorn.io
fsType: ext4
nodePublishSecretRef:
name: longhorn-encryption
namespace: longhorn-system
nodeStageSecretRef:
name: longhorn-encryption
namespace: longhorn-system
volumeAttributes:
encrypted: "true"
fromBackup: ""
fsType: ext4
numberOfReplicas: "3"
staleReplicaTimeout: "120"
volumeHandle: pvc-081a3c56-4cf6-4c96-a42d-064710b7ea63
persistentVolumeReclaimPolicy: Retain
storageClassName: longhorn-encrypted-retain
volumeMode: Filesystem
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: immich
namespace: immich
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn-encrypted-retain
resources:
requests:
storage: 50Gi
---
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
longhorn.io/volume-scheduling-error: ""
pv.kubernetes.io/provisioned-by: driver.longhorn.io
volume.kubernetes.io/provisioner-deletion-secret-name: longhorn-encryption
volume.kubernetes.io/provisioner-deletion-secret-namespace: longhorn-system
name: pvc-adf503ec-33cf-4d98-a640-4618817affca
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 8Gi
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: redis-data-immich-redis-master-0
namespace: immich
csi:
driver: driver.longhorn.io
fsType: ext4
nodePublishSecretRef:
name: longhorn-encryption
namespace: longhorn-system
nodeStageSecretRef:
name: longhorn-encryption
namespace: longhorn-system
volumeAttributes:
encrypted: "true"
fromBackup: ""
fsType: ext4
numberOfReplicas: "3"
staleReplicaTimeout: "120"
volumeHandle: pvc-adf503ec-33cf-4d98-a640-4618817affca
persistentVolumeReclaimPolicy: Retain
storageClassName: longhorn-encrypted-retain
volumeMode: Filesystem
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: redis-data-immich-redis-master-0
namespace: immich
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn-encrypted-retain
resources:
requests:
storage: 8Gi
---