## # 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: bitnami/postgresql pullPolicy: IfNotPresent tag: 13.4.0@sha256:33c276dffe6140d32f357753993c4088cf945a2d02d4c20d310f5a5e9d6e4a36 initContainers: migrate-db: image: "{{ .Values.alpineImage.repository}}:{{ .Values.alpineImage.tag }}" securityContext: runAsUser: 0 privileged: 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 envValueFrom: POSTGRES_PASSWORD: secretKeyRef: name: '{{ .Values.existingSecret | default ( include "common.names.fullname" . ) }}' key: "postgresql-password" envTpl: POSTGRES_USER: "{{ .Values.postgresqlUsername }}" POSTGRES_DB: "{{ .Values.postgresqlDatabase }}" # POSTGRESQL_POSTGRES_PASSWORD: "{{ .Values.postgrespassword }}" # POSTGRESQL_PASSWORD: "{{ .Values.password }}" ## # Most other defaults are set in questions.yaml # For other options please refer to the wiki, default_values.yaml or the common library chart ##