github.com/koderover/helm@v2.17.0+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 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: {{ .Chart.Name }}