mirror of https://github.com/helm/helm
16 lines
367 B
16 lines
367 B
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ .Chart.Name }}
|
|
labels:
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.externalPort }}
|
|
targetPort: {{ .Values.service.internalPort }}
|
|
protocol: TCP
|
|
name: {{ .Values.service.name }}
|
|
selector:
|
|
app: {{ .Chart.Name }}
|