diff --git a/argocd/manifests/kiwix/cronjob-zim-watcher.yaml b/argocd/manifests/kiwix/cronjob-zim-watcher.yaml index b0b0a6e..3e45f22 100644 --- a/argocd/manifests/kiwix/cronjob-zim-watcher.yaml +++ b/argocd/manifests/kiwix/cronjob-zim-watcher.yaml @@ -50,8 +50,9 @@ spec: restartPolicy: OnFailure volumes: - name: torrents - persistentVolumeClaim: - claimName: torrents-storage + nfs: + server: sifaka + path: /volume1/torrents --- apiVersion: v1 kind: ServiceAccount diff --git a/argocd/manifests/kiwix/deployment.yaml b/argocd/manifests/kiwix/deployment.yaml index 17469dc..1a18983 100644 --- a/argocd/manifests/kiwix/deployment.yaml +++ b/argocd/manifests/kiwix/deployment.yaml @@ -86,8 +86,9 @@ spec: volumes: - name: torrents - persistentVolumeClaim: - claimName: torrents-storage + nfs: + server: sifaka + path: /volume1/torrents - name: zim-torrents-config configMap: name: kiwix-zim-torrents diff --git a/argocd/manifests/kiwix/kustomization.yaml b/argocd/manifests/kiwix/kustomization.yaml index 79446c8..d5e563d 100644 --- a/argocd/manifests/kiwix/kustomization.yaml +++ b/argocd/manifests/kiwix/kustomization.yaml @@ -3,7 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: kiwix resources: - - pvc.yaml - configmap-zim-torrents.yaml - configmap-sync-script.yaml - deployment.yaml diff --git a/argocd/manifests/kiwix/pvc.yaml b/argocd/manifests/kiwix/pvc.yaml deleted file mode 100644 index c838cd1..0000000 --- a/argocd/manifests/kiwix/pvc.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: torrents-storage - namespace: kiwix -spec: - accessModes: - - ReadWriteMany - storageClassName: "" - volumeName: torrents-nfs-pv - resources: - requests: - storage: 1Ti