chore(dashboard): move config into separate files
This commit is contained in:
parent
83f49e25a7
commit
4c42bbb4b9
9 changed files with 65 additions and 71 deletions
4
apps/gethomepage/base/config/bookmarks.yaml
Normal file
4
apps/gethomepage/base/config/bookmarks.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
- Developer:
|
||||
- Github:
|
||||
- abbr: GH
|
||||
href: https://github.com/
|
||||
0
apps/gethomepage/base/config/custom.css
Normal file
0
apps/gethomepage/base/config/custom.css
Normal file
0
apps/gethomepage/base/config/custom.js
Normal file
0
apps/gethomepage/base/config/custom.js
Normal file
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
6
apps/gethomepage/base/config/services.yaml
Normal file
6
apps/gethomepage/base/config/services.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
layout:
|
||||
Files:
|
||||
Media:
|
||||
Games:
|
||||
Manage Homelab:
|
||||
Manage Media:
|
||||
12
apps/gethomepage/base/config/settings.yaml
Normal file
12
apps/gethomepage/base/config/settings.yaml
Normal 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
|
||||
29
apps/gethomepage/base/config/widgets.yaml
Normal file
29
apps/gethomepage/base/config/widgets.yaml
Normal 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
|
||||
|
|
@ -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: ""
|
||||
|
|
@ -9,6 +9,20 @@ resources:
|
|||
- secret.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:
|
||||
- name: basic-auth
|
||||
files:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue