k3s-cluster/cluster/apps/database/postgresql/helm-release.yaml

28 lines
No EOL
597 B
YAML

apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: postgresql
namespace: database
spec:
interval: 5m
chart:
spec:
chart: postgresql
version: 12.2.x
sourceRef:
kind: HelmRepository
name: bitnami-charts
namespace: flux-system
values:
auth:
existingSecret: "pgsql-secrets"
secretKeys:
adminPasswordKey: "adminPassword"
replicationPasswordKey: "replicationPassword"
volumePermissions:
enabled: true
primary:
persistence:
existingClaim: "postgresql-pv-claim"