3ec4825c30
SVG is not YAML friendly and for some svg files we can get "error converting YAML to JSON". Let's use base64 encoded values to avoid such issues. Story: 2010974 Task: 49140 Change-Id: I9df11c2ba4420afc60c7562341c5d645dd891599
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
{{/*
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/}}
|
|
|
|
{{- if .Values.manifests.configmap_logo }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: horizon-logo
|
|
binaryData:
|
|
{{- if .Values.conf.horizon.branding.favicon }}
|
|
favicon.ico: |
|
|
{{- .Values.conf.horizon.branding.favicon | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.conf.horizon.branding.logo }}
|
|
logo.svg: |
|
|
{{- .Values.conf.horizon.branding.logo | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.conf.horizon.branding.logo_splash }}
|
|
logo-splash.svg: |
|
|
{{- .Values.conf.horizon.branding.logo_splash | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|