add helm charts

This commit is contained in:
Ybehrooz
2025-11-09 13:22:40 +03:30
parent 282c3e52d0
commit 38e4d749ad
1352 changed files with 190457 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "osrm.fullname" . }}-files
labels: {{ include "osrm.labels" . | nindent 4 }}
data:
{{- range $key, $filepath := .Values.configTemplatedFiles }}
{{ $key }}: |- {{ ( tpl ($.Files.Get $filepath) $ ) | nindent 4 }}
{{- end }}
{{- if and .Values.map.enabled ( eq "http" .Values.map.source ) }}
{{- range $key, $filepath := .Values.map.http.configTemplatedFiles }}
{{ $key }}: |- {{ ( tpl ($.Files.Get $filepath) $ ) | nindent 4 }}
{{- end }}
{{- end }}
{{- if and .Values.map.enabled ( eq "gcs" .Values.map.source ) }}
{{- range $key, $filepath := .Values.map.gcs.configTemplatedFiles }}
{{ $key }}: |- {{ ( tpl ($.Files.Get $filepath) $ ) | nindent 4 }}
{{- end }}
{{- end }}