mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
fix: homepage
This commit is contained in:
11
.github/renovate/grafanaDashboards.json5
vendored
11
.github/renovate/grafanaDashboards.json5
vendored
@@ -12,13 +12,14 @@
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Process Grafana dashboards",
|
||||
"description": ["Process Grafana dashboards"],
|
||||
"fileMatch": [
|
||||
"(^|/)kubernetes/.+\\.ya?ml(\\.j2)?$"
|
||||
"(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"depName=\"(?<depName>.*)\"\\n.*?gnetId: (?<packageName>\\d+)\\n.*?revision: (?<currentValue>\\d+)"
|
||||
"depName=\"(?<depName>.*)\"\\n(?<indentation>\\s+)gnetId: (?<packageName>\\d+)\\n.+revision: (?<currentValue>\\d+)"
|
||||
],
|
||||
"autoReplaceStringTemplate": "depName=\"{{{depName}}}\"\n{{{indentation}}}gnetId: {{{packageName}}}\n{{{indentation}}}revision: {{{newValue}}}",
|
||||
"datasourceTemplate": "custom.grafana-dashboards",
|
||||
"versioningTemplate": "regex:^(?<major>\\d+)$"
|
||||
}
|
||||
@@ -26,10 +27,10 @@
|
||||
"packageRules": [
|
||||
{
|
||||
"addLabels": ["renovate/grafana-dashboard"],
|
||||
"matchDatasources": ["grafana-dashboards", "custom.grafana-dashboards"],
|
||||
"matchDatasources": ["custom.grafana-dashboards"],
|
||||
"matchUpdateTypes": ["major"],
|
||||
"semanticCommitType": "chore",
|
||||
"semanticCommitScope": "grafana-dashboards",
|
||||
"semanticCommitType": "",
|
||||
"commitMessageTopic": "dashboard {{depName}}",
|
||||
"commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )"
|
||||
}
|
||||
|
@@ -1,12 +1,12 @@
|
||||
---
|
||||
- Home:
|
||||
- HomeAssistant:
|
||||
href: https://hass.${SECRET_EXTERNAL_DOMAIN}
|
||||
href: https://hass.${SECRET_CLUSTER_DOMAIN}
|
||||
icon: home-assistant.png
|
||||
description: Home Assistant
|
||||
widget:
|
||||
type: homeassistant
|
||||
url: https://hass.${SECRET_EXTERNAL_DOMAIN}
|
||||
url: http://home-assistant.default.svc.cluster.local.:8123
|
||||
key: "{{HOMEPAGE_VAR_HASS_TOKEN}}"
|
||||
- Media:
|
||||
- Sonarr:
|
||||
|
@@ -2,12 +2,15 @@
|
||||
#- logo:
|
||||
# icon: https://raw.githubusercontent.com/LilDrunkenSmurf/k3s-home-cluster/main/icons/lds-transparent.png
|
||||
- search:
|
||||
provider: [duckduckgo, google]
|
||||
provider: custom
|
||||
url: https://kagi.com/search?q=
|
||||
focus: false
|
||||
target: _blank
|
||||
suggestionUrl: https://kagi.com/api/autosuggest?q=
|
||||
showSearchSuggestions: true
|
||||
- greeting:
|
||||
text_size: xl
|
||||
text: "Greetings, Citizen."
|
||||
text: Greetings, Citizen.
|
||||
- kubernetes:
|
||||
cluster:
|
||||
cpu: true
|
||||
@@ -24,7 +27,7 @@
|
||||
label: Home
|
||||
latitude: ${LATITUDE}
|
||||
longitude: ${LONGITUDE}
|
||||
timezone: America/Toronto
|
||||
timezone: Europe/Paris
|
||||
units: metric
|
||||
cache: 5
|
||||
- datetime:
|
||||
|
@@ -61,6 +61,9 @@ spec:
|
||||
ports:
|
||||
http:
|
||||
port: 3000
|
||||
serviceAccount:
|
||||
create: true
|
||||
name: *app
|
||||
ingress:
|
||||
app:
|
||||
enabled: true
|
||||
|
@@ -6,6 +6,7 @@ namespace: default
|
||||
resources:
|
||||
- ./externalsecret.yaml
|
||||
- ./helmrelease.yaml
|
||||
- ./rbac.yaml
|
||||
- ../../../../templates/gatus/guarded
|
||||
configMapGenerator:
|
||||
- name: homepage-config
|
||||
|
@@ -24,13 +24,6 @@ rules:
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- apiGroups:
|
||||
- traefik.containo.us
|
||||
resources:
|
||||
- ingressroutes
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- apiGroups:
|
||||
- metrics.k8s.io
|
||||
resources:
|
||||
@@ -45,6 +38,7 @@ rules:
|
||||
- customresourcedefinitions/status
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
@@ -60,4 +54,4 @@ roleRef:
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: *app
|
||||
namespace: self-hosted # keep
|
||||
namespace: default # keep
|
||||
|
@@ -155,7 +155,7 @@ spec:
|
||||
type: prometheus
|
||||
uid: prometheus
|
||||
access: proxy
|
||||
url: http://thanos-query-frontend.monitoring.svc.cluster.local.:9090
|
||||
url: http://thanos-query-frontend.monitoring.svc.cluster.local.:10902
|
||||
isDefault: true
|
||||
# - name: Loki
|
||||
# type: loki
|
||||
@@ -177,14 +177,17 @@ spec:
|
||||
homelab-temperatures:
|
||||
url: https://raw.githubusercontent.com/auricom/home-ops/main/kubernetes/apps/monitoring/grafana/dashboards/homelab-temperatures.json
|
||||
datasource: Prometheus
|
||||
truenas:
|
||||
url: https://raw.githubusercontent.com/auricom/home-ops/main/kubernetes/apps/monitoring/grafana/dashboards/truenas.json
|
||||
datasource: Prometheus
|
||||
external-dns:
|
||||
# renovate: depName="External-dns"
|
||||
gnetId: 15038
|
||||
revision: 3
|
||||
datasource: Prometheus
|
||||
minio:
|
||||
# renovate: depName="MinIO Dashboard"
|
||||
gnetId: 13502
|
||||
revision: 26
|
||||
datasource:
|
||||
- { name: DS_PROMETHEUS, value: Prometheus }
|
||||
node-exporter-full:
|
||||
# renovate: depName="Node Exporter Full"
|
||||
gnetId: 1860
|
||||
@@ -196,9 +199,17 @@ spec:
|
||||
revision: 1
|
||||
datasource:
|
||||
- { name: DS_PROMETHEUS, value: Prometheus }
|
||||
zfs:
|
||||
# renovate: depName="ZFS"
|
||||
gnetId: 7845
|
||||
revision: 4
|
||||
datasource: Prometheus
|
||||
cert-manager:
|
||||
url: https://raw.githubusercontent.com/monitoring-mixins/website/master/assets/cert-manager/dashboards/cert-manager.json
|
||||
datasource: Prometheus
|
||||
dragonfly:
|
||||
url: https://raw.githubusercontent.com/dragonflydb/dragonfly/main/tools/local/monitoring/grafana/provisioning/dashboards/dashboard.json
|
||||
datasource: Prometheus
|
||||
external-secrets:
|
||||
url: https://raw.githubusercontent.com/external-secrets/external-secrets/main/docs/snippets/dashboard.json
|
||||
datasource: Prometheus
|
||||
|
Reference in New Issue
Block a user