github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/charts/chainlink/templates/chainlink-service.yaml (about)

     1  {{- range $cfg := .Values.nodes }}
     2  apiVersion: v1
     3  kind: Service
     4  metadata:
     5    name: {{ $.Release.Name }}-{{ $cfg.name }}
     6  {{/*  generateName: {{ .Release.Name }}-*/}}
     7  spec:
     8    ports:
     9      - name: node-port
    10        port: {{ $.Values.chainlink.web_port }}
    11        targetPort: {{ $.Values.chainlink.web_port }}
    12      - name: p2p-port
    13        port: {{ $.Values.chainlink.p2p_port }}
    14        targetPort: {{ $.Values.chainlink.p2p_port }}
    15    selector:
    16      app: {{ $.Release.Name }}
    17      instance: {{ $cfg.name }}
    18      release: {{ $.Release.Name }}
    19    type: ClusterIP
    20  ---
    21  {{- end }}