Enhance homepage values.yaml by adding support for RBAC, service account creation, and site monitoring for various services. Update widget configurations for Prometheus and introduce new widgets for datetime and Kubernetes resource monitoring. Adjust layout and styling settings for improved UI presentation.
This commit is contained in:
@@ -2,10 +2,22 @@
|
|||||||
# Ingress: Traefik + cert-manager (same pattern as `clusters/noble/bootstrap/headlamp/values.yaml`).
|
# Ingress: Traefik + cert-manager (same pattern as `clusters/noble/bootstrap/headlamp/values.yaml`).
|
||||||
# Service links match **`ansible/roles/noble_landing_urls/defaults/main.yml`** (`noble_lab_ui_entries`).
|
# Service links match **`ansible/roles/noble_landing_urls/defaults/main.yml`** (`noble_lab_ui_entries`).
|
||||||
#
|
#
|
||||||
|
# UI: **`siteMonitor`** on each link (HEAD/GET latency + status). **`widgets`**: datetime, Kubernetes
|
||||||
|
# (cluster + node CPU/memory), Prometheus (scrape targets), search. **`enableRbac`** enables the
|
||||||
|
# Kubernetes integration (in-cluster ServiceAccount).
|
||||||
|
#
|
||||||
|
# Prometheus URL: in-cluster DNS for **kube-prometheus** release — adjust if your Service name differs
|
||||||
|
# (`kubectl -n monitoring get svc | grep prometheus`).
|
||||||
|
#
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/gethomepage/homepage
|
repository: ghcr.io/gethomepage/homepage
|
||||||
tag: v1.2.0
|
tag: v1.2.0
|
||||||
|
|
||||||
|
enableRbac: true
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -31,34 +43,78 @@ config:
|
|||||||
services:
|
services:
|
||||||
- Noble Lab:
|
- Noble Lab:
|
||||||
- Argo CD:
|
- Argo CD:
|
||||||
|
icon: si-argocd
|
||||||
href: https://argo.apps.noble.lab.pcenicni.dev
|
href: https://argo.apps.noble.lab.pcenicni.dev
|
||||||
|
siteMonitor: https://argo.apps.noble.lab.pcenicni.dev
|
||||||
description: GitOps UI (sync, apps, repos)
|
description: GitOps UI (sync, apps, repos)
|
||||||
- Grafana:
|
- Grafana:
|
||||||
|
icon: si-grafana
|
||||||
href: https://grafana.apps.noble.lab.pcenicni.dev
|
href: https://grafana.apps.noble.lab.pcenicni.dev
|
||||||
|
siteMonitor: https://grafana.apps.noble.lab.pcenicni.dev
|
||||||
description: Dashboards, Loki explore (logs)
|
description: Dashboards, Loki explore (logs)
|
||||||
- Prometheus:
|
- Prometheus:
|
||||||
|
icon: si-prometheus
|
||||||
href: https://prometheus.apps.noble.lab.pcenicni.dev
|
href: https://prometheus.apps.noble.lab.pcenicni.dev
|
||||||
|
siteMonitor: https://prometheus.apps.noble.lab.pcenicni.dev
|
||||||
description: Prometheus UI (queries, targets) — lab; protect in production
|
description: Prometheus UI (queries, targets) — lab; protect in production
|
||||||
|
widget:
|
||||||
|
type: prometheus
|
||||||
|
url: http://kube-prometheus-kube-prometheus-prometheus.monitoring.svc:9090
|
||||||
|
fields: ["targets_up", "targets_down", "targets_total"]
|
||||||
- Alertmanager:
|
- Alertmanager:
|
||||||
|
icon: alertmanager.png
|
||||||
href: https://alertmanager.apps.noble.lab.pcenicni.dev
|
href: https://alertmanager.apps.noble.lab.pcenicni.dev
|
||||||
|
siteMonitor: https://alertmanager.apps.noble.lab.pcenicni.dev
|
||||||
description: Alertmanager UI (silences, status)
|
description: Alertmanager UI (silences, status)
|
||||||
- Headlamp:
|
- Headlamp:
|
||||||
|
icon: mdi-kubernetes
|
||||||
href: https://headlamp.apps.noble.lab.pcenicni.dev
|
href: https://headlamp.apps.noble.lab.pcenicni.dev
|
||||||
|
siteMonitor: https://headlamp.apps.noble.lab.pcenicni.dev
|
||||||
description: Kubernetes UI (cluster resources)
|
description: Kubernetes UI (cluster resources)
|
||||||
- Longhorn:
|
- Longhorn:
|
||||||
|
icon: longhorn.png
|
||||||
href: https://longhorn.apps.noble.lab.pcenicni.dev
|
href: https://longhorn.apps.noble.lab.pcenicni.dev
|
||||||
|
siteMonitor: https://longhorn.apps.noble.lab.pcenicni.dev
|
||||||
description: Storage volumes, nodes, backups
|
description: Storage volumes, nodes, backups
|
||||||
- Vault:
|
- Vault:
|
||||||
|
icon: si-vault
|
||||||
href: https://vault.apps.noble.lab.pcenicni.dev
|
href: https://vault.apps.noble.lab.pcenicni.dev
|
||||||
|
siteMonitor: https://vault.apps.noble.lab.pcenicni.dev
|
||||||
description: Secrets engine UI (after init/unseal)
|
description: Secrets engine UI (after init/unseal)
|
||||||
widgets:
|
widgets:
|
||||||
|
- datetime:
|
||||||
|
text_size: xl
|
||||||
|
format:
|
||||||
|
dateStyle: medium
|
||||||
|
timeStyle: short
|
||||||
|
- kubernetes:
|
||||||
|
cluster:
|
||||||
|
show: true
|
||||||
|
cpu: true
|
||||||
|
memory: true
|
||||||
|
showLabel: true
|
||||||
|
label: Cluster
|
||||||
|
nodes:
|
||||||
|
show: true
|
||||||
|
cpu: true
|
||||||
|
memory: true
|
||||||
|
showLabel: true
|
||||||
- search:
|
- search:
|
||||||
provider: duckduckgo
|
provider: duckduckgo
|
||||||
target: _blank
|
target: _blank
|
||||||
kubernetes:
|
kubernetes:
|
||||||
mode: disable
|
mode: cluster
|
||||||
settingsString: |
|
settingsString: |
|
||||||
title: Noble Lab
|
title: Noble Lab
|
||||||
headerStyle: boxed
|
description: Homelab services — per-link uptime, cluster resources, and Prometheus targets on the Prometheus card
|
||||||
|
theme: dark
|
||||||
|
color: slate
|
||||||
|
headerStyle: boxedWidgets
|
||||||
|
statusStyle: dot
|
||||||
|
iconStyle: theme
|
||||||
|
fullWidth: true
|
||||||
|
useEqualHeights: true
|
||||||
layout:
|
layout:
|
||||||
Noble Lab:
|
Noble Lab:
|
||||||
|
style: row
|
||||||
|
columns: 4
|
||||||
|
|||||||
Reference in New Issue
Block a user