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

49 lines
1,002 B
YAML
Raw Normal View History

apiVersion: helm.toolkit.fluxcd.io/v2
2023-04-07 02:39:06 +00:00
kind: HelmRelease
metadata:
name: postgresql
namespace: database
spec:
interval: 5m
chart:
spec:
chart: postgresql
version: 14.3.x
2023-04-07 02:39:06 +00:00
sourceRef:
kind: HelmRepository
name: bitnami-charts
namespace: flux-system
values:
auth:
existingSecret: "pgsql-secrets"
secretKeys:
adminPasswordKey: "adminPassword"
replicationPasswordKey: "replicationPassword"
2023-04-11 00:40:18 +00:00
tls:
enabled: true
certificatesSecret: postgres-cert
certFilename: "tls.crt"
certKeyFilename: "tls.key"
serviceMonitor:
enabled: true
labels:
release: kube-prometheus-stack
2023-04-11 01:13:13 +00:00
volumePermissions:
enabled: true
2023-04-11 01:50:10 +00:00
2023-04-11 02:51:45 +00:00
primary:
persistence:
existingClaim: "postgresql-pv-claim"
containerSecurityContext:
enabled: true
runAsUser: 10000
readReplicas:
containerSecurityContext:
enabled: true
runAsUser: 10000