TrueChartsClone/charts/dependency/postgresql/values.yaml

70 lines
1.9 KiB
YAML
Raw Normal View History

image:
repository: ghcr.io/truecharts/postgresql
pullPolicy: IfNotPresent
tag: v14.1.0@sha256:6a65ba0081b1a9936b1e28a3605a29b47a9cfe13dc367046dc3bcb5446c0b441
controller:
# -- Set the controller type.
# Valid options are deployment, daemonset or statefulset
type: statefulset
# -- Number of desired pods
replicas: 1
# -- Set the controller upgrade strategy
# For Deployments, valid values are Recreate (default) and RollingUpdate.
# For StatefulSets, valid values are OnDelete and RollingUpdate (default).
# DaemonSets ignore this.
strategy: RollingUpdate
rollingUpdate:
# -- Set deployment RollingUpdate max unavailable
unavailable: 1
# -- Set deployment RollingUpdate max surge
surge:
# -- Set statefulset RollingUpdate partition
partition:
# -- ReplicaSet revision history limit
revisionHistoryLimit: 3
securityContext:
readOnlyRootFilesystem: false
service:
main:
ports:
main:
port: 5432
targetPort: 5432
## TODO: Fix the backup-on-upgrade system
enableUpgradeBackup: false
podSecurityContext:
runAsGroup: 0
volumeClaimTemplates:
2021-08-13 21:43:13 +00:00
db:
enabled: true
2021-12-05 11:37:24 +00:00
mountPath: "/bitnami/postgresql"
postgresqlPassword: "testpass"
postgresqlUsername: "test"
postgresqlDatabase: "test"
postgrespassword: "testroot"
existingSecret: ""
envValueFrom:
POSTGRES_PASSWORD:
secretKeyRef:
2021-08-27 14:50:19 +00:00
name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
key: "postgresql-password"
POSTGRESQL_POSTGRES_PASSWORD:
secretKeyRef:
name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
key: "postgresql-postgres-password"
envTpl:
POSTGRES_USER: "{{ .Values.postgresqlUsername }}"
POSTGRES_DB: "{{ .Values.postgresqlDatabase }}"
# POSTGRESQL_POSTGRES_PASSWORD: "{{ .Values.postgrespassword }}"
# POSTGRESQL_PASSWORD: "{{ .Values.password }}"