github.com/x-helm/helm@v3.0.0-beta.3+incompatible/pkg/chartutil/testdata/subpop/charts/subchart2/templates/service.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: {{ .Chart.Name }}
     5    labels:
     6      helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
     7  spec:
     8    type: {{ .Values.service.type }}
     9    ports:
    10    - port: {{ .Values.service.externalPort }}
    11      targetPort: {{ .Values.service.internalPort }}
    12      protocol: TCP
    13      name: {{ .Values.service.name }}
    14    selector:
    15      app.kubernetes.io/name: {{ .Chart.Name }}