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

     1  {{- range $cfg := .Values.nodes }}
     2  apiVersion: v1
     3  kind: Service
     4  metadata:
     5    name: {{ $.Release.Name }}-postgres-{{ $cfg.name }}
     6  spec:
     7    selector:
     8      app: {{ $.Release.Name }}-postgres
     9      instance: {{ $cfg.name }}
    10      release: {{ $.Release.Name }}
    11    clusterIP: None
    12    ports:
    13      - protocol: TCP
    14        port: 5432
    15        targetPort: 5432
    16  ---
    17  {{- end }}