mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-01-31 09:06:48 +00:00
9e97c03b5f
* Fixed: url override generation * Changed: bump up version * Changed: supported k8s versions * Changed: changelog update
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
{{- if .Values.webserver.enabled }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: "{{ include "webserver.referenceName" . }}-configmap"
|
|
labels:
|
|
{{- include "clearml.labels" . | nindent 4 }}
|
|
data:
|
|
{{- if .Values.enterpriseFeatures.enabled }}
|
|
configuration.json: |
|
|
{
|
|
"gettingStartedContext": {
|
|
"install":"pip install -U --extra-index-url {{ .Values.enterpriseFeatures.extraIndexUrl }} allegroai",
|
|
"configure": "allegroai-init",
|
|
"packageName": "allegroai",
|
|
"agentName": "allegroai"
|
|
},
|
|
"docsLink": "https://clear.ml/docs/",
|
|
"applicationsBackground": "ui-assets/apps-message.svg"
|
|
{{- if and .Values.enterpriseFeatures.overrideReferenceApiUrl .Values.enterpriseFeatures.overrideReferenceFileUrl }}
|
|
,
|
|
"fileBaseUrl": "{{ .Values.enterpriseFeatures.overrideReferenceFileUrl }}",
|
|
"apiBaseUrl": "{{ .Values.enterpriseFeatures.overrideReferenceApiUrl }}"
|
|
{{- end }}
|
|
}
|
|
{{- end }}
|
|
{{- range $key, $val := .Values.webserver.additionalConfigs }}
|
|
{{ $key }}: |
|
|
{{- $val | nindent 4 }}
|
|
{{- end }}
|
|
{{- end -}}
|