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

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