Files
auricom-home-cluster/kubernetes/apps/monitoring/gatus/app/helmrelease.yaml
feisar-bot 662f18bf5f ⬆️ Update image ghcr.io/twin/gatus to v5.7.0
| datasource | package            | from   | to     |
| ---------- | ------------------ | ------ | ------ |
| docker     | ghcr.io/twin/gatus | v5.6.0 | v5.7.0 |
2023-11-14 08:51:08 +01:00

129 lines
3.3 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: gatus
namespace: monitoring
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.2.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/auricom/postgres-init
tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
pullPolicy: IfNotPresent
envFrom: &envFrom
- secretRef:
name: gatus-secret
init-config:
order: 2
image: &configSyncImage
repository: ghcr.io/kiwigrid/k8s-sidecar
tag: 1.25.2
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.7.0
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.home.arpa/enabled: "true"
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