2022-03-09 18:15:18 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/redmine
|
|
|
|
pullPolicy: IfNotPresent
|
2023-04-30 02:51:40 +00:00
|
|
|
tag: 5.0.5@sha256:fe5c178c945b1be77ec2fdf2e2d5f25e840915eef0bac659286cafcd9233e0e3
|
2022-06-07 17:41:19 +00:00
|
|
|
redmine:
|
|
|
|
plugins_migrate: true
|
|
|
|
no_db_migrate: false
|
2022-03-09 18:15:18 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10171
|
|
|
|
targetPort: 3000
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/usr/src/redmine/files"
|
|
|
|
# Enabled postgres
|
2023-04-11 10:07:17 +00:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
2022-08-08 21:25:02 +00:00
|
|
|
|
2023-04-11 10:07:17 +00:00
|
|
|
user: redmine
|
|
|
|
database: redmine
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-04-11 10:07:17 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
REDMINE_DB_DATABASE: "{{ .Values.cnpg.main.database }}"
|
|
|
|
REDMINE_DB_USERNAME: "{{ .Values.cnpg.main.user }}"
|
|
|
|
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: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
REDMINE_DB_POSTGRES:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
REDMINE_SECRET_KEY_BASE:
|
|
|
|
secretKeyRef:
|
|
|
|
name: secrets
|
|
|
|
key: REDMINE_SECRET_KEY_BASE
|