mantisbt V4 vom xlrl/mantisbt
This commit is contained in:
@@ -3,17 +3,17 @@ entries:
|
||||
mantisbt:
|
||||
- apiVersion: v2
|
||||
appVersion: 2.27.0
|
||||
created: "2025-12-15T10:03:29.074451+01:00"
|
||||
created: "2025-12-15T10:51:10.80467+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: 5c8bc1c903ff7cdedf94c806ee454bb62e6acbf786b3df41138ce0b7c5b0b504
|
||||
digest: 2675bba9281e3fadc4ae19f86a22eaa8aa1ac813d71e49afc38b94efa4de3ec1
|
||||
name: mantisbt
|
||||
type: application
|
||||
urls:
|
||||
- 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"
|
||||
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/mantisbt/mantisbt-0.4.0.tgz
|
||||
version: 0.4.0
|
||||
generated: "2025-12-15T10:51:10.801839+01:00"
|
||||
|
||||
Binary file not shown.
BIN
mantisbt/mantisbt-0.4.0.tgz
Normal file
BIN
mantisbt/mantisbt-0.4.0.tgz
Normal file
Binary file not shown.
@@ -3,4 +3,4 @@ dependencies:
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 19.1.2
|
||||
digest: sha256:25a0f863a58cb121e8d182e46a12f83d1d6ce7312008e10c49d3c04b6306b6c8
|
||||
generated: "2025-12-15T09:44:25.687429+01:00"
|
||||
generated: "2025-12-15T10:50:43.663313+01:00"
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: mantisbt
|
||||
description: MantisBT Bug Tracker - A Helm chart for Kubernetes
|
||||
type: application
|
||||
version: "0.3.1"
|
||||
version: "0.4.0"
|
||||
appVersion: "2.27.0"
|
||||
|
||||
dependencies:
|
||||
|
||||
@@ -23,7 +23,6 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
||||
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
|
||||
labels:
|
||||
app: {{ template "mantisbt.name" . }}
|
||||
@@ -50,23 +49,6 @@ 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 }}"
|
||||
@@ -76,7 +58,8 @@ spec:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
env:
|
||||
- name: TZ
|
||||
# xlrl/mantisbt uses MANTIS_TIMEZONE and MANTIS_ENABLE_ADMIN
|
||||
- name: MANTIS_TIMEZONE
|
||||
value: {{ .Values.mantisbt.timezone | default "Europe/Berlin" | quote }}
|
||||
- name: MANTIS_ENABLE_ADMIN
|
||||
value: {{ .Values.mantisbt.enableAdmin | default "1" | quote }}
|
||||
@@ -102,6 +85,7 @@ spec:
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
volumeMounts:
|
||||
# xlrl/mantisbt expects config as a volume mount - will be created on first run
|
||||
- name: config
|
||||
mountPath: /var/www/html/config
|
||||
{{- if .Values.persistence.enabled }}
|
||||
@@ -120,7 +104,7 @@ spec:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 90
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 10
|
||||
@@ -137,11 +121,10 @@ spec:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: config-template
|
||||
configMap:
|
||||
name: {{ template "mantisbt.fullname" . }}-config
|
||||
# Persistent config volume - xlrl expects this to be writable
|
||||
- name: config
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ template "mantisbt.fullname" . }}-config
|
||||
{{- if .Values.persistence.enabled }}
|
||||
- name: uploads
|
||||
persistentVolumeClaim:
|
||||
|
||||
@@ -1,4 +1,33 @@
|
||||
{{- if .Values.persistence.enabled -}}
|
||||
# Config PVC - xlrl/mantisbt needs writable config directory
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: {{ template "mantisbt.fullname" . }}-config
|
||||
labels:
|
||||
app: {{ template "mantisbt.name" . }}
|
||||
chart: {{ template "mantisbt.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
{{- with .Values.persistence.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
- {{ .Values.persistence.accessMode | quote }}
|
||||
{{- if .Values.persistence.storageClass }}
|
||||
{{- if (eq "-" .Values.persistence.storageClass) }}
|
||||
storageClassName: ""
|
||||
{{- else }}
|
||||
storageClassName: {{ .Values.persistence.storageClass | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
resources:
|
||||
requests:
|
||||
storage: "100Mi"
|
||||
---
|
||||
# Uploads PVC
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
|
||||
@@ -7,8 +7,8 @@ serviceAccount:
|
||||
automount: false
|
||||
|
||||
image:
|
||||
# okainov/mantisbt is more modern (PHP 8.4) and better maintained
|
||||
repository: okainov/mantisbt
|
||||
# xlrl/mantisbt - well maintained, PHP 8.3, good documentation
|
||||
repository: xlrl/mantisbt
|
||||
tag: "latest"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
@@ -72,27 +72,8 @@ mantisbt:
|
||||
# Enable admin folder for installation (set to "0" after install!)
|
||||
enableAdmin: "1"
|
||||
|
||||
# Admin credentials (change these!)
|
||||
adminUser: administrator
|
||||
adminPassword: "admin123"
|
||||
adminEmail: "admin@example.com"
|
||||
|
||||
# Site configuration
|
||||
siteName: "MantisBT"
|
||||
siteUrl: "https://mantisbt.local"
|
||||
|
||||
# Timezone
|
||||
# Timezone (xlrl uses MANTIS_TIMEZONE)
|
||||
timezone: "Europe/Berlin"
|
||||
|
||||
# Email configuration (optional)
|
||||
email:
|
||||
enabled: false
|
||||
smtpHost: ""
|
||||
smtpPort: 25
|
||||
smtpUsername: ""
|
||||
smtpPassword: ""
|
||||
fromAddress: "mantisbt@example.com"
|
||||
fromName: "MantisBT"
|
||||
|
||||
# Environment variables
|
||||
env: []
|
||||
|
||||
Reference in New Issue
Block a user