Luzilla/dnsbl_exporter

View on GitHub
chart/templates/configmap.yaml

Summary

Maintainability
Test Coverage
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ include "dnsbl-exporter.fullname" . }}
  labels:
    {{- include "dnsbl-exporter.labels" . | nindent 4 }}
data:
  targets.ini: |-
    [targets]
    {{- range $value := .Values.config.targets }}
    server={{ $value }}
    {{- end }}
  rbls.ini: |-
    [rbl]
    {{- range $value := .Values.config.rbls }}
    server={{ $value }}
    {{- end }}