mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-03 13:53:09 +00:00
- Update paths and orchestration for deployers (compose/k8s/local/docker) - Consolidate scripts helpers and refresh book/README docs
23 lines
670 B
YAML
23 lines
670 B
YAML
{{- $root := . -}}
|
|
{{- $nodes := default (list) .Values.validators.nodes }}
|
|
{{- range $i, $node := $nodes }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "nomos-runner.fullname" $root }}-validator-{{ $i }}
|
|
labels:
|
|
{{- include "nomos-runner.validatorLabels" (dict "root" $root "index" $i) | nindent 4 }}
|
|
spec:
|
|
type: NodePort
|
|
selector:
|
|
{{- include "nomos-runner.validatorLabels" (dict "root" $root "index" $i) | nindent 4 }}
|
|
ports:
|
|
- name: http
|
|
port: {{ default 18080 $node.apiPort }}
|
|
targetPort: http
|
|
- name: testing-http
|
|
port: {{ default 18081 $node.testingHttpPort }}
|
|
targetPort: testing-http
|
|
{{- end }}
|