add new versions
This commit is contained in:
@@ -21,19 +21,24 @@ spec:
|
||||
secretKeyRef:
|
||||
name: nextcloud-credentials
|
||||
key: PI_USER_PASSWORD
|
||||
command: ["/bin/sh","/config/export_calendar.sh"]
|
||||
command: ["/bin/sh","/config/export_notes.sh"]
|
||||
volumeMounts:
|
||||
- name: calendar
|
||||
- name: nextcloud-webserver
|
||||
mountPath: /var/www/html
|
||||
- name: notes
|
||||
mountPath: /backup
|
||||
- name: scripts
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: calendar
|
||||
- name: notes
|
||||
persistentVolumeClaim:
|
||||
claimName: calendar
|
||||
claimName: notes
|
||||
- name: nextcloud-webserver
|
||||
persistentVolumeClaim:
|
||||
claimName: nextcloud-webserver
|
||||
- name: scripts
|
||||
configMap:
|
||||
name: nextcloud-calendar-export-script
|
||||
name: nextcloud-export-scripts
|
||||
defaultMode: 0555
|
||||
restartPolicy: Never
|
||||
backoffLimit: 4
|
||||
@@ -41,7 +46,7 @@ spec:
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: calendar
|
||||
name: notes
|
||||
namespace: nextcloud
|
||||
spec:
|
||||
storageClassName: nfs-backup-storage-intelligent
|
||||
|
||||
Reference in New Issue
Block a user