add volumes

add variables and add secrets to all updated files.
This commit is contained in:
gregory hendrickson
2023-01-26 01:44:47 -08:00
parent 3a00bf67a3
commit 1b7758ed6b

14
volume/mysql-pv.yaml Normal file
View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: mysql-pv
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data/mysql"