Skip to content

Commit

Permalink
Add uptime kuma - #7
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorlin committed Aug 24, 2024
1 parent 74cbf38 commit 4cd84c1
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions infra/kubernetes/uptime-kuma/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
helm upgrade --install vac-uptime-kuma uptime-kuma/uptime-kuma --install --namespace uptime-kuma --create-namespace -f values.yaml
36 changes: 36 additions & 0 deletions infra/kubernetes/uptime-kuma/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
podEnv:
# a default port must be set. required by container
- name: "UPTIME_KUMA_PORT"
value: "3001"
- name: "NODE_OPTIONS"
value: "--insecure-http-parser"
ingress:
enabled: true
className: "traefik"
annotations:
cert-manager.io/cluster-issuer: "acme-prod"
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
nginx.ingress.kubernetes.io/server-snippets: |
location / {
proxy_set_header Upgrade $http_upgrade;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_cache_bypass $http_upgrade;
}
hosts:
- host: status.vaclab.org
paths:
- path: /
pathType: Prefix
tls:
- secretName: vaclab-uptime-tls-secret
hosts:
- "status.vaclab.org"

0 comments on commit 4cd84c1

Please sign in to comment.