9061f0d470
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
21 lines
545 B
YAML
21 lines
545 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "fullname" . }}-ssh
|
|
labels:
|
|
app: {{ template "fullname" . }}
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
release: "{{ .Release.Name }}"
|
|
heritage: "{{ .Release.Service }}"
|
|
spec:
|
|
type: {{ .Values.service.ssh.serviceType }}
|
|
ports:
|
|
- name: ssh
|
|
port: {{ .Values.service.ssh.port }}
|
|
targetPort: ssh
|
|
{{- if .Values.service.ssh.nodePort }}
|
|
nodePort: {{ .Values.service.ssh.nodePort }}
|
|
{{- end }}
|
|
selector:
|
|
app: {{ template "fullname" . }}
|