Fix volume claim
This commit is contained in:
parent
f60cdc2630
commit
fe44c3e037
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue