Newer
Older
apiVersion: v1
kind: Service
metadata:
name: {{ include "jupyter-control-notebook-chart.fullname" . }}
labels:
{{- include "jupyter-control-notebook-chart.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
{{- if .Values.staticIP }}
clusterIP: {{.Values.staticIP}}
{{- else }}
clusterIP: None
{{- end }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "jupyter-control-notebook-chart.selectorLabels" . | nindent 4 }}