mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
27 lines
597 B
YAML
27 lines
597 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: pvloader
|
|
namespace: nextcloud
|
|
spec:
|
|
containers:
|
|
- name: loader
|
|
image: alpine:latest
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- "apk add --no-cache rsync && sleep infinity"
|
|
imagePullPolicy: IfNotPresent
|
|
volumeMounts:
|
|
- name: nextcloud
|
|
mountPath: /data/nextcloud-main-0
|
|
- name: mariadb
|
|
mountPath: /data/nextcloud-mariadb-0
|
|
volumes:
|
|
- name: nextcloud
|
|
persistentVolumeClaim:
|
|
claimName: nextcloud-app-nextcloud
|
|
- name: mariadb
|
|
persistentVolumeClaim:
|
|
claimName: data-nextcloud-app-mariadb-0
|