github.com/replicatedhq/ship@v0.55.0/integration/init/forgeops/expected/.ship/upstream/templates/service.yaml (about)

     1  # Copyright (c) 2016-2017 ForgeRock AS. Use of this source code is subject to the
     2  # Common Development and Distribution License (CDDL) that can be found in the LICENSE file
     3  apiVersion: v1
     4  kind: Service
     5  metadata:
     6    name: {{ .Values.instance }}
     7    labels:
     8      app: {{ .Values.instance }}
     9      component: {{ .Values.component }}
    10      vendor: forgerock
    11      heritage: {{ .Release.Service }}
    12  spec:
    13    clusterIP: None
    14    ports:
    15      - port: 1389
    16        name: ldap
    17        targetPort: 1389
    18      - port: 4444
    19        name: djadmin
    20        targetPort: 4444
    21      - port: 1636
    22        name: ldaps
    23        targetPort: 1636
    24      - port: 8080
    25        protocol: TCP
    26        name: metrics
    27    selector:
    28      app: {{ template "fullname" . }}
    29      release: {{ .Release.Name }}