github.com/dominant-strategies/go-quai@v0.28.2/helm/templates/_service.yaml (about)

     1  {{- define "go-quai.service" }}
     2  apiVersion: v1
     3  kind: Service
     4  metadata:
     5    name: prime-{{- include "go-quai.name" $ }}
     6    namespace: {{ .Values.goQuai.env }}
     7    annotations:
     8      cloud.google.com/neg: '{"ingress": true}'
     9      cloud.google.com/backend-config: {{ printf "{\"default\":\"prime-%s\"}" (include "go-quai.name" $) | toRawJson }}
    10  spec:
    11    ports:
    12    - name: ws
    13      port: <WS>
    14      protocol: TCP
    15      targetPort: <WS>
    16    - name: http
    17      port: <HTTP>
    18      protocol: TCP
    19      targetPort: <HTTP>
    20    selector:
    21      app: {{ include "go-quai.name" $ }}
    22    type: NodePort
    23  {{- end }}