chore(dashboard): move config into separate files

This commit is contained in:
David Landry 2024-05-08 01:25:01 -04:00
parent 83f49e25a7
commit 4c42bbb4b9
9 changed files with 65 additions and 71 deletions

View file

@ -0,0 +1,4 @@
- Developer:
- Github:
- abbr: GH
href: https://github.com/

View file

View file

View file

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Before After
Before After

View file

@ -0,0 +1,6 @@
layout:
Files:
Media:
Games:
Manage Homelab:
Manage Media:

View file

@ -0,0 +1,12 @@
layout:
Games:
columns: 4
style: row
Manage Library:
columns: 4
style: row
Files:
Manage Homelab:
Media:
columns: 4
style: row

View file

@ -0,0 +1,29 @@
- datetime:
format:
dateStyle: long
hour12: true
timeStyle: short
text_size: xl
- kubernetes:
cluster:
show: true
cpu: true
memory: true
showLabel: true
label: "cluster"
nodes:
show: true
cpu: true
memory: true
showLabel: true
- resources:
backend: resources
expanded: true
cpu: true
memory: true
- search:
provider: duckduckgo
target: _blank

View file

@ -1,71 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: homepage
labels:
app.kubernetes.io/name: homepage
data:
bookmarks.yaml: |
- Developer:
- Github:
- abbr: GH
href: https://github.com/
kubernetes.yaml: |
mode: cluster
services.yaml: |
layout:
Files:
Media:
Games:
Manage Homelab:
Manage Media:
settings.yaml: |
layout:
Games:
columns: 4
style: row
Manage Library:
columns: 4
style: row
Files:
Manage Homelab:
Media:
columns: 4
style: row
custom.css: ""
custom.js: ""
widgets.yaml: |
- datetime:
format:
dateStyle: long
hour12: true
timeStyle: short
text_size: xl
- kubernetes:
cluster:
show: true
cpu: true
memory: true
showLabel: true
label: "cluster"
nodes:
show: true
cpu: true
memory: true
showLabel: true
- resources:
backend: resources
expanded: true
cpu: true
memory: true
- search:
provider: duckduckgo
target: _blank
docker.yaml: ""

View file

@ -9,6 +9,20 @@ resources:
- secret.yaml - secret.yaml
- service.yaml - service.yaml
configMapGenerator
- name: homepage
literals:
- |
kubernetes.yaml=
mode: cluster
files:
- custom.js=./config/custom.js
- custom.css=./config/custom.css
- bookmarks.yaml=./config/bookmarks.yaml
- services.yaml=./config/services.yaml
- settings.yaml=./config/settings.yaml
- widgets.yaml=./config/widgets.yaml
secretGenerator: secretGenerator:
- name: basic-auth - name: basic-auth
files: files: