add monitor and pihole

This commit is contained in:
ducoterra
2020-08-17 11:37:15 -04:00
parent 1009e24f1d
commit 225a76742f
17 changed files with 528 additions and 11 deletions

17
pihole/templates/pv.yaml Normal file
View File

@@ -0,0 +1,17 @@
{{ if .Release.IsInstall }}
apiVersion: v1
kind: PersistentVolume
metadata:
name: {{ .Release.Name }}
annotations:
"helm.sh/resource-policy": keep
spec:
storageClassName: pihole
accessModes:
- ReadWriteOnce
capacity:
storage: 100Gi
nfs:
server: freenas
path: "/mnt/enc0/pi/pihole"
{{ end }}