2024-01-23 01:17:39 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
2023-04-06 22:39:06 -04:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: postgresql
|
|
|
|
namespace: database
|
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: postgresql
|
2024-03-05 20:03:36 +00:00
|
|
|
version: 14.3.x
|
2023-04-06 22:39:06 -04:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bitnami-charts
|
|
|
|
namespace: flux-system
|
|
|
|
values:
|
|
|
|
auth:
|
|
|
|
existingSecret: "pgsql-secrets"
|
|
|
|
secretKeys:
|
|
|
|
adminPasswordKey: "adminPassword"
|
|
|
|
replicationPasswordKey: "replicationPassword"
|
2023-04-10 20:40:18 -04:00
|
|
|
|
2023-08-24 17:13:58 -04:00
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
labels:
|
|
|
|
release: kube-prometheus-stack
|
|
|
|
|
2023-04-10 21:13:13 -04:00
|
|
|
volumePermissions:
|
|
|
|
enabled: true
|
2023-04-10 21:50:10 -04:00
|
|
|
|
2023-04-10 22:51:45 -04:00
|
|
|
primary:
|
|
|
|
persistence:
|
2023-06-01 22:14:27 -04:00
|
|
|
existingClaim: "postgresql-pv-claim"
|
|
|
|
|
|
|
|
containerSecurityContext:
|
|
|
|
enabled: true
|
|
|
|
runAsUser: 10000
|
|
|
|
|
|
|
|
readReplicas:
|
|
|
|
containerSecurityContext:
|
|
|
|
enabled: true
|
|
|
|
runAsUser: 10000
|