try new psql operator

This commit is contained in:
j 2025-07-12 21:14:45 +10:00
parent fee0b443da
commit e4abfa72f4
4 changed files with 67 additions and 17 deletions

View file

@ -1,5 +0,0 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: a

View file

@ -1,5 +0,0 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: b

View file

@ -1,7 +0,0 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- a.yaml
- b.yaml

View file

@ -0,0 +1,67 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: zalando-postgres-operator
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: postgres-operator-charts
namespace: flux-system
spec:
interval: 1h
url: https://opensource.zalando.com/postgres-operator/charts/postgres-operator
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: postgres-operator
namespace: zalando-postgres-operator
spec:
interval: 30m
chart:
spec:
chart: postgres-operator
version: 1.10.1 # Optional: adjust if newer versions become available
sourceRef:
kind: HelmRepository
name: postgres-operator-charts
namespace: flux-system
install:
createNamespace: true
values:
configGeneral:
enable_crd_registration: true
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: postgres-operator-ui-charts
namespace: flux-system
spec:
interval: 1h
url: https://opensource.zalando.com/postgres-operator/charts/postgres-operator-ui
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: postgres-operator-ui
namespace: zalando-postgres-operator
spec:
interval: 30m
chart:
spec:
chart: postgres-operator-ui
version: 1.10.1 # Optional: update based on available version
sourceRef:
kind: HelmRepository
name: postgres-operator-ui-charts
namespace: flux-system
install:
createNamespace: true