sigs.k8s.io/external-dns@v0.14.1/charts/external-dns/templates/service.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: {{ include "external-dns.fullname" . }}
     5    namespace: {{ .Release.Namespace }}
     6    labels:
     7      {{- include "external-dns.labels" . | nindent 4 }}
     8    {{- with .Values.service.annotations }}
     9    annotations:
    10      {{- toYaml . | nindent 4 }}
    11    {{- end }}
    12  spec:
    13  {{- with .Values.service.ipFamilies }}
    14    ipFamilies:
    15      {{- toYaml . | nindent 4 }}
    16  {{- end }}
    17  {{- with .Values.service.ipFamilyPolicy }}
    18    ipFamilyPolicy: {{ . }}
    19  {{- end }}
    20    type: ClusterIP
    21    selector:
    22      {{- include "external-dns.selectorLabels" . | nindent 4 }}
    23    ports:
    24      - name: http
    25        port: {{ .Values.service.port }}
    26        targetPort: http
    27        protocol: TCP