diff --git a/Manifests/Mirror/CronJobs/fedora-epel.yml b/Manifests/Mirror/CronJobs/fedora-epel.yml index 3409631..545e599 100644 --- a/Manifests/Mirror/CronJobs/fedora-epel.yml +++ b/Manifests/Mirror/CronJobs/fedora-epel.yml @@ -13,23 +13,23 @@ spec: template: spec: containers: - - name: mirrorupdate-epel - imagePullPolicy: Always - image: ghcr.io/0xemma/mirror-updater:v2.0.0 - env: - - name: TARGET - value: /ext/mirror/epel - - name: SOURCE - value: rsync://mirrors.rit.edu/epel - - name: LASTUPDATE - value: http://rsync.repo.epel.org/epel/timestamp.txt - - name: FIRST - value: "no" - volumeMounts: - - name: mirror-pvc - mountPath: /ext/mirror/ + - name: mirrorupdate-epel + imagePullPolicy: Always + image: ghcr.io/0xemma/mirror-updater:v2.0.0 + env: + - name: TARGET + value: /ext/mirror/epel + - name: SOURCE + value: rsync://mirrors.rit.edu/epel + - name: LASTUPDATE + value: http://rsync.repo.epel.org/epel/timestamp.txt + - name: FIRST + value: "no" + volumeMounts: + - name: mirror-pvc + mountPath: /ext/mirror/ restartPolicy: OnFailure volumes: - name: mirror-pvc persistentVolumeClaim: - claimName: mirror-truenas \ No newline at end of file + claimName: zfs-mirror-bulk diff --git a/Manifests/Mirror/CronJobs/ubuntu.yml b/Manifests/Mirror/CronJobs/ubuntu.yml index d94a44a..b6ef165 100644 --- a/Manifests/Mirror/CronJobs/ubuntu.yml +++ b/Manifests/Mirror/CronJobs/ubuntu.yml @@ -13,23 +13,23 @@ spec: template: spec: containers: - - name: mirrorupdate-ubuntu - imagePullPolicy: Always - image: ghcr.io/0xemma/mirror-updater:v2.0.0 - env: - - name: TARGET - value: /ext/mirror/ubuntu - - name: SOURCE - value: rsync://archive.ubuntu.com/ubuntu - - name: LASTUPDATE - value: https://mirror.math.princeton.edu/pub/blackarch/lastupdate - - name: FIRST - value: "not" - volumeMounts: - - name: mirror-pvc - mountPath: /ext/mirror/ + - name: mirrorupdate-ubuntu + imagePullPolicy: Always + image: ghcr.io/0xemma/mirror-updater:v2.0.0 + env: + - name: TARGET + value: /ext/mirror/ubuntu + - name: SOURCE + value: rsync://archive.ubuntu.com/ubuntu + - name: LASTUPDATE + value: https://mirror.math.princeton.edu/pub/blackarch/lastupdate + - name: FIRST + value: "not" + volumeMounts: + - name: mirror-pvc + mountPath: /ext/mirror/ restartPolicy: OnFailure volumes: - name: mirror-pvc persistentVolumeClaim: - claimName: mirror-truenas \ No newline at end of file + claimName: zfs-mirror-bulk diff --git a/Manifests/Mirror/CronJobs/voidlinux.yml b/Manifests/Mirror/CronJobs/voidlinux.yml index 3da3ef2..5403d38 100644 --- a/Manifests/Mirror/CronJobs/voidlinux.yml +++ b/Manifests/Mirror/CronJobs/voidlinux.yml @@ -32,4 +32,4 @@ # volumes: # - name: mirror-pvc # persistentVolumeClaim: -# claimName: mirror-truenas \ No newline at end of file +# claimName: zfs-mirror-bulk \ No newline at end of file diff --git a/Manifests/Mirror/Mirror-Rsync/mirror-rsync.yml b/Manifests/Mirror/Mirror-Rsync/mirror-rsync.yml index 8c6bc0b..9734418 100644 --- a/Manifests/Mirror/Mirror-Rsync/mirror-rsync.yml +++ b/Manifests/Mirror/Mirror-Rsync/mirror-rsync.yml @@ -64,7 +64,7 @@ spec: name: rsync-config - name: mirror persistentVolumeClaim: - claimName: mirror-truenas + claimName: zfs-mirror-bulk - name: ubuntu-iso persistentVolumeClaim: claimName: mirror-ubuntu-iso diff --git a/Manifests/Mirror/Mirror-Web/epel/web.yaml b/Manifests/Mirror/Mirror-Web/epel/web.yaml index 5161510..824a8a2 100644 --- a/Manifests/Mirror/Mirror-Web/epel/web.yaml +++ b/Manifests/Mirror/Mirror-Web/epel/web.yaml @@ -56,4 +56,4 @@ spec: volumes: - name: mirror-pvc persistentVolumeClaim: - claimName: mirror-truenas + claimName: zfs-mirror-bulk diff --git a/Manifests/Mirror/Mirror-Web/ubuntu/web.yaml b/Manifests/Mirror/Mirror-Web/ubuntu/web.yaml index 860aa6a..776836f 100644 --- a/Manifests/Mirror/Mirror-Web/ubuntu/web.yaml +++ b/Manifests/Mirror/Mirror-Web/ubuntu/web.yaml @@ -56,4 +56,4 @@ spec: volumes: - name: mirror-pvc persistentVolumeClaim: - claimName: mirror-truenas + claimName: zfs-mirror-bulk diff --git a/Manifests/Mirror/Mirror-Web/voidlinux/web.yaml b/Manifests/Mirror/Mirror-Web/voidlinux/web.yaml index d60ee39..8ed53da 100644 --- a/Manifests/Mirror/Mirror-Web/voidlinux/web.yaml +++ b/Manifests/Mirror/Mirror-Web/voidlinux/web.yaml @@ -56,4 +56,4 @@ spec: volumes: - name: mirror-pvc persistentVolumeClaim: - claimName: mirror-truenas + claimName: zfs-mirror-bulk diff --git a/Manifests/Mirror/mirror-pvc.yml b/Manifests/Mirror/mirror-pvc.yml index 03d1a23..7e0d453 100644 --- a/Manifests/Mirror/mirror-pvc.yml +++ b/Manifests/Mirror/mirror-pvc.yml @@ -1,14 +1,14 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: mirror-truenas - namespace: default - labels: - app: mirror-truenas -spec: - accessModes: - - ReadWriteMany - resources: - requests: - storage: 11000Gi - # storageClassName: freenas-nfs-csi +# apiVersion: v1 +# kind: PersistentVolumeClaim +# metadata: +# name: zfs-mirror-bulk +# namespace: default +# labels: +# app: zfs-mirror-bulk +# spec: +# accessModes: +# - ReadWriteMany +# resources: +# requests: +# storage: 11000Gi +# # storageClassName: freenas-nfs-csi