--- apiVersion: apps/v1 kind: Deployment metadata: name: bind labels: app: bind spec: selector: matchLabels: app: bind replicas: 1 template: metadata: labels: app: bind spec: priorityClassName: system-node-critical containers: - name: bind image: cytopia/bind imagePullPolicy: "Always" env: - name: WILDCARD_DNS value: "{{ .Values.homey.url }}={{ .Values.homey.ip }}" - name: DNS_FORWARDER value: "8.8.8.8,8.8.4.4" - name: ALLOW_RECURSION value: "any" --- apiVersion: v1 kind: Service metadata: name: bind-dns-udp spec: type: NodePort selector: app: bind ports: - port: 53 targetPort: 53 protocol: UDP name: dns-udp nodePort: 32053