-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
- Loading branch information
Showing
10 changed files
with
1,513 additions
and
1,497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
charts/myprecious/templates/pvs/pv-rclone-b2-mediacovers.yaml
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
charts/myprecious/templates/replicationdestinations/replicationdestination-symlinks.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apiVersion: volsync.backube/v1alpha1 | ||
kind: ReplicationDestination | ||
metadata: | ||
name: rd-symlinks | ||
spec: | ||
trigger: | ||
manual: runonce | ||
restic: | ||
repository: symlinks-volsync-restic-config | ||
copyMethod: Snapshot | ||
moverAffinity: | ||
podAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
- labelSelector: | ||
matchExpressions: | ||
- key: app.kubernetes.io/name | ||
operator: In | ||
values: | ||
- gatus | ||
topologyKey: "kubernetes.io/hostname" | ||
cacheCapacity: 5Gi | ||
capacity: 5Gi | ||
cacheStorageClassName: topolvm-provisioner-thin | ||
accessModes: | ||
- ReadWriteOnce | ||
storageClassName: topolvm-provisioner-thin | ||
cacheAccessModes: | ||
- ReadWriteOnce | ||
volumeSnapshotClassName: topolvm-provisioner-thin |
41 changes: 41 additions & 0 deletions
41
charts/myprecious/templates/replicationsources/replicationsource-symlinks.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
apiVersion: volsync.backube/v1alpha1 | ||
kind: ReplicationSource | ||
metadata: | ||
name: rs-symlinks | ||
spec: | ||
sourcePVC: symlinks | ||
trigger: | ||
schedule: "0 {{ mod .Values.userId 24 }} * * *" | ||
restic: | ||
unlock: {{ .Chart.Version }} | ||
pruneIntervalDays: 7 | ||
repository: symlinks-volsync-restic-symlinks | ||
retain: | ||
daily: 2 | ||
copyMethod: Snapshot | ||
moverAffinity: | ||
podAffinity: | ||
preferredDuringSchedulingIgnoredDuringExecution: | ||
- weight: 50 | ||
podAffinityTerm: | ||
labelSelector: | ||
matchExpressions: | ||
- key: app.elfhosted.com/role | ||
operator: In | ||
values: | ||
- nodefinder # use nodefinder in the absense of zurg... | ||
topologyKey: "kubernetes.io/hostname" | ||
- weight: 100 | ||
podAffinityTerm: | ||
labelSelector: | ||
matchExpressions: | ||
- key: app.elfhosted.com/name | ||
operator: In | ||
values: | ||
- zurg # .. but prefer zurg | ||
topologyKey: "kubernetes.io/hostname" | ||
cacheCapacity: 5Gi | ||
cacheStorageClassName: topolvm-provisioner-thin | ||
cacheAccessModes: | ||
- ReadWriteOnce | ||
volumeSnapshotClassName: topolvm-provisioner-thin |
35 changes: 0 additions & 35 deletions
35
charts/myprecious/templates/secrets/secret-rclone-b2-mediacovers.yaml
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
charts/myprecious/templates/secrets/volsync/secret-volsync-symlinks.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: symlinks-volsync-restic-config | ||
type: Opaque | ||
stringData: | ||
RESTIC_REPOSITORY: s3:{{ .Values.volsync.restic_repository }}/volsync/symlinks/{{ .Release.Namespace }} | ||
RESTIC_PASSWORD: {{ .Values.volsync.restic_password }} | ||
AWS_ACCESS_KEY_ID: {{ .Values.volsync.aws_access_key_id }} | ||
AWS_SECRET_ACCESS_KEY: {{ .Values.volsync.aws_secret_access_key }} |
Oops, something went wrong.