--- # yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json apiVersion: helm.toolkit.fluxcd.io/v2beta2 kind: HelmRelease metadata: name: gatus namespace: monitoring spec: interval: 30m chart: spec: chart: app-template version: 2.6.0 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system maxHistory: 2 install: createNamespace: true remediation: retries: 3 upgrade: cleanupOnFail: true remediation: retries: 3 uninstall: keepHistory: false values: controllers: main: annotations: reloader.stakater.com/auto: "true" initContainers: init-db: order: 1 image: repository: ghcr.io/onedr0p/postgres-init tag: 16 pullPolicy: IfNotPresent envFrom: &envFrom - secretRef: name: gatus-secret init-config: order: 2 image: &configSyncImage repository: ghcr.io/kiwigrid/k8s-sidecar tag: 1.26.1@sha256:b8d5067137fec093cf48670dc3a1dbb38f9e734f3a6683015c2e89a45db5fd16 env: FOLDER: /config LABEL: gatus.io/enabled NAMESPACE: ALL RESOURCE: both UNIQUE_FILENAMES: true METHOD: LIST resources: &configSyncResources requests: cpu: 10m memory: 10Mi limits: memory: 128Mi containers: main: image: repository: ghcr.io/twin/gatus tag: v5.8.0@sha256:fecb4c38722df59f5e00ab4fcf2393d9b8dad9161db208d8d79386dc86da8a55 env: TZ: ${TIMEZONE} GATUS_CONFIG_PATH: /config CUSTOM_WEB_PORT: &port 8080 SECRET_CLUSTER_DOMAIN: ${SECRET_CLUSTER_DOMAIN} envFrom: *envFrom resources: requests: cpu: 10m memory: 256M limits: memory: 512M config-sync: image: *configSyncImage env: FOLDER: /config LABEL: gatus.io/enabled NAMESPACE: ALL RESOURCE: both UNIQUE_FILENAMES: true METHOD: WATCH envFrom: *envFrom resources: *configSyncResources service: main: ports: http: port: *port serviceMonitor: main: enabled: true ingress: main: enabled: true className: nginx annotations: external-dns.alpha.kubernetes.io/enabled: "true" external-dns.alpha.kubernetes.io/target: services.${SECRET_DOMAIN}. hajimari.io/icon: mdi:list-status hosts: - host: &host "status.${SECRET_CLUSTER_DOMAIN}" paths: - path: / service: name: main port: http tls: - hosts: - *host serviceAccount: create: true name: gatus persistence: config: enabled: true type: emptyDir config-file: type: configMap name: gatus-configmap globalMounts: - path: /config/config.yaml subPath: config.yaml readOnly: true