mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
367 B
16 lines
367 B
8 years ago
|
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 }}
|