x
This commit is contained in:
parent
84a4325b35
commit
6853a1df45
1 changed files with 20 additions and 0 deletions
|
@ -84,6 +84,7 @@ spec:
|
||||||
- name: nextcloud-data
|
- name: nextcloud-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: nextcloud-pvc
|
claimName: nextcloud-pvc
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@ -112,3 +113,22 @@ spec:
|
||||||
number: 80
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue