github.com/replicatedhq/ship@v0.55.0/integration/init/factorio/expected/.ship/upstream/templates/factorio-svc.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: {{ template "factorio.fullname" . }}
     5    labels:
     6      app: {{ template "factorio.fullname" . }}
     7      chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
     8      release: "{{ .Release.Name }}"
     9      heritage: "{{ .Release.Service }}"
    10  spec:
    11    type: {{ .Values.factorioServer.serviceType }}
    12    ports:
    13    - name: factorio
    14      port: {{ .Values.factorioServer.port | int }}
    15      targetPort: factorio
    16      protocol: UDP
    17    selector:
    18      app: {{ template "factorio.fullname" . }}