mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 08:47:17 +02:00
81 lines
1.9 KiB
YAML
81 lines
1.9 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: healthchecks
|
|
namespace: monitoring
|
|
spec:
|
|
interval: 5m
|
|
chart:
|
|
spec:
|
|
# renovate: registryUrl=https://k8s-at-home.com/charts/
|
|
chart: healthchecks
|
|
version: 3.0.1
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: k8s-at-home-charts
|
|
namespace: flux-system
|
|
interval: 5m
|
|
values:
|
|
image:
|
|
repository: linuxserver/healthchecks
|
|
tag: v1.19.0-ls79
|
|
pullPolicy: IfNotPresent
|
|
|
|
controllerType: deployment
|
|
|
|
strategy:
|
|
type: Recreate
|
|
|
|
resources: {}
|
|
|
|
env:
|
|
SECRET_KEY: ${SECRET_HEALTHECKS_SECRET_KEY}
|
|
REGENERATE_SETTINGS: "True"
|
|
EMAIL_USE_TLS: "True"
|
|
ALLOWED_HOSTS: "*"
|
|
DB: postgres
|
|
DB_HOST: postgresql-kube.data.svc.cluster.local.
|
|
DB_PORT: 5432
|
|
DB_NAME: healthchecks
|
|
DB_USER: healthchecks
|
|
DB_PASSWORD: ${SECRET_HEALTHCHECKS_DB_PASSWORD}
|
|
SUPERUSER_EMAIL: ${SECRET_HEALTHCHECKS_SUPERUSER_EMAIL}
|
|
SUPERUSER_PASSWORD: ${SECRET_HEALTHCHECKS_SUPERUSER_PASSWORD}
|
|
DISCORD_CLIENT_ID: ${SECRET_HEALTHCHECKS_DISCORD_CLIENT_ID}
|
|
DISCORD_CLIENT_SECRET: ${SECRET_HEALTHCHECKS_DISCORD_CLIENT_SECRET}
|
|
SITE_ROOT: "https://healthchecks.${SECRET_CLUSTER_DOMAIN}"
|
|
SITE_NAME: "Homelab HealthChecks"
|
|
|
|
service:
|
|
main:
|
|
annotations:
|
|
prometheus.io/probe: "true"
|
|
prometheus.io/protocol: http
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
podAnnotations: {}
|
|
|
|
persistence:
|
|
config:
|
|
enabled: false
|
|
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
annotations:
|
|
kubernetes.io/ingress.class: "nginx"
|
|
hosts:
|
|
- host: healthchecks.${SECRET_CLUSTER_DOMAIN}
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- "healthchecks.${SECRET_CLUSTER_DOMAIN}"
|