This commit is contained in:
j 2025-08-10 01:53:02 +00:00
parent 84a4325b35
commit 6853a1df45

View file

@ -84,6 +84,7 @@ spec:
- name: nextcloud-data
persistentVolumeClaim:
claimName: nextcloud-pvc
---
apiVersion: networking.k8s.io/v1
kind: Ingress
@ -112,3 +113,22 @@ spec:
number: 80
---
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: nextcloud
namespace: database
spec:
databaseRef:
name: nextcloud
accountName: nextcloud@'%'
privileges:
- ALL
mariaDbRef:
name: mariadb
passwordSecretKeyRef:
name: nextcloud-secrets
key: MYSQL_PASSWORD