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

62 lines
1.4 KiB
YAML
Raw Normal View History

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
version: 12.12.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
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:
existingClaim: "postgresql-pv-claim"
containerSecurityContext:
enabled: true
runAsUser: 10000
2023-10-22 12:25:20 -04:00
extendedConfiguration: |-
huge_pages = off
extraVolumeMounts:
- name: pg-sample-config
mountPath: /opt/bitnami/postgresql/share/postgresql.conf.sample
subPath: postgresql.conf.sample
extraVolumes:
- configMap:
name: pg-sample-config
name: pg-sample-config
extraDeploy:
- apiVersion: v1
kind: ConfigMap
metadata:
name: pg-sample-config
data:
postgresql.conf.sample: |-
huge_pages = off
readReplicas:
containerSecurityContext:
enabled: true
runAsUser: 10000