From e38494b47636d21ad5fc3ecf63d6957363209e1a Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Sat, 13 Apr 2024 09:37:40 -0500 Subject: [PATCH] Add missing config collection. --- .../observability/gatus/app/helmrelease.yaml | 25 +++++++++++++++---- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/kubernetes/apps/observability/gatus/app/helmrelease.yaml b/kubernetes/apps/observability/gatus/app/helmrelease.yaml index 65199d3f..eb8bda49 100644 --- a/kubernetes/apps/observability/gatus/app/helmrelease.yaml +++ b/kubernetes/apps/observability/gatus/app/helmrelease.yaml @@ -27,6 +27,25 @@ spec: gatus: annotations: reloader.stakater.com/auto: "true" + initContainers: + init-config: + dependsOn: init-db + image: + 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: WATCH + restartPolicy: Always + resources: &resources + requests: + cpu: 10m + limits: + memory: 256Mi containers: app: image: @@ -57,11 +76,7 @@ spec: allowPrivilegeEscalation: false readOnlyRootFilesystem: true capabilities: { drop: ["ALL"] } - resources: - requests: - cpu: 10m - limits: - memory: 256Mi + resources: *resources pod: dnsConfig: options: