Add failed-pod-cleanup HelmRelease and kustomization resources for brusnika-stage.

This commit is contained in:
emelinda 2026-06-09 17:16:37 +03:00
parent 6f0dbbeef3
commit 476255433c
6 changed files with 60 additions and 0 deletions

View File

@ -10,6 +10,7 @@ resources:
- ./lb-service-override.yaml
- ./vault-ingress.yaml
- ./clusterissuer-letsencrypt.yaml
- ../../../infrastructure/failed-pod-cleanup
patches:
- path: ./patches/istio-gateway.yaml
target:
@ -39,3 +40,11 @@ patches:
kind: HelmRelease
name: zitadel
namespace: zitadel
- path: ./patches/failed-pod-cleanup.yaml
target:
group: helm.toolkit.fluxcd.io
version: v2
kind: HelmRelease
name: failed-pod-cleanup
namespace: default

View File

@ -0,0 +1,13 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: failed-pod-cleanup
namespace: default
spec:
values:
cleanup:
schedule:
_default: "0 0 * * *"
image:
_default: "cr.yandex/crp3ccidau046kdj8g9q/kubectl:latest"

View File

@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- release.yaml

View File

@ -0,0 +1,26 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: failed-pod-cleanup
namespace: default
spec:
interval: 5m
chart:
spec:
chart: failed-pod-cleanup
version: 0.1.3
sourceRef:
kind: HelmRepository
name: sarex-oci
namespace: flux-system
install:
remediation:
retries: 1
upgrade:
remediation:
retries: 1
values:
cleanup:
schedule:
_default: "0 0 * * *"

View File

@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./base

View File

@ -5,6 +5,7 @@ resources:
- camunda
- cert-manager
- dashboard
- failed-pod-cleanup
- kafka
- keycloak
- local-path-provisioner