fix: homepage

This commit is contained in:
auricom
2024-05-17 00:53:47 +02:00
parent 459f551507
commit 8114807fe5
7 changed files with 35 additions and 22 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -61,6 +61,9 @@ spec:
ports:
http:
port: 3000
serviceAccount:
create: true
name: *app
ingress:
app:
enabled: true

View File

@@ -6,6 +6,7 @@ namespace: default
resources:
- ./externalsecret.yaml
- ./helmrelease.yaml
- ./rbac.yaml
- ../../../../templates/gatus/guarded
configMapGenerator:
- name: homepage-config

View File

@@ -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