mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-01-31 17:16:47 +00:00
cb98ae9a19
* Changed: rename alignment * Changed: general refactoring * Changed: version bump * Added: enterprise company guid * Added: tanzu rolebinding * Changed: updated parames * Changed: bump to 1.9 * Fixed: whitespaces * Added: fake values for apps git user * Changed: updated deps * Changed: app version reference * Changed: enterprise parameters name * Changed: image version bump * Changed: extra index url config for enterprise
24 lines
663 B
YAML
24 lines
663 B
YAML
{{- if .Values.webserver.enabled -}}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "webserver.referenceName" . }}
|
|
labels:
|
|
{{- include "clearml.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.webserver.service.type }}
|
|
ports:
|
|
- port: {{ .Values.webserver.service.port }}
|
|
{{- if .Values.enterpriseFeatures.enabled }}
|
|
targetPort: 8080
|
|
{{- else }}
|
|
targetPort: 80
|
|
{{- end }}
|
|
{{- if eq .Values.webserver.service.type "NodePort" }}
|
|
nodePort: {{ .Values.webserver.service.nodePort }}
|
|
{{- end }}
|
|
protocol: TCP
|
|
selector:
|
|
{{- include "webserver.selectorLabels" . | nindent 4 }}
|
|
{{- end }}
|