config_inc.php as www-data
This commit is contained in:
@@ -3,17 +3,17 @@ entries:
|
||||
mantisbt:
|
||||
- apiVersion: v2
|
||||
appVersion: 2.27.0
|
||||
created: "2025-12-15T09:44:59.829074+01:00"
|
||||
created: "2025-12-15T10:03:29.074451+01:00"
|
||||
dependencies:
|
||||
- condition: mariadb.enabled
|
||||
name: mariadb
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 19.*.*
|
||||
description: MantisBT Bug Tracker - A Helm chart for Kubernetes
|
||||
digest: 58dc6878a9ef59371178502885a13979725a0abcc2d80cbc80b9c1e1ebb8fedd
|
||||
digest: 5c8bc1c903ff7cdedf94c806ee454bb62e6acbf786b3df41138ce0b7c5b0b504
|
||||
name: mantisbt
|
||||
type: application
|
||||
urls:
|
||||
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/mantisbt/mantisbt-0.3.0.tgz
|
||||
version: 0.3.0
|
||||
generated: "2025-12-15T09:44:59.826746+01:00"
|
||||
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/mantisbt/mantisbt-0.3.1.tgz
|
||||
version: 0.3.1
|
||||
generated: "2025-12-15T10:03:29.07142+01:00"
|
||||
|
||||
Binary file not shown.
BIN
mantisbt/mantisbt-0.3.1.tgz
Normal file
BIN
mantisbt/mantisbt-0.3.1.tgz
Normal file
Binary file not shown.
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: mantisbt
|
||||
description: MantisBT Bug Tracker - A Helm chart for Kubernetes
|
||||
type: application
|
||||
version: "0.3.0"
|
||||
version: "0.3.1"
|
||||
appVersion: "2.27.0"
|
||||
|
||||
dependencies:
|
||||
|
||||
@@ -50,6 +50,23 @@ spec:
|
||||
done
|
||||
echo "Database is ready!"
|
||||
sleep 5
|
||||
- name: copy-config
|
||||
image: busybox:1.36
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
echo "Copying config files..."
|
||||
cp /config-template/config_inc.php /config/config_inc.php
|
||||
chown 33:33 /config/config_inc.php
|
||||
chmod 644 /config/config_inc.php
|
||||
echo "Config copied with correct permissions:"
|
||||
ls -la /config/
|
||||
volumeMounts:
|
||||
- name: config-template
|
||||
mountPath: /config-template
|
||||
- name: config
|
||||
mountPath: /config
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
@@ -63,11 +80,6 @@ spec:
|
||||
value: {{ .Values.mantisbt.timezone | default "Europe/Berlin" | quote }}
|
||||
- name: MANTIS_ENABLE_ADMIN
|
||||
value: {{ .Values.mantisbt.enableAdmin | default "1" | quote }}
|
||||
- name: MASTER_SALT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "mantisbt.fullname" . }}-secret
|
||||
key: master-salt
|
||||
{{- range $key := .Values.env }}
|
||||
{{- if .value }}
|
||||
- name: {{ .name }}
|
||||
@@ -91,8 +103,7 @@ spec:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /var/www/html/config/config_inc.php
|
||||
subPath: config_inc.php
|
||||
mountPath: /var/www/html/config
|
||||
{{- if .Values.persistence.enabled }}
|
||||
- name: uploads
|
||||
mountPath: /var/www/html/uploads
|
||||
@@ -126,9 +137,11 @@ spec:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: config
|
||||
- name: config-template
|
||||
configMap:
|
||||
name: {{ template "mantisbt.fullname" . }}-config
|
||||
- name: config
|
||||
emptyDir: {}
|
||||
{{- if .Values.persistence.enabled }}
|
||||
- name: uploads
|
||||
persistentVolumeClaim:
|
||||
|
||||
Reference in New Issue
Block a user