flux-infra/infrastructure/controllers/cloudnative-pg.yaml

30 lines
547 B
YAML

apiVersion: v1
kind: Namespace
metadata:
name: cnpg-system
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: cnpg
namespace: cnpg-system
spec:
interval: 1m0s
url: https://cloudnative-pg.github.io/charts
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: cnpg
namespace: cnpg-system
spec:
chart:
spec:
chart: cloudnative-pg
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: cnpg
version: 0.22.0
interval: 1m0s