Add failed-pod-cleanup HelmRelease and kustomization resources for brusnika-stage.
This commit is contained in:
parent
6f0dbbeef3
commit
476255433c
@ -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
|
||||
@ -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"
|
||||
@ -0,0 +1,5 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- release.yaml
|
||||
26
infrastructure/failed-pod-cleanup/base/release.yaml
Normal file
26
infrastructure/failed-pod-cleanup/base/release.yaml
Normal 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 * * *"
|
||||
6
infrastructure/failed-pod-cleanup/kustomization.yaml
Normal file
6
infrastructure/failed-pod-cleanup/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./base
|
||||
|
||||
@ -5,6 +5,7 @@ resources:
|
||||
- camunda
|
||||
- cert-manager
|
||||
- dashboard
|
||||
- failed-pod-cleanup
|
||||
- kafka
|
||||
- keycloak
|
||||
- local-path-provisioner
|
||||
|
||||
Loading…
Reference in New Issue
Block a user