From fd082ea85b3c4d4d16739ec72f4e200236fb035f Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Sat, 11 Feb 2023 17:52:01 +0100 Subject: [PATCH] Data is slightly needed Signed-off-by: Martyn Ranyard --- radarr/deploy.yaml | 8 ++++++++ radarr/pvc.yaml | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 radarr/pvc.yaml diff --git a/radarr/deploy.yaml b/radarr/deploy.yaml index 0106a9b..db7fd03 100644 --- a/radarr/deploy.yaml +++ b/radarr/deploy.yaml @@ -22,3 +22,11 @@ spec: - name: http containerPort: 7878 protocol: TCP + volumeMounts: + - name: config + mountPath: /config + volumes: + - name: config + persistentVolumeClaim: + claimName: radarr-config-data + diff --git a/radarr/pvc.yaml b/radarr/pvc.yaml new file mode 100644 index 0000000..5259405 --- /dev/null +++ b/radarr/pvc.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: radarr-config-data +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi