kubernetes/apps/kopiur-system/kopiur/repository/clusterrepository.yaml
1
---
2
# yaml-language-server: $schema=https://k8s-schemas.home-operations.com/kopiur.home-operations.com/clusterrepository_v1alpha1.json
3
apiVersion: kopiur.home-operations.com/v1alpha1
4
kind: ClusterRepository
5
metadata:
6
name: nas
7
spec:
8
allowedNamespaces:
9
all: true
10
backend:
11
filesystem:
12
path: /repo
13
volume:
14
nfs:
15
server: bigmouth.internal
16
path: /mnt/Vault/Kopiur
17
encryption:
18
passwordSecretRef:
19
name: kopiur-nas-secret
20
namespace: kopiur-system
21
key: KOPIA_PASSWORD
22
maintenance:
23
schedule:
24
quick:
25
cron: H */6 * * *
26
full:
27
cron: H 5 * * *
28
takeoverPolicy: Force
29
parameters:
30
epoch:
31
minDuration: 6h
32
moverDefaults:
33
cache:
34
capacity: 10Gi
35
mode: Ephemeral
36
storageClassName: miroir-fast-local
37
podSecurityContext:
38
fsGroup: 1000
39
fsGroupChangePolicy: OnRootMismatch
40
scratch:
41
capacity: 60Gi
42
storageClassName: miroir-fast-local
43
securityContext:
44
runAsUser: 1000
45
runAsGroup: 1000
46
ttlSecondsAfterFinished: 300
47
scheduleDefaults:
48
timezone: Europe/Warsaw