diff --git a/.gitea/workflows/render-manifests.yaml b/.gitea/workflows/render-manifests.yaml index d7ee7adc5..45de6c0f7 100644 --- a/.gitea/workflows/render-manifests.yaml +++ b/.gitea/workflows/render-manifests.yaml @@ -283,7 +283,7 @@ jobs: echo ">> Formating rendered template ..." local TEMPLATE - TEMPLATE=$(helm template "${CHART_NAME}" ./ --namespace "${NAMESPACE}" --include-crds --dry-run=server --api-versions "gateway.networking.k8s.io/v1/HTTPRoute,monitoring.coreos.com/v1/ServiceMonitor,monitoring.coreos.com/v1/PrometheusRule") + TEMPLATE=$(helm template "${CHART_NAME}" ./ --namespace "${NAMESPACE}" --include-crds --dry-run=server --api-versions "gateway.networking.k8s.io/v1,monitoring.coreos.com/v1") # Format and split rendered template echo "${TEMPLATE}" | yq '... comments=""' | yq 'select(. != null)' | yq -s '"'"${OUTPUT_FOLDER}"'" + .kind + "-" + .metadata.name + ".yaml"' diff --git a/clusters/cl01tl/helm/argocd/values.yaml b/clusters/cl01tl/helm/argocd/values.yaml index 788e28ff2..a641b8c9c 100644 --- a/clusters/cl01tl/helm/argocd/values.yaml +++ b/clusters/cl01tl/helm/argocd/values.yaml @@ -48,31 +48,31 @@ argo-cd: enabled: true rules: enabled: true - spec: - - alert: ArgoAppMissing - expr: | - absent(argocd_app_info) == 1 - for: 15m - labels: - severity: critical - annotations: - summary: "[Argo CD] No reported applications" - description: > - Argo CD has not reported any applications data for the past 15 minutes which - means that it must be down or not functioning properly. This needs to be - resolved for this cloud to continue to maintain state. - - alert: ArgoAppNotSynced - expr: | - argocd_app_info{sync_status!="Synced"} == 1 - for: 12h - labels: - severity: warning - annotations: - summary: "[{{`{{$labels.name}}`}}] Application not synchronized" - description: > - The application [{{`{{$labels.name}}`}} has not been synchronized for over - 12 hours which means that the state of this cloud has drifted away from the - state inside Git. + spec: + - alert: ArgoAppMissing + expr: | + absent(argocd_app_info) == 1 + for: 15m + labels: + severity: critical + annotations: + summary: "[Argo CD] No reported applications" + description: > + Argo CD has not reported any applications data for the past 15 minutes which + means that it must be down or not functioning properly. This needs to be + resolved for this cloud to continue to maintain state. + - alert: ArgoAppNotSynced + expr: | + argocd_app_info{sync_status!="Synced"} == 1 + for: 12h + labels: + severity: warning + annotations: + summary: "[{{`{{$labels.name}}`}}] Application not synchronized" + description: > + The application [{{`{{$labels.name}}`}} has not been synchronized for over + 12 hours which means that the state of this cloud has drifted away from the + state inside Git. dex: enabled: true resources: