52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
##
|
|
# 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
|
|
existingSecret: "dbcreds"
|
|
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
|
|
##
|