mantisbt V3

This commit is contained in:
titver968
2025-12-15 09:45:29 +01:00
parent 028200031f
commit 03d86085a8
8 changed files with 23 additions and 17 deletions

View File

@@ -3,17 +3,17 @@ entries:
mantisbt: mantisbt:
- apiVersion: v2 - apiVersion: v2
appVersion: 2.27.0 appVersion: 2.27.0
created: "2025-12-12T13:08:18.430148+01:00" created: "2025-12-15T09:44:59.829074+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: 52b7f4e87844b92e5978ec2d2ef92a00a99369887d9bb9bacb6351de213c6fb0 digest: 58dc6878a9ef59371178502885a13979725a0abcc2d80cbc80b9c1e1ebb8fedd
name: mantisbt name: mantisbt
type: application type: application
urls: urls:
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/mantisbt/mantisbt-0.2.1.tgz - https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/mantisbt/mantisbt-0.3.0.tgz
version: 0.2.1 version: 0.3.0
generated: "2025-12-12T13:08:18.42706+01:00" generated: "2025-12-15T09:44:59.826746+01:00"

Binary file not shown.

BIN
mantisbt/mantisbt-0.3.0.tgz Normal file

Binary file not shown.

View File

@@ -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-12T12:28:34.395287+01:00" generated: "2025-12-15T09:44:25.687429+01:00"

View File

@@ -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.2.1" version: "0.3.0"
appVersion: "2.27.0" appVersion: "2.27.0"
dependencies: dependencies:

View File

@@ -61,6 +61,13 @@ spec:
env: env:
- name: TZ - name: TZ
value: {{ .Values.mantisbt.timezone | default "Europe/Berlin" | quote }} 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 }} {{- range $key := .Values.env }}
{{- if .value }} {{- if .value }}
- name: {{ .name }} - name: {{ .name }}
@@ -92,7 +99,7 @@ spec:
{{- end }} {{- end }}
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /login_page.php path: /
port: http port: http
initialDelaySeconds: 180 initialDelaySeconds: 180
periodSeconds: 10 periodSeconds: 10
@@ -100,7 +107,7 @@ spec:
failureThreshold: 6 failureThreshold: 6
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /login_page.php path: /
port: http port: http
initialDelaySeconds: 90 initialDelaySeconds: 90
periodSeconds: 5 periodSeconds: 5

View File

@@ -11,6 +11,7 @@ type: Opaque
stringData: stringData:
database-password: {{ include "mantisbt.databasePassword" . | quote }} database-password: {{ include "mantisbt.databasePassword" . | quote }}
admin-password: {{ .Values.mantisbt.adminPassword | quote }} admin-password: {{ .Values.mantisbt.adminPassword | quote }}
master-salt: {{ randAlphaNum 64 | b64enc | quote }}
{{- if .Values.mantisbt.email.smtpPassword }} {{- if .Values.mantisbt.email.smtpPassword }}
smtp-password: {{ .Values.mantisbt.email.smtpPassword | quote }} smtp-password: {{ .Values.mantisbt.email.smtpPassword | quote }}
{{- end }} {{- end }}

View File

@@ -7,8 +7,9 @@ serviceAccount:
automount: false automount: false
image: image:
repository: xlrl/mantisbt # okainov/mantisbt is more modern (PHP 8.4) and better maintained
tag: "2.27.0" repository: okainov/mantisbt
tag: "latest"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
replicaCount: 1 replicaCount: 1
@@ -27,9 +28,6 @@ ingress:
hosts: hosts:
- mantisbt.local - mantisbt.local
tls: [] tls: []
# - secretName: mantisbt-tls
# hosts:
# - mantisbt.local
resources: resources:
requests: requests:
@@ -53,7 +51,6 @@ autoscaling:
deploymentLabels: {} deploymentLabels: {}
podLabels: {} podLabels: {}
# Persistence for uploads and config
persistence: persistence:
enabled: true enabled: true
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
@@ -72,6 +69,9 @@ securityContext: {}
# MantisBT specific configuration # MantisBT specific configuration
mantisbt: mantisbt:
# Enable admin folder for installation (set to "0" after install!)
enableAdmin: "1"
# Admin credentials (change these!) # Admin credentials (change these!)
adminUser: administrator adminUser: administrator
adminPassword: "admin123" adminPassword: "admin123"
@@ -96,8 +96,6 @@ mantisbt:
# Environment variables # Environment variables
env: [] env: []
# - name: TZ
# value: "Europe/Berlin"
secretEnv: [] secretEnv: []