Skip to content
Snippets Groups Projects

[HELM] Full app

7 files
+ 167
0
Compare changes
  • Side-by-side
  • Inline

Files

+ 14
0
{{- if .Values.front.enabled }}
{{- $apiUrl := "" }}
{{- if .Values.api.ingress.tlsEnabled }}
{{- $apiUrl = printf "https://%s" .Values.api.ingress.host | quote }}
{{- else }}
{{- $apiUrl = printf "http://%s" .Values.api.ingress.host | quote }}
{{- end }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.name }}-front
data:
API_URL: {{ $apiUrl }}
{{- end }}
\ No newline at end of file
Loading