fix automouting of gluster mounts on home
This commit is contained in:
13
ansible-5/roles/prod.k3s/files/mariadb/pv-claim.yaml
Normal file
13
ansible-5/roles/prod.k3s/files/mariadb/pv-claim.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: "{{apps.mariadb.namespace}}"
|
||||
namespace: mariadb
|
||||
spec:
|
||||
storageClassName: manual
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
17
ansible-5/roles/prod.k3s/files/mariadb/pv.yaml
Normal file
17
ansible-5/roles/prod.k3s/files/mariadb/pv.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
# persistent volume
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: mariadb-pv-local
|
||||
labels:
|
||||
type: local
|
||||
spec:
|
||||
storageClassName: manual
|
||||
capacity:
|
||||
storage: 100Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
hostPath:
|
||||
path: "/opt/mariadb"
|
||||
|
||||
17
ansible-5/roles/prod.k3s/files/mariadb/values.yaml
Normal file
17
ansible-5/roles/prod.k3s/files/mariadb/values.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
# mariadb values file
|
||||
|
||||
secondary:
|
||||
replicaCount: 0
|
||||
|
||||
image:
|
||||
# repository: mariadb
|
||||
# tag: 10.5
|
||||
|
||||
auth:
|
||||
rootPassword: "aifuoqibcqobcqb3"
|
||||
# existingSecret: ''
|
||||
|
||||
#primary:
|
||||
# persistence:
|
||||
# existingClaim: mariadb-pv-claim
|
||||
Reference in New Issue
Block a user