mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-04-17 01:31:13 +00:00
Configurable prefix ingress (#17)
* ingress configurable prefixes * chart version bump up * fix version number
This commit is contained in:
parent
91d45281fa
commit
732bb970aa
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: clearml
|
name: clearml
|
||||||
description: MLOps platform
|
description: MLOps platform
|
||||||
type: application
|
type: application
|
||||||
version: "2.0.1"
|
version: "2.1.0"
|
||||||
appVersion: "1.1.1"
|
appVersion: "1.1.1"
|
||||||
home: https://clear.ml
|
home: https://clear.ml
|
||||||
icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg
|
icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# ClearML Ecosystem for Kubernetes
|
# ClearML Ecosystem for Kubernetes
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
MLOps platform
|
MLOps platform
|
||||||
|
|
||||||
@ -252,6 +252,9 @@ For detailed instructions, see the [Optional Configuration](https://github.com/a
|
|||||||
| ingress.annotations | object | `{}` | |
|
| ingress.annotations | object | `{}` | |
|
||||||
| ingress.enabled | bool | `false` | |
|
| ingress.enabled | bool | `false` | |
|
||||||
| ingress.host | string | `""` | |
|
| ingress.host | string | `""` | |
|
||||||
|
| ingress.hostPrefixApi | string | `"api."` | |
|
||||||
|
| ingress.hostPrefixApp | string | `"app."` | |
|
||||||
|
| ingress.hostPrefixFiles | string | `"files."` | |
|
||||||
| ingress.name | string | `"clearml-server-ingress"` | |
|
| ingress.name | string | `"clearml-server-ingress"` | |
|
||||||
| ingress.tls.secretName | string | `""` | |
|
| ingress.tls.secretName | string | `""` | |
|
||||||
| mongodb.architecture | string | `"standalone"` | |
|
| mongodb.architecture | string | `"standalone"` | |
|
||||||
|
@ -18,30 +18,33 @@ spec:
|
|||||||
{{- if .Values.ingress.tls.secretName }}
|
{{- if .Values.ingress.tls.secretName }}
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- "app.{{ .Values.ingress.host }}"
|
- "{{ .Values.ingress.hostPrefixAp }}{{ .Values.ingress.host }}"
|
||||||
- "files.{{ .Values.ingress.host }}"
|
- "{{ .Values.ingress.hostPrefixFiles }}{{ .Values.ingress.host }}"
|
||||||
- "api.{{ .Values.ingress.host }}"
|
- "{{ .Values.ingress.hostPrefixApi }}{{ .Values.ingress.host }}"
|
||||||
secretName: {{ .Values.ingress.tls.secretName }}
|
secretName: {{ .Values.ingress.tls.secretName }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
- host: "app.{{ .Values.ingress.host }}"
|
- host: "{{ .Values.ingress.hostPrefixApp }}{{ .Values.ingress.host }}"
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: "/*"
|
- path: "/"
|
||||||
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
serviceName: {{ include "clearml.fullname" . }}-webserver
|
serviceName: {{ include "clearml.fullname" . }}-webserver
|
||||||
servicePort: {{ .Values.webserver.service.port }}
|
servicePort: {{ .Values.webserver.service.port }}
|
||||||
- host: "api.{{ .Values.ingress.host }}"
|
- host: "{{ .Values.ingress.hostPrefixApi }}{{ .Values.ingress.host }}"
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: "/*"
|
- path: "/"
|
||||||
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
serviceName: {{ include "clearml.fullname" . }}-apiserver
|
serviceName: {{ include "clearml.fullname" . }}-apiserver
|
||||||
servicePort: {{ .Values.apiserver.service.port }}
|
servicePort: {{ .Values.apiserver.service.port }}
|
||||||
- host: "files.{{ .Values.ingress.host }}"
|
- host: "{{ .Values.ingress.hostPrefixFiles }}{{ .Values.ingress.host }}"
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: "/*"
|
- path: "/"
|
||||||
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
serviceName: {{ include "clearml.fullname" . }}-fileserver
|
serviceName: {{ include "clearml.fullname" . }}-fileserver
|
||||||
servicePort: {{ .Values.fileserver.service.port }}
|
servicePort: {{ .Values.fileserver.service.port }}
|
||||||
|
@ -5,6 +5,9 @@ ingress:
|
|||||||
name: clearml-server-ingress
|
name: clearml-server-ingress
|
||||||
annotations: {}
|
annotations: {}
|
||||||
host: ""
|
host: ""
|
||||||
|
hostPrefixApp: "app."
|
||||||
|
hostPrefixApi: "api."
|
||||||
|
hostPrefixFiles: "files."
|
||||||
tls:
|
tls:
|
||||||
secretName: ""
|
secretName: ""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user