Reorganized cnpg
This commit is contained in:
17
infra/cnpg/helm-release.yaml
Normal file
17
infra/cnpg/helm-release.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
values:
|
||||
replicaCount: 2
|
||||
8
infra/cnpg/helm-repository.yaml
Normal file
8
infra/cnpg/helm-repository.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: cnpg
|
||||
namespace: cnpg-system
|
||||
spec:
|
||||
interval: 1m0s
|
||||
url: https://cloudnative-pg.github.io/charts
|
||||
6
infra/cnpg/kustomization.yaml
Normal file
6
infra/cnpg/kustomization.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./namespace.yaml
|
||||
- ./helm-repository.yaml
|
||||
- ./helm-release.yaml
|
||||
4
infra/cnpg/namespace.yaml
Normal file
4
infra/cnpg/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: cnpg-system
|
||||
Reference in New Issue
Block a user