|
| 1 | +apiVersion: v1 |
| 2 | +kind: ConfigMap |
| 3 | +metadata: |
| 4 | + name: "{{ template "homer.fullname" . }}-conf" |
| 5 | +data: |
| 6 | + config.yml: | |
| 7 | + title: {{ .Values.title.text }} |
| 8 | + icon: {{ .Values.title.icon }} |
| 9 | + header: {{ .Values.header }} |
| 10 | + footer: {{ .Values.footer }} |
| 11 | +
|
| 12 | + {{- if .Values.message }} |
| 13 | + message: |
| 14 | + style: {{ .Values.message.style }} |
| 15 | + title: {{ .Values.message.title }} |
| 16 | + content: {{ .Values.message.content }} |
| 17 | + {{- end }} |
| 18 | +
|
| 19 | + {{- if .Values.links }} |
| 20 | + links: |
| 21 | + {{- range .Values.links }} |
| 22 | + - name: "{{ .name }}" |
| 23 | + icon: "{{ .icon }}" |
| 24 | + url: "{{ .url }}" |
| 25 | + target: "{{ .target }}" |
| 26 | + {{- end }} |
| 27 | + {{- end }} |
| 28 | +
|
| 29 | + columns: {{ .Values.columns }} |
| 30 | + connectivityCheck: {{ .Values.connectivityCheck }} |
| 31 | + theme: {{ .Values.theme }} |
| 32 | +
|
| 33 | + colors: |
| 34 | + light: |
| 35 | + highlight-primary: {{ .Values.colors.light.highlight_primary }} |
| 36 | + highlight-secondary: {{ .Values.colors.light.highlight_secondary }} |
| 37 | + highlight-hover: {{ .Values.colors.light.highlight_hover }} |
| 38 | + background: {{ .Values.colors.light.background }} |
| 39 | + card-background: {{ .Values.colors.light.card_background }} |
| 40 | + text: {{ .Values.colors.light.text }} |
| 41 | + text-header: {{ .Values.colors.light.text_header }} |
| 42 | + text-title: {{ .Values.colors.light.text_title }} |
| 43 | + text-subtitle: {{ .Values.colors.light.text_subtitle }} |
| 44 | + card-shadow: {{ .Values.colors.light.card_shadow }} |
| 45 | + link-hover: {{ .Values.colors.light.link_hover }} |
| 46 | + background-image: {{ .Values.colors.light.background_image }} |
| 47 | + dark: |
| 48 | + highlight-primary: {{ .Values.colors.dark.highlight_primary }} |
| 49 | + highlight-secondary: {{ .Values.colors.dark.highlight_secondary }} |
| 50 | + highlight-hover: {{ .Values.colors.dark.highlight_hover }} |
| 51 | + background: {{ .Values.colors.dark.background }} |
| 52 | + card-background: {{ .Values.colors.dark.card_background }} |
| 53 | + text: {{ .Values.colors.dark.text }} |
| 54 | + text-header: {{ .Values.colors.dark.text_header }} |
| 55 | + text-title: {{ .Values.colors.dark.text_title }} |
| 56 | + text-subtitle: {{ .Values.colors.dark.text_subtitle }} |
| 57 | + card-shadow: {{ .Values.colors.dark.card_shadow }} |
| 58 | + link-hover: {{ .Values.colors.dark.link_hover }} |
| 59 | + background-image: {{ .Values.colors.dark.background_image }} |
| 60 | + services: |
| 61 | + {{- range .Values.services }} |
| 62 | + - name: {{ .name}} |
| 63 | + icon: {{ .icon }} |
| 64 | + items: {{- if .items }}{{- else }}[]{{- end }} |
| 65 | + {{- range .items }} |
| 66 | + - name: {{ .name }} |
| 67 | + icon: {{ .icon }} |
| 68 | + url: {{ .url }} |
| 69 | + target: {{ .target }} |
| 70 | + {{- end }} |
| 71 | + {{- end }} |
| 72 | +
|
| 73 | +
|
0 commit comments