|
|
|
|
@@ -146,3 +146,515 @@ spec:
|
|
|
|
|
- name: ingest
|
|
|
|
|
persistentVolumeClaim:
|
|
|
|
|
claimName: shelfmark-import-nfs-storage
|
|
|
|
|
---
|
|
|
|
|
apiVersion: external-secrets.io/v1
|
|
|
|
|
kind: ExternalSecret
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-backup-secret-external
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
helm.sh/chart: volsync-target-config-0.8.0
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
app.kubernetes.io/version: "0.8.0"
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelfmark-backup-secret-external
|
|
|
|
|
spec:
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
|
name: vault
|
|
|
|
|
target:
|
|
|
|
|
template:
|
|
|
|
|
mergePolicy: Merge
|
|
|
|
|
engineVersion: v2
|
|
|
|
|
data:
|
|
|
|
|
RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/shelfmark/shelfmark"
|
|
|
|
|
data:
|
|
|
|
|
- secretKey: BUCKET_ENDPOINT
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /volsync/restic/digital-ocean
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: BUCKET_ENDPOINT
|
|
|
|
|
- secretKey: RESTIC_PASSWORD
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /volsync/restic/digital-ocean
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: RESTIC_PASSWORD
|
|
|
|
|
- secretKey: AWS_DEFAULT_REGION
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /digital-ocean/home-infra/volsync-backups
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: AWS_DEFAULT_REGION
|
|
|
|
|
- secretKey: AWS_ACCESS_KEY_ID
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /digital-ocean/home-infra/volsync-backups
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: AWS_ACCESS_KEY_ID
|
|
|
|
|
- secretKey: AWS_SECRET_ACCESS_KEY
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /digital-ocean/home-infra/volsync-backups
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: AWS_SECRET_ACCESS_KEY
|
|
|
|
|
---
|
|
|
|
|
apiVersion: external-secrets.io/v1
|
|
|
|
|
kind: ExternalSecret
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-backup-secret-local
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
helm.sh/chart: volsync-target-config-0.8.0
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
app.kubernetes.io/version: "0.8.0"
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelfmark-backup-secret-local
|
|
|
|
|
spec:
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
|
name: vault
|
|
|
|
|
target:
|
|
|
|
|
template:
|
|
|
|
|
mergePolicy: Merge
|
|
|
|
|
engineVersion: v2
|
|
|
|
|
data:
|
|
|
|
|
RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/shelfmark/shelfmark"
|
|
|
|
|
data:
|
|
|
|
|
- secretKey: BUCKET_ENDPOINT
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /volsync/restic/garage-local
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: BUCKET_ENDPOINT
|
|
|
|
|
- secretKey: RESTIC_PASSWORD
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /volsync/restic/garage-local
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: RESTIC_PASSWORD
|
|
|
|
|
- secretKey: AWS_DEFAULT_REGION
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /garage/home-infra/volsync-backups
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: ACCESS_REGION
|
|
|
|
|
- secretKey: AWS_ACCESS_KEY_ID
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /garage/home-infra/volsync-backups
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: ACCESS_KEY_ID
|
|
|
|
|
- secretKey: AWS_SECRET_ACCESS_KEY
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /garage/home-infra/volsync-backups
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: ACCESS_SECRET_KEY
|
|
|
|
|
---
|
|
|
|
|
apiVersion: external-secrets.io/v1
|
|
|
|
|
kind: ExternalSecret
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-backup-secret-remote
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
helm.sh/chart: volsync-target-config-0.8.0
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
app.kubernetes.io/version: "0.8.0"
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelfmark-backup-secret-remote
|
|
|
|
|
spec:
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
|
name: vault
|
|
|
|
|
target:
|
|
|
|
|
template:
|
|
|
|
|
mergePolicy: Merge
|
|
|
|
|
engineVersion: v2
|
|
|
|
|
data:
|
|
|
|
|
RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/shelfmark/shelfmark"
|
|
|
|
|
data:
|
|
|
|
|
- secretKey: BUCKET_ENDPOINT
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /volsync/restic/garage-remote
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: BUCKET_ENDPOINT
|
|
|
|
|
- secretKey: RESTIC_PASSWORD
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /volsync/restic/garage-remote
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: RESTIC_PASSWORD
|
|
|
|
|
- secretKey: AWS_DEFAULT_REGION
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /garage/home-infra/volsync-backups
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: ACCESS_REGION
|
|
|
|
|
- secretKey: AWS_ACCESS_KEY_ID
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /garage/home-infra/volsync-backups
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: ACCESS_KEY_ID
|
|
|
|
|
- secretKey: AWS_SECRET_ACCESS_KEY
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /garage/home-infra/volsync-backups
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: ACCESS_SECRET_KEY
|
|
|
|
|
---
|
|
|
|
|
apiVersion: external-secrets.io/v1
|
|
|
|
|
kind: ExternalSecret
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-config-secret
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/name: shelfmark-config-secret
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
spec:
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
|
name: vault
|
|
|
|
|
data:
|
|
|
|
|
- secretKey: booklore-user
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /cl01tl/shelfmark/booklore
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: user
|
|
|
|
|
- secretKey: booklore-password
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /cl01tl/shelfmark/booklore
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: password
|
|
|
|
|
- secretKey: prowlarr-key
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /cl01tl/prowlarr/key
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: key
|
|
|
|
|
---
|
|
|
|
|
apiVersion: gateway.networking.k8s.io/v1alpha2
|
|
|
|
|
kind: HTTPRoute
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelfmark
|
|
|
|
|
helm.sh/chart: shelfmark-4.6.2
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
spec:
|
|
|
|
|
parentRefs:
|
|
|
|
|
- group: gateway.networking.k8s.io
|
|
|
|
|
kind: Gateway
|
|
|
|
|
name: traefik-gateway
|
|
|
|
|
namespace: traefik
|
|
|
|
|
hostnames:
|
|
|
|
|
- "shelfmark.alexlebens.net"
|
|
|
|
|
rules:
|
|
|
|
|
- backendRefs:
|
|
|
|
|
- group: ""
|
|
|
|
|
kind: Service
|
|
|
|
|
name: shelfmark
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
port: 80
|
|
|
|
|
weight: 100
|
|
|
|
|
matches:
|
|
|
|
|
- path:
|
|
|
|
|
type: PathPrefix
|
|
|
|
|
value: /
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: PersistentVolume
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-audiobooks-nfs-storage
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/name: shelfmark-audiobooks-nfs-storage
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
spec:
|
|
|
|
|
persistentVolumeReclaimPolicy: Retain
|
|
|
|
|
storageClassName: nfs-client
|
|
|
|
|
capacity:
|
|
|
|
|
storage: 1Gi
|
|
|
|
|
accessModes:
|
|
|
|
|
- ReadWriteMany
|
|
|
|
|
nfs:
|
|
|
|
|
path: /volume2/Storage/Audiobooks
|
|
|
|
|
server: synologybond.alexlebens.net
|
|
|
|
|
mountOptions:
|
|
|
|
|
- vers=4
|
|
|
|
|
- minorversion=1
|
|
|
|
|
- noac
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: PersistentVolume
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-downloads-nfs-storage
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/name: shelfmark-downloads-nfs-storage
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
spec:
|
|
|
|
|
persistentVolumeReclaimPolicy: Retain
|
|
|
|
|
storageClassName: nfs-client
|
|
|
|
|
capacity:
|
|
|
|
|
storage: 1Gi
|
|
|
|
|
accessModes:
|
|
|
|
|
- ReadWriteMany
|
|
|
|
|
nfs:
|
|
|
|
|
path: /volume2/Storage/Torrent
|
|
|
|
|
server: synologybond.alexlebens.net
|
|
|
|
|
mountOptions:
|
|
|
|
|
- vers=4
|
|
|
|
|
- minorversion=1
|
|
|
|
|
- noac
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: PersistentVolume
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-import-nfs-storage
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/name: shelfmark-import-nfs-storage
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
spec:
|
|
|
|
|
persistentVolumeReclaimPolicy: Retain
|
|
|
|
|
storageClassName: nfs-client
|
|
|
|
|
capacity:
|
|
|
|
|
storage: 1Gi
|
|
|
|
|
accessModes:
|
|
|
|
|
- ReadWriteMany
|
|
|
|
|
nfs:
|
|
|
|
|
path: /volume2/Storage/Books Import
|
|
|
|
|
server: synologybond.alexlebens.net
|
|
|
|
|
mountOptions:
|
|
|
|
|
- vers=4
|
|
|
|
|
- minorversion=1
|
|
|
|
|
- noac
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-audiobooks-nfs-storage
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/name: shelfmark-audiobooks-nfs-storage
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
spec:
|
|
|
|
|
volumeName: shelfmark-audiobooks-nfs-storage
|
|
|
|
|
storageClassName: nfs-client
|
|
|
|
|
accessModes:
|
|
|
|
|
- ReadWriteMany
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
storage: 1Gi
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-downloads-nfs-storage
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/name: shelfmark-downloads-nfs-storage
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
spec:
|
|
|
|
|
volumeName: shelfmark-downloads-nfs-storage
|
|
|
|
|
storageClassName: nfs-client
|
|
|
|
|
accessModes:
|
|
|
|
|
- ReadWriteMany
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
storage: 1Gi
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-import-nfs-storage
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/name: shelfmark-import-nfs-storage
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
spec:
|
|
|
|
|
volumeName: shelfmark-import-nfs-storage
|
|
|
|
|
storageClassName: nfs-client
|
|
|
|
|
accessModes:
|
|
|
|
|
- ReadWriteMany
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
storage: 1Gi
|
|
|
|
|
---
|
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelfmark
|
|
|
|
|
helm.sh/chart: shelfmark-4.6.2
|
|
|
|
|
annotations:
|
|
|
|
|
helm.sh/resource-policy: keep
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
spec:
|
|
|
|
|
accessModes:
|
|
|
|
|
- "ReadWriteOnce"
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
storage: "1Gi"
|
|
|
|
|
storageClassName: "ceph-block"
|
|
|
|
|
---
|
|
|
|
|
apiVersion: volsync.backube/v1alpha1
|
|
|
|
|
kind: ReplicationSource
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-backup-source-external
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
helm.sh/chart: volsync-target-config-0.8.0
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
app.kubernetes.io/version: "0.8.0"
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelfmark-backup
|
|
|
|
|
spec:
|
|
|
|
|
sourcePVC: shelfmark
|
|
|
|
|
trigger:
|
|
|
|
|
schedule: 20 13 * * *
|
|
|
|
|
restic:
|
|
|
|
|
pruneIntervalDays: 7
|
|
|
|
|
repository: shelfmark-backup-secret-external
|
|
|
|
|
retain:
|
|
|
|
|
daily: 7
|
|
|
|
|
hourly: 0
|
|
|
|
|
monthly: 3
|
|
|
|
|
weekly: 4
|
|
|
|
|
yearly: 1
|
|
|
|
|
moverSecurityContext:
|
|
|
|
|
runAsGroup: 1000
|
|
|
|
|
runAsUser: 1000
|
|
|
|
|
copyMethod: Snapshot
|
|
|
|
|
storageClassName: ceph-block
|
|
|
|
|
volumeSnapshotClassName: ceph-blockpool-snapshot
|
|
|
|
|
cacheCapacity: 1Gi
|
|
|
|
|
---
|
|
|
|
|
apiVersion: volsync.backube/v1alpha1
|
|
|
|
|
kind: ReplicationSource
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-backup-source-local
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
helm.sh/chart: volsync-target-config-0.8.0
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
app.kubernetes.io/version: "0.8.0"
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelfmark-backup
|
|
|
|
|
spec:
|
|
|
|
|
sourcePVC: shelfmark
|
|
|
|
|
trigger:
|
|
|
|
|
schedule: 20 11 * * *
|
|
|
|
|
restic:
|
|
|
|
|
pruneIntervalDays: 7
|
|
|
|
|
repository: shelfmark-backup-secret-local
|
|
|
|
|
retain:
|
|
|
|
|
daily: 7
|
|
|
|
|
hourly: 0
|
|
|
|
|
monthly: 3
|
|
|
|
|
weekly: 4
|
|
|
|
|
yearly: 1
|
|
|
|
|
moverSecurityContext:
|
|
|
|
|
runAsGroup: 1000
|
|
|
|
|
runAsUser: 1000
|
|
|
|
|
copyMethod: Snapshot
|
|
|
|
|
storageClassName: ceph-block
|
|
|
|
|
volumeSnapshotClassName: ceph-blockpool-snapshot
|
|
|
|
|
cacheCapacity: 1Gi
|
|
|
|
|
---
|
|
|
|
|
apiVersion: volsync.backube/v1alpha1
|
|
|
|
|
kind: ReplicationSource
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark-backup-source-remote
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
helm.sh/chart: volsync-target-config-0.8.0
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/part-of: shelfmark
|
|
|
|
|
app.kubernetes.io/version: "0.8.0"
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelfmark-backup
|
|
|
|
|
spec:
|
|
|
|
|
sourcePVC: shelfmark
|
|
|
|
|
trigger:
|
|
|
|
|
schedule: 20 12 * * *
|
|
|
|
|
restic:
|
|
|
|
|
pruneIntervalDays: 7
|
|
|
|
|
repository: shelfmark-backup-secret-remote
|
|
|
|
|
retain:
|
|
|
|
|
daily: 7
|
|
|
|
|
hourly: 0
|
|
|
|
|
monthly: 3
|
|
|
|
|
weekly: 4
|
|
|
|
|
yearly: 1
|
|
|
|
|
moverSecurityContext:
|
|
|
|
|
runAsGroup: 1000
|
|
|
|
|
runAsUser: 1000
|
|
|
|
|
copyMethod: Snapshot
|
|
|
|
|
storageClassName: ceph-block
|
|
|
|
|
volumeSnapshotClassName: ceph-blockpool-snapshot
|
|
|
|
|
cacheCapacity: 1Gi
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: Service
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelfmark
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelfmark
|
|
|
|
|
app.kubernetes.io/service: shelfmark
|
|
|
|
|
helm.sh/chart: shelfmark-4.6.2
|
|
|
|
|
namespace: shelfmark
|
|
|
|
|
spec:
|
|
|
|
|
type: ClusterIP
|
|
|
|
|
ports:
|
|
|
|
|
- port: 80
|
|
|
|
|
targetPort: 8084
|
|
|
|
|
protocol: TCP
|
|
|
|
|
name: http
|
|
|
|
|
selector:
|
|
|
|
|
app.kubernetes.io/controller: main
|
|
|
|
|
app.kubernetes.io/instance: shelfmark
|
|
|
|
|
app.kubernetes.io/name: shelfmark
|
|
|
|
|
|