This commit is contained in:
2025-06-07 01:50:28 -04:00
parent 02f503786b
commit 4d9fd7196c
4 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: cnpg
namespace: flux-system
spec:
interval: 15m
url: https://cloudnative-pg.github.io/charts

View File

@@ -0,0 +1,18 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cnpg
namespace: flux-system
spec:
interval: 15m
path: ./cnpg
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:
kind: GitRepository
name: flux-system
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
name: cnpg
namespace: cnpg

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: cnpg

View File

@@ -0,0 +1,18 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: cnpg
namespace: cnpg
spec:
chart:
spec:
chart: cnpg
version: 0.24.x
sourceRef:
kind: HelmRepository
name: cnpg
namespace: flux-system
interval: 15m
timeout: 5m
releaseName: cnpg
values: