Skip to content

Feature Request/Discussion: Allow mapping of /etc/pihole/custom.list as a configmap #297

Open
@andeke07

Description

@andeke07

I have been playing around with GitOps (argocd) and desired state configuration and would like to extend this to my Pihole to be able to configure all my DNS settings in git. In particular, my local DNS names.

Is there a possibility of mounting /etc/pihole/custom.list as a configmap? I noticed if you add a new line to this file directly in the container, the local DNS list will update, so I was hoping I could create that as a configmap which could then update the container's file any time it received an update.

I realise this would mean I could not write to that list from the pihole UI (it would get overwritten by the configmap) but I would be interested to see if I could get this working somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions