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

     1  ## A Headless Service is required when using a StatefulSet
     2  ## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/
     3  ##
     4  apiVersion: v1
     5  kind: Service
     6  metadata:
     7    name: {{ template "concourse.worker.fullname" . }}
     8    labels:
     9      app: {{ template "concourse.worker.fullname" . }}
    10      chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    11      release: "{{ .Release.Name }}"
    12      heritage: "{{ .Release.Service }}"
    13  spec:
    14    type: ClusterIP
    15    clusterIP: None
    16    ## We do NOT expose any port as workers will forward connections with the ATC through a TSA reverse-tunnel
    17    ## ref: https://concourse-ci.org/architecture.html#architecture-worker
    18    ##
    19    ports: []
    20    selector:
    21      app: {{ template "concourse.worker.fullname" . }}