2021-09-26 18:24:58 +00:00
|
|
|
##
|
|
|
|
# This file contains Values.yaml content that gets added to the output of questions.yaml
|
|
|
|
# It's ONLY meant for content that the user is NOT expected to change.
|
|
|
|
# Example: Everything under "image" is not included in questions.yaml but is included here.
|
|
|
|
##
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/truecharts/sogo
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
tag: v5.2.0@sha256:8fc7bb87b77d76d929bcd36403d4f27878fa3e99f5448fb05ed64829078665a4
|
|
|
|
|
|
|
|
initContainers:
|
|
|
|
migrate-db:
|
|
|
|
image: "{{ .Values.alpineImage.repository}}:{{ .Values.alpineImage.tag }}"
|
|
|
|
securityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
privileged: true
|
|
|
|
allowPrivilegeEscalation: true
|
|
|
|
runAsNonRoot: false
|
|
|
|
command:
|
|
|
|
- /bin/sh
|
|
|
|
- -cx
|
|
|
|
- |
|
|
|
|
echo 'trying to migrate old db to new location...'
|
|
|
|
mkdir -p /bitnami/postgresql/data
|
|
|
|
mv -f /bitnami/postgresql/old/* /bitnami/postgresql/data/ || true
|
|
|
|
chown -R {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} /bitnami/postgresql/data
|
|
|
|
chmod 775 /bitnami/postgresql/data
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
volumeMounts:
|
|
|
|
- name: db
|
|
|
|
mountPath: /bitnami/postgresql/old
|
|
|
|
- name: data
|
|
|
|
mountPath: /bitnami/postgresql
|
|
|
|
|
|
|
|
|
|
|
|
# Enabled postgres
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
2021-10-09 23:24:40 +00:00
|
|
|
existingSecret: "dbcreds"
|
2021-09-26 18:24:58 +00:00
|
|
|
postgresqlUsername: sogo
|
|
|
|
postgresqlDatabase: sogo
|
|
|
|
|
|
|
|
# -- memcached dependency settings
|
|
|
|
memcached:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
|
|
##
|
|
|
|
# Most other defaults are set in questions.yaml
|
|
|
|
# For other options please refer to the wiki, default_values.yaml or the common library chart
|
|
|
|
##
|