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