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