add nextcloud

This commit is contained in:
TapTap committed 2026-10-20 16:03:32 +02:00
1 parent 7d123110a0
commit 0a126761a4
15 files changed
+212 -3

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: maria-db-nextcloud-deployment
labels:
app: maria-db-nextcloud
spec:
replicas: 1
selector:
matchLabels:
app: maria-db-nextcloud
template:
metadata:
labels:
app: maria-db-nextcloud
spec:
containers:
- name: maria-db-nextcloud
image: mariadb:11.4.4
envFrom:
- configMapRef:
name: maria-db-nextcloud-configmap
volumeMounts:
- name: maria-db-nextcloud-volume
mountPath: /var/lib/mysql
ports:
- containerPort: 3306
volumes:
- name: maria-db-nextcloud-volume
hostPath:
path: /root/kubernetes/nextcloud/data/mysql