Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

front-config.yaml

Blame
  • front-config.yaml 413 B
    {{- 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 }}