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