-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigmap.yaml
More file actions
73 lines (67 loc) · 2.61 KB
/
configmap.yaml
File metadata and controls
73 lines (67 loc) · 2.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
apiVersion: v1
kind: ConfigMap
metadata:
name: "{{ template "homer.fullname" . }}-conf"
data:
config.yml: |
title: {{ .Values.title.text }}
icon: {{ .Values.title.icon }}
header: {{ .Values.header }}
footer: {{ .Values.footer }}
{{- if .Values.message }}
message:
style: {{ .Values.message.style }}
title: {{ .Values.message.title }}
content: {{ .Values.message.content }}
{{- end }}
{{- if .Values.links }}
links:
{{- range .Values.links }}
- name: "{{ .name }}"
icon: "{{ .icon }}"
url: "{{ .url }}"
target: "{{ .target }}"
{{- end }}
{{- end }}
columns: {{ .Values.columns }}
connectivityCheck: {{ .Values.connectivityCheck }}
theme: {{ .Values.theme }}
colors:
light:
highlight-primary: {{ .Values.colors.light.highlight_primary }}
highlight-secondary: {{ .Values.colors.light.highlight_secondary }}
highlight-hover: {{ .Values.colors.light.highlight_hover }}
background: {{ .Values.colors.light.background }}
card-background: {{ .Values.colors.light.card_background }}
text: {{ .Values.colors.light.text }}
text-header: {{ .Values.colors.light.text_header }}
text-title: {{ .Values.colors.light.text_title }}
text-subtitle: {{ .Values.colors.light.text_subtitle }}
card-shadow: {{ .Values.colors.light.card_shadow }}
link-hover: {{ .Values.colors.light.link_hover }}
background-image: {{ .Values.colors.light.background_image }}
dark:
highlight-primary: {{ .Values.colors.dark.highlight_primary }}
highlight-secondary: {{ .Values.colors.dark.highlight_secondary }}
highlight-hover: {{ .Values.colors.dark.highlight_hover }}
background: {{ .Values.colors.dark.background }}
card-background: {{ .Values.colors.dark.card_background }}
text: {{ .Values.colors.dark.text }}
text-header: {{ .Values.colors.dark.text_header }}
text-title: {{ .Values.colors.dark.text_title }}
text-subtitle: {{ .Values.colors.dark.text_subtitle }}
card-shadow: {{ .Values.colors.dark.card_shadow }}
link-hover: {{ .Values.colors.dark.link_hover }}
background-image: {{ .Values.colors.dark.background_image }}
services:
{{- range .Values.services }}
- name: {{ .name}}
icon: {{ .icon }}
items: {{- if .items }}{{- else }}[]{{- end }}
{{- range .items }}
- name: {{ .name }}
icon: {{ .icon }}
url: {{ .url }}
target: {{ .target }}
{{- end }}
{{- end }}