2022-03-09 18:15:18 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/redmine
|
|
|
|
pullPolicy: IfNotPresent
|
2022-05-18 17:09:29 +00:00
|
|
|
tag: v5.0.1@sha256:b6ffd69e5badb6690b40e4ede5c81e5a1542467a22b1c18023f937e944b3289e
|
2022-03-09 18:15:18 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
REDMINE_DB_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
REDMINE_DB_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
REDMINE_DB_PORT: "5432"
|
|
|
|
|
|
|
|
# Anything but empty means true, empty means false
|
|
|
|
REDMINE_NO_DB_MIGRATE: "{{ ternary \"true\" \"\" .Values.redmine.no_db_migrate }}"
|
|
|
|
REDMINE_PLUGINS_MIGRATE: "{{ ternary \"true\" \"\" .Values.redmine.plugins_migrate }}"
|
|
|
|
|
|
|
|
redmine:
|
|
|
|
plugins_migrate: true
|
|
|
|
no_db_migrate: false
|
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
REDMINE_DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
REDMINE_DB_POSTGRES:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
REDMINE_SECRET_KEY_BASE:
|
|
|
|
secretKeyRef:
|
|
|
|
name: redmine-secrets
|
|
|
|
key: REDMINE_SECRET_KEY_BASE
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10171
|
|
|
|
targetPort: 3000
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/usr/src/redmine/files"
|
|
|
|
|
|
|
|
# Enabled postgres
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: redmine
|
|
|
|
postgresqlDatabase: redmine
|