Files
api-company/flux/monitoring/gatus-helmrelease.yaml
agent-company b8ba748db7
Validate Flux manifests / kustomize-build (pull_request) Failing after 16s
feat: extend Flux image automation, Gatus, and docs for VIN Decoder
Closes leeworks-agents/api-company#133
Closes leeworks-agents/api-company#134
Closes leeworks-agents/api-company#135
Closes leeworks-agents/api-company#136

- flux/image-automation/imagerepositories.yaml: add vin-decoder ImageRepository
  pointing at registry.leeworks.dev/vin-decoder/api (#133)
- flux/image-automation/imagepolicies.yaml: add vin-decoder ImagePolicy
  with semver range >=0.1.0 (#133)
- flux/monitoring/gatus-helmrelease.yaml: add VIN Decoder API endpoint check
  targeting https://vin.leeworks.dev/v1/health with Slack alert (#134)
- docs/pre-launch-checklist.md: add vin-decoder to Infrastructure, DNS & TLS,
  Functional Verification, and Legal sections; update status page line to
  reference all four APIs (#135)
- docs/secrets-checklist.md: add items #11-13 for vin-decoder GITEA_TOKEN,
  gitea-registry, and rapidapi-proxy-secret; add detail sections for each (#136)

kustomize build flux/ passes with zero errors.
2026-05-31 00:04:20 +00:00

104 lines
2.6 KiB
YAML

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: gatus
namespace: monitoring
spec:
interval: 15m
chart:
spec:
chart: gatus
version: ">=1.0.0"
sourceRef:
kind: HelmRepository
name: minicloudlabs
namespace: flux-system
interval: 60m
values:
ingress:
enabled: true
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- host: status.leeworks.dev
paths:
- path: /
pathType: Prefix
tls:
- secretName: gatus-tls
hosts:
- status.leeworks.dev
config:
storage:
type: sqlite
path: /data/gatus.db
endpoints:
- name: ZIP Enrichment API
url: https://zip.leeworks.dev/health
interval: 1m
conditions:
- "[STATUS] == 200"
- "[RESPONSE_TIME] < 1000"
alerts:
- type: slack
description: "ZIP Enrichment API is down"
send-on-resolved: true
- name: Holidays API
url: https://holidays.leeworks.dev/health
interval: 1m
conditions:
- "[STATUS] == 200"
- "[RESPONSE_TIME] < 1000"
alerts:
- type: slack
description: "Holidays API is down"
send-on-resolved: true
- name: Air Quality API
url: https://aqi.leeworks.dev/health
interval: 1m
conditions:
- "[STATUS] == 200"
- "[RESPONSE_TIME] < 1000"
alerts:
- type: slack
description: "Air Quality API is down"
send-on-resolved: true
- name: VIN Decoder API
url: https://vin.leeworks.dev/v1/health
interval: 1m
conditions:
- "[STATUS] == 200"
- "[RESPONSE_TIME] < 1000"
alerts:
- type: slack
- name: Docs Site
url: https://docs.leeworks.dev
interval: 5m
conditions:
- "[STATUS] == 200"
- name: Container Registry
url: https://registry.leeworks.dev/v2/
interval: 5m
conditions:
- "[STATUS] == 200"
ui:
title: "leeworks.dev API Status"
description: "Real-time status for all leeworks.dev APIs"
logo: ""
# Retention: 90 days
retention:
days: 90
persistence:
enabled: true
size: 1Gi
mountPath: /data