54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/redmine
|
|
pullPolicy: IfNotPresent
|
|
tag: v5.0.2@sha256:2ab6ce7ab0a212d2a6fac60610b5b37f6d489f9cf2e6df798ba823d263ccaf32
|
|
|
|
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_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
|
|
redmine:
|
|
plugins_migrate: true
|
|
no_db_migrate: false
|
|
|
|
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
|
|
|
|
portal:
|
|
enabled: true
|