Open
Description
If you define CNAMEs via the GUI instead of the chart's values, as the file located at /etc/dnsmasq.d/05-pihole-custom-cname.conf
isn't backed by any PVC, the file disappears.
I'm happy to make a PR, but I was curious what you thought the best way to tackle the issue was - I've just mounted an additional NFS PVC at /etc/dnsmasq.d/
for now lol.
extraVolumes:
dnsmasq-conf:
persistentVolumeClaim:
claimName: pihole-backup-dnsmasq-pvc
extraVolumeMounts:
dnsmasq-conf:
mountPath: /etc/dnsmasq.d
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pihole-backup-dnsmasq-pvc
namespace: pihole-backup
spec:
storageClassName: "truenas-csi-nfs"
accessModes:
- ReadWriteOnce
resources:
requests:
# NFS Subdir Provisioner doesn't care at all abou this
storage: 1Gi
Metadata
Metadata
Assignees
Labels
No labels