From b6f1c5b1cb48260850d37ab73a46d606fab913da Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Tue, 6 Aug 2024 20:32:33 +0100 Subject: [PATCH] Actually add the pvc --- apps/sonarr/deployment.yaml | 7 ++++++- apps/sonarr/kustomization.yaml | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/apps/sonarr/deployment.yaml b/apps/sonarr/deployment.yaml index 6bcf86d..92a8730 100644 --- a/apps/sonarr/deployment.yaml +++ b/apps/sonarr/deployment.yaml @@ -48,9 +48,14 @@ spec: cpu: 10m memory: 64Mi volumeMounts: + - name: config + mountPath: /config - name: static-config mountPath: /config volumes: - name: static-config configMap: - name: static-config \ No newline at end of file + name: static-config + - name: config + persistentVolumeClaim: + claimName: sonarr-pvc \ No newline at end of file diff --git a/apps/sonarr/kustomization.yaml b/apps/sonarr/kustomization.yaml index 3bc3448..2d22e75 100644 --- a/apps/sonarr/kustomization.yaml +++ b/apps/sonarr/kustomization.yaml @@ -5,7 +5,7 @@ resources: - service.yaml - ingress.yaml - pvc.yaml -# configMapGenerator: -# - name: static-config -# files: -# - ./files/config.xml \ No newline at end of file +configMapGenerator: + - name: static-config + files: + - ./files/config.xml \ No newline at end of file