Files
home-docker/postgres-values.yaml
T

72 lines
1.4 KiB
YAML

# image:
# repository: postgres
# tag: 11
# postgresqlDataDir: /bitnami/postgresql
postgresqlDatabase: home
# TODO: need to UPDATE DATA before update this image tag
# error: DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 14.1.
image:
tag: 11
volumePermissions:
enabled: true
securityContext:
fsGroup: 1000
runAsUser: 1000
service:
type: NodePort
nodePort: 32222
metrics:
enabled: false
serviceMonitor:
enabled: true
additionalLabels:
release: prometheus
customLivenessProbe:
exec:
command:
- telnet
- localhost
- 5432
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 5
successThreshold: 2
failureThreshold: 6
customRreadinessProbe:
exec:
command:
- telnet
- localhost
- 5432
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 5
successThreshold: 2
failureThreshold: 6
primary:
persistence:
mountPath: /bitnami/postgresql
storageClass: local
existingClaim: local-postgres-pvc
nodeSelector:
kubernetes.io/hostname: server-1
tolerations:
- key: "node"
operator: "Equal"
value: "special"
effect: "NoSchedule"
- key: node-role.kubernetes.io/master
operator: Equal
value: ""
effect: NoSchedule
readReplicas:
replicaCount: 0
persistence:
enabled: false