Add Uptime Kuma to Kubernetes
This commit is contained in:
@@ -12,3 +12,4 @@ resources:
|
|||||||
- monitoring
|
- monitoring
|
||||||
- pinchflat
|
- pinchflat
|
||||||
- smokeping
|
- smokeping
|
||||||
|
- uptimekuma
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: uptime-kuma
|
||||||
|
namespace: uptime-kuma
|
||||||
|
spec:
|
||||||
|
interval: "24h"
|
||||||
|
url: "https://helm.irsigler.cloud"
|
||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: uptime-kuma
|
||||||
|
namespace: uptime-kuma
|
||||||
|
spec:
|
||||||
|
interval: 10m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: uptime-kuma
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: uptime-kuma
|
||||||
|
interval: "1h"
|
||||||
|
values:
|
||||||
|
volume:
|
||||||
|
storageClassName: longhorn-default
|
||||||
|
image:
|
||||||
|
tag: "2.0.2"
|
||||||
|
externalDatabase:
|
||||||
|
enabled: true
|
||||||
|
hostname: mariadb-cluster.mariadb-operator.svc.cluster.local
|
||||||
|
database: uptimekuma
|
||||||
|
existingSecret: uptimekuma-mariadb-password
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: uptime-kuma-tailscale
|
||||||
|
namespace: uptime-kuma
|
||||||
|
spec:
|
||||||
|
ingressClassName: tailscale
|
||||||
|
defaultBackend:
|
||||||
|
service:
|
||||||
|
name: uptime-kuma
|
||||||
|
port:
|
||||||
|
number: 3001
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- kuma
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
namespace: uptimekuma
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- secrets.yaml
|
||||||
|
- chart.yaml
|
||||||
|
- ingress.yaml
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: uptimekuma
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: uptimekuma-mariadb-password
|
||||||
|
spec:
|
||||||
|
target:
|
||||||
|
name: uptimekuma-mariadb-password
|
||||||
|
deletionPolicy: Delete
|
||||||
|
template:
|
||||||
|
type: kubernetes.io/basic-auth
|
||||||
|
data:
|
||||||
|
username: |-
|
||||||
|
{{ .username }}
|
||||||
|
password: |-
|
||||||
|
{{ .password }}
|
||||||
|
secretStoreRef:
|
||||||
|
name: bitwarden-login
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
data:
|
||||||
|
- secretKey: username
|
||||||
|
remoteRef:
|
||||||
|
key: 4df95656-9f9c-4916-8e34-b3a200376365
|
||||||
|
property: username
|
||||||
|
- secretKey: password
|
||||||
|
remoteRef:
|
||||||
|
key: 4df95656-9f9c-4916-8e34-b3a200376365
|
||||||
|
property: password
|
||||||
+5
-1
@@ -150,7 +150,11 @@ in
|
|||||||
"app.update.auto" = false;
|
"app.update.auto" = false;
|
||||||
"browser.ctrlTab.sortByRecentlyUsed" = true;
|
"browser.ctrlTab.sortByRecentlyUsed" = true;
|
||||||
"browser.startup.page" = 3;
|
"browser.startup.page" = 3;
|
||||||
"browser.startup.homepage" = "https://thehellings.com";
|
"browser.startup.homepage" =
|
||||||
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||||
|
"https://thehellings.com"
|
||||||
|
else
|
||||||
|
"https://kuma.shire-zebra.ts.net/";
|
||||||
"doh-rollout.doorhanger-decision" = "UIDisabled";
|
"doh-rollout.doorhanger-decision" = "UIDisabled";
|
||||||
"doh-rollout.doneFirstRun" = true;
|
"doh-rollout.doneFirstRun" = true;
|
||||||
"signon.rememberSignons" = false;
|
"signon.rememberSignons" = false;
|
||||||
|
|||||||
@@ -253,6 +253,10 @@
|
|||||||
name = "Smokeping";
|
name = "Smokeping";
|
||||||
url = "https://ping.shire-zebra.ts.net/smokeping/smokeping.cgi";
|
url = "https://ping.shire-zebra.ts.net/smokeping/smokeping.cgi";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "Uptime Kuma";
|
||||||
|
url = "https://kuma.shire-zebra.ts.net";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user