File size: 1,121 Bytes
b585c7f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
{{- if .Values.h2ogpt.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "h2ogpt.fullname" . }}-config
namespace: {{ .Release.Namespace }}
labels:
{{- include "h2ogpt.labels" . | nindent 4 }}
data:
{{- range $key, $value := .Values.h2ogpt.overrideConfig }}
{{ printf "H2OGPT_%s" $key | upper }}: {{ $value | quote }}
{{- end }}
{{- end }}
---
{{- if .Values.tgi.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "h2ogpt.fullname" . }}-tgi-inference-config
namespace: {{ .Release.Namespace }}
labels:
{{- include "h2ogpt.labels" . | nindent 4 }}
data:
{{- range $key, $value := .Values.tgi.overrideConfig }}
{{ printf "%s" $key | upper }}: {{ $value | quote }}
{{- end }}
{{- end }}
---
{{- if .Values.vllm.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "h2ogpt.fullname" . }}-vllm-inference-config
namespace: {{ .Release.Namespace }}
labels:
{{- include "h2ogpt.labels" . | nindent 4 }}
data:
{{- range $key, $value := .Values.vllm.overrideConfig }}
{{ printf "%s" $key | upper }}: {{ $value | quote }}
{{- end }}
{{- end }}
|