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

29 lines
650 B
YAML
Raw Normal View History

2023-04-07 02:39:06 +00:00
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:
username: k3spostgresql
existingSecret: "pgsql-secrets"
secretKeys:
adminPasswordKey: "adminPassword"
userPasswordKey: "userPassword"
replicationPasswordKey: "replicationPassword"
2023-04-11 00:40:18 +00:00
2023-04-11 01:13:13 +00:00
volumePermissions:
enabled: true
2023-04-11 01:50:10 +00:00
2023-04-11 01:13:13 +00:00
persistence:
2023-04-11 01:50:10 +00:00
existingClaim: "postgresql-pv-claim"