diff --git a/customers/base/nextcloud-deployment.yml b/customers/base/nextcloud-deployment.yml index e29f6da..1a9beaa 100644 --- a/customers/base/nextcloud-deployment.yml +++ b/customers/base/nextcloud-deployment.yml @@ -11,32 +11,28 @@ spec: matchLabels: app: customer-node volumeClaimTemplates: - - metadata: - name: nextcloud-config - spec: - storageClassName: mayastor-3 - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi + - metadata: + name: nextcloud-data + spec: + storageClassName: mayastor-3 + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi template: metadata: creationTimestamp: labels: app: customer-node spec: - volumes: - - name: server-storage - persistentVolumeClaim: - claimName: customer-shared-storage-claim containers: - name: customer image: docker.sunet.se/drive/nextcloud-custom:25.0.3.3-4 volumeMounts: - - name: nextcloud-config - mountPath: /var/www/html/config/ - subPath: config.php + - name: nextcloud-data + mountPath: /var/www/html/config + subPath: config initContainers: - image: docker.sunet.se/sunet/docker-jinja:latest name: init-config @@ -44,9 +40,9 @@ spec: - name: nextcloud-config-template mountPath: /tmp/config.php.template subPath: config.php - - name: nextcloud-config - mountPath: /var/www/html/config/ - subPath: config.php + - name: nextcloud-data + mountPath: /var/www/html/config + subPath: config env: - name: ADMIN_PASSWORD valueFrom: