mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-01-31 09:06:48 +00:00
16 lines
395 B
YAML
16 lines
395 B
YAML
|
{{- if .Values.apiserver.enabled }}
|
||
|
{{- if .Values.apiserver.additionalConfigs }}
|
||
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: "{{ include "apiserver.referenceName" . }}-configmap"
|
||
|
labels:
|
||
|
{{- include "clearml.labels" . | nindent 4 }}
|
||
|
data:
|
||
|
{{- range $key, $val := .Values.apiserver.additionalConfigs }}
|
||
|
{{ $key }}: |
|
||
|
{{- $val | nindent 4 }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|