MoJo2600 / pihole-kubernetes

PiHole on kubernetes
506 stars 178 forks source link

feat: Add context for other custom dnsmasq settings #159

Closed johnsondnz closed 3 years ago

johnsondnz commented 3 years ago

Adds context settings values for ConfigMap that creates /etc/dnsmasq.d/02-custom.conf settings file.

values

dnsmasq:
  customSettings:
    - rebind-domain-ok=/plex.direct/

output

apiVersion: v1
data:
  02-custom.conf: |
    addn-hosts=/etc/addn-hosts
    rebind-domain-ok=/plex.direct/
  addn-hosts: ""
kind: ConfigMap
metadata:
  annotations:
    meta.helm.sh/release-name: pihole
    meta.helm.sh/release-namespace: network
  creationTimestamp: "2021-06-12T21:51:48Z"
  labels:
    app: pihole
    app.kubernetes.io/managed-by: Helm
    chart: pihole-1.9.1
    heritage: Helm
    release: pihole
  name: pihole-custom-dnsmasq
  namespace: network
  resourceVersion: "1109840"
  uid: 0c94634b-6942-41a3-94b8-b680929d41ae
MoJo2600 commented 3 years ago

Thank you! Could you please regenerate the documentation with helm-docs and bump the version?

allcontributors[bot] commented 3 years ago

@johnsondnz

I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.

allcontributors[bot] commented 3 years ago

@johnsondnz

I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.

johnsondnz commented 3 years ago

should have read the docs :)

@all-contributors please add @johnsondnz for code

allcontributors[bot] commented 3 years ago

@johnsondnz

I've put up a pull request to add @johnsondnz! :tada:

MoJo2600 commented 3 years ago

Thank you!