apiVersion: v1
kind: Service
metadata:
  name: unbound1
  annotations:
    prometheus.io/scrape: "true"
    prometheus.io/port: "{{.Values.port_unbound_exporter}}"
    parrot.sap.cc/announce: 'true'
    externalip.sap.cc/ignore: 'true'
spec:
  selector:
    app: unbound1
    type: dns
  ports: 
    - name: dns-tcp
      protocol: TCP
      port: 53
      targetPort: dns-tcp
    - name: dns-udp
      protocol: UDP
      port: 53
      targetPort: dns-udp
  externalIPs: ["{{.Values.externalIP}}"]
