mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-01-31 17:16:47 +00:00
266a1e3c41
* feat: make service nodePort configurable * feat: bump version to 3.0.6 * docs: add descriptions for secret and service fields * feat: add comments in clearml-kind.yaml of README.md Co-authored-by: 黄维啸 <huangweixiao@megvii.com>
18 lines
545 B
YAML
18 lines
545 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "clearml.fullname" . }}-fileserver
|
|
labels:
|
|
{{- include "clearml.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.fileserver.service.type }}
|
|
ports:
|
|
- port: {{ .Values.fileserver.service.port }}
|
|
targetPort: {{ .Values.fileserver.service.port }}
|
|
{{- if eq .Values.fileserver.service.type "NodePort" }}
|
|
nodePort: {{ .Values.fileserver.service.nodePort }}
|
|
{{- end }}
|
|
protocol: TCP
|
|
selector:
|
|
{{- include "clearml.selectorLabelsFileServer" . | nindent 4 }}
|