75 lines
1.4 KiB
YAML
75 lines
1.4 KiB
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
|
|
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: cnpg-database
|
|
---
|
|
apiVersion: source.toolkit.fluxcd.io/v1
|
|
kind: HelmRepository
|
|
metadata:
|
|
name: cnpg
|
|
namespace: cnpg-database
|
|
spec:
|
|
interval: 1m0s
|
|
url: https://cloudnative-pg.github.io/charts
|
|
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: cnpg
|
|
namespace: cnpg-database
|
|
spec:
|
|
chart:
|
|
spec:
|
|
chart: cluster
|
|
reconcileStrategy: ChartVersion
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: cnpg
|
|
version: 0.0.11
|
|
interval: 1m0s
|
|
values:
|
|
type: postgresql
|
|
mode: standalone
|
|
cluster:
|
|
instances: 1
|
|
backups:
|
|
enabled: true
|
|
provider: s3
|
|
endpointURL: https://s3.us-west-002.backblazeb2.com
|
|
s3:
|
|
bucket: titan-k3s-backup
|
|
path: /postgres
|
|
secret:
|
|
create: false
|
|
name: b2-access-key
|