mantisbt Verion 0.2.1
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-12T12:22:54.356905+01:00"
|
created: "2025-12-12T13:08:18.430148+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: a5b80b8132571b592d7b95aeb639c6bfacd295aa41ca4991903f0cb735b7d5ed
|
digest: 52b7f4e87844b92e5978ec2d2ef92a00a99369887d9bb9bacb6351de213c6fb0
|
||||||
name: mantisbt
|
name: mantisbt
|
||||||
type: application
|
type: application
|
||||||
urls:
|
urls:
|
||||||
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/mantisbt/mantisbt-0.2.0.tgz
|
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/mantisbt/mantisbt-0.2.1.tgz
|
||||||
version: 0.2.0
|
version: 0.2.1
|
||||||
generated: "2025-12-12T12:22:54.353886+01:00"
|
generated: "2025-12-12T13:08:18.42706+01:00"
|
||||||
|
|||||||
Binary file not shown.
BIN
mantisbt/mantisbt-0.2.1.tgz
Normal file
BIN
mantisbt/mantisbt-0.2.1.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-12T12:22:05.643054+01:00"
|
generated: "2025-12-12T12:28:34.395287+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.2.0"
|
version: "0.2.1"
|
||||||
appVersion: "2.27.0"
|
appVersion: "2.27.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
@@ -65,8 +65,8 @@ Create the name of the service account to use
|
|||||||
Create a default fully qualified database name.
|
Create a default fully qualified database name.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "mantisbt.databaseHost" -}}
|
{{- define "mantisbt.databaseHost" -}}
|
||||||
{{- if .Values.postgresql.enabled }}
|
{{- if .Values.mariadb.enabled }}
|
||||||
{{- printf "%s-postgresql" (include "mantisbt.fullname" .) }}
|
{{- printf "%s-mariadb" (include "mantisbt.fullname" .) }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- .Values.externalDatabase.host }}
|
{{- .Values.externalDatabase.host }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -76,10 +76,10 @@ Create a default fully qualified database name.
|
|||||||
Get database port
|
Get database port
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "mantisbt.databasePort" -}}
|
{{- define "mantisbt.databasePort" -}}
|
||||||
{{- if .Values.postgresql.enabled }}
|
{{- if .Values.mariadb.enabled }}
|
||||||
{{- printf "5432" }}
|
{{- printf "3306" }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- .Values.externalDatabase.port | default "5432" }}
|
{{- .Values.externalDatabase.port | default "3306" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
@@ -87,8 +87,8 @@ Get database port
|
|||||||
Get database name
|
Get database name
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "mantisbt.databaseName" -}}
|
{{- define "mantisbt.databaseName" -}}
|
||||||
{{- if .Values.postgresql.enabled }}
|
{{- if .Values.mariadb.enabled }}
|
||||||
{{- .Values.postgresql.auth.database }}
|
{{- .Values.mariadb.auth.database }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- .Values.externalDatabase.database }}
|
{{- .Values.externalDatabase.database }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -98,8 +98,8 @@ Get database name
|
|||||||
Get database user
|
Get database user
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "mantisbt.databaseUser" -}}
|
{{- define "mantisbt.databaseUser" -}}
|
||||||
{{- if .Values.postgresql.enabled }}
|
{{- if .Values.mariadb.enabled }}
|
||||||
{{- .Values.postgresql.auth.username }}
|
{{- .Values.mariadb.auth.username }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- .Values.externalDatabase.username }}
|
{{- .Values.externalDatabase.username }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -109,8 +109,8 @@ Get database user
|
|||||||
Get database password
|
Get database password
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "mantisbt.databasePassword" -}}
|
{{- define "mantisbt.databasePassword" -}}
|
||||||
{{- if .Values.postgresql.enabled }}
|
{{- if .Values.mariadb.enabled }}
|
||||||
{{- .Values.postgresql.auth.password }}
|
{{- .Values.mariadb.auth.password }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- .Values.externalDatabase.password }}
|
{{- .Values.externalDatabase.password }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ data:
|
|||||||
|
|
||||||
# Database settings
|
# Database settings
|
||||||
$g_hostname = '{{ include "mantisbt.databaseHost" . }}';
|
$g_hostname = '{{ include "mantisbt.databaseHost" . }}';
|
||||||
$g_db_type = 'pgsql';
|
$g_db_type = 'mysqli';
|
||||||
$g_database_name = '{{ include "mantisbt.databaseName" . }}';
|
$g_database_name = '{{ include "mantisbt.databaseName" . }}';
|
||||||
$g_db_username = '{{ include "mantisbt.databaseUser" . }}';
|
$g_db_username = '{{ include "mantisbt.databaseUser" . }}';
|
||||||
$g_db_password = getenv('MANTISBT_DATABASE_PASSWORD');
|
$g_db_password = '{{ include "mantisbt.databasePassword" . }}';
|
||||||
|
|
||||||
# Site settings
|
# Site settings
|
||||||
$g_window_title = '{{ .Values.mantisbt.siteName }}';
|
$g_window_title = '{{ .Values.mantisbt.siteName }}';
|
||||||
@@ -28,7 +28,7 @@ data:
|
|||||||
$g_anonymous_account = '';
|
$g_anonymous_account = '';
|
||||||
|
|
||||||
# Security
|
# Security
|
||||||
$g_crypto_master_salt = '{{ randAlphaNum 32 }}';
|
$g_crypto_master_salt = '{{ randAlphaNum 64 | b64enc }}';
|
||||||
|
|
||||||
{{- if .Values.mantisbt.email.enabled }}
|
{{- if .Values.mantisbt.email.enabled }}
|
||||||
# Email settings
|
# Email settings
|
||||||
@@ -40,7 +40,7 @@ data:
|
|||||||
$g_enable_email_notification = ON;
|
$g_enable_email_notification = ON;
|
||||||
{{- if .Values.mantisbt.email.smtpUsername }}
|
{{- if .Values.mantisbt.email.smtpUsername }}
|
||||||
$g_smtp_username = '{{ .Values.mantisbt.email.smtpUsername }}';
|
$g_smtp_username = '{{ .Values.mantisbt.email.smtpUsername }}';
|
||||||
$g_smtp_password = getenv('MANTISBT_SMTP_PASSWORD');
|
$g_smtp_password = '{{ .Values.mantisbt.email.smtpPassword }}';
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
# Email disabled
|
# Email disabled
|
||||||
@@ -48,10 +48,14 @@ data:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
# Timezone
|
# Timezone
|
||||||
$g_default_timezone = 'Europe/Berlin';
|
$g_default_timezone = '{{ .Values.mantisbt.timezone | default "Europe/Berlin" }}';
|
||||||
|
|
||||||
# File uploads
|
# File uploads
|
||||||
$g_file_upload_method = DISK;
|
$g_file_upload_method = DISK;
|
||||||
$g_absolute_path_default_upload_folder = '/var/www/html/uploads/';
|
$g_absolute_path_default_upload_folder = '/var/www/html/uploads/';
|
||||||
$g_max_file_size = 10000000;
|
$g_max_file_size = 10000000;
|
||||||
$g_allowed_files = 'png,gif,jpg,jpeg,pdf,doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,7z';
|
$g_allowed_files = 'png,gif,jpg,jpeg,pdf,doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,7z';
|
||||||
|
|
||||||
|
# Logging (disable in production)
|
||||||
|
$g_log_level = LOG_NONE;
|
||||||
|
$g_show_detailed_errors = OFF;
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ 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 }}
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "mantisbt.name" . }}
|
app: {{ template "mantisbt.name" . }}
|
||||||
component: mantisbt
|
component: mantisbt
|
||||||
@@ -41,11 +43,13 @@ spec:
|
|||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
|
echo "Waiting for database at {{ include "mantisbt.databaseHost" . }}:{{ include "mantisbt.databasePort" . }}..."
|
||||||
until nc -z {{ include "mantisbt.databaseHost" . }} {{ include "mantisbt.databasePort" . }}; do
|
until nc -z {{ include "mantisbt.databaseHost" . }} {{ include "mantisbt.databasePort" . }}; do
|
||||||
echo "Waiting for database..."
|
echo "Database not ready, waiting..."
|
||||||
sleep 2
|
sleep 3
|
||||||
done
|
done
|
||||||
echo "Database is ready!"
|
echo "Database is ready!"
|
||||||
|
sleep 5
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
@@ -55,34 +59,8 @@ spec:
|
|||||||
- name: http
|
- name: http
|
||||||
containerPort: 80
|
containerPort: 80
|
||||||
env:
|
env:
|
||||||
- name: MANTISBT_DATABASE_HOST
|
- name: TZ
|
||||||
value: {{ include "mantisbt.databaseHost" . | quote }}
|
value: {{ .Values.mantisbt.timezone | default "Europe/Berlin" | quote }}
|
||||||
- name: MANTISBT_DATABASE_PORT
|
|
||||||
value: {{ include "mantisbt.databasePort" . | quote }}
|
|
||||||
- name: MANTISBT_DATABASE_NAME
|
|
||||||
value: {{ include "mantisbt.databaseName" . | quote }}
|
|
||||||
- name: MANTISBT_DATABASE_USER
|
|
||||||
value: {{ include "mantisbt.databaseUser" . | quote }}
|
|
||||||
- name: MANTISBT_DATABASE_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: {{ template "mantisbt.fullname" . }}-secret
|
|
||||||
key: database-password
|
|
||||||
- name: MANTISBT_ADMIN_USER
|
|
||||||
value: {{ .Values.mantisbt.adminUser | quote }}
|
|
||||||
- name: MANTISBT_ADMIN_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: {{ template "mantisbt.fullname" . }}-secret
|
|
||||||
key: admin-password
|
|
||||||
- name: MANTISBT_ADMIN_EMAIL
|
|
||||||
value: {{ .Values.mantisbt.adminEmail | quote }}
|
|
||||||
{{- if .Values.mantisbt.email.enabled }}
|
|
||||||
- name: MANTISBT_SMTP_HOST
|
|
||||||
value: {{ .Values.mantisbt.email.smtpHost | quote }}
|
|
||||||
- name: MANTISBT_SMTP_PORT
|
|
||||||
value: {{ .Values.mantisbt.email.smtpPort | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- range $key := .Values.env }}
|
{{- range $key := .Values.env }}
|
||||||
{{- if .value }}
|
{{- if .value }}
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
@@ -114,17 +92,17 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /login_page.php
|
||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 120
|
initialDelaySeconds: 180
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
failureThreshold: 6
|
failureThreshold: 6
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /login_page.php
|
||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 60
|
initialDelaySeconds: 90
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
timeoutSeconds: 3
|
timeoutSeconds: 3
|
||||||
failureThreshold: 10
|
failureThreshold: 10
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ serviceAccount:
|
|||||||
automount: false
|
automount: false
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: vimagick/mantisbt
|
repository: xlrl/mantisbt
|
||||||
tag: latest
|
tag: "2.27.0"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
@@ -53,7 +53,7 @@ autoscaling:
|
|||||||
deploymentLabels: {}
|
deploymentLabels: {}
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
|
|
||||||
# Persistence for uploads only (not the whole /var/www/html!)
|
# Persistence for uploads and config
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
@@ -81,6 +81,9 @@ mantisbt:
|
|||||||
siteName: "MantisBT"
|
siteName: "MantisBT"
|
||||||
siteUrl: "https://mantisbt.local"
|
siteUrl: "https://mantisbt.local"
|
||||||
|
|
||||||
|
# Timezone
|
||||||
|
timezone: "Europe/Berlin"
|
||||||
|
|
||||||
# Email configuration (optional)
|
# Email configuration (optional)
|
||||||
email:
|
email:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -102,24 +105,24 @@ extraEnvFrom: []
|
|||||||
|
|
||||||
extraDeploy: []
|
extraDeploy: []
|
||||||
|
|
||||||
# PostgreSQL subchart configuration
|
# MariaDB subchart configuration
|
||||||
postgresql:
|
mariadb:
|
||||||
enabled: true
|
enabled: true
|
||||||
auth:
|
auth:
|
||||||
database: mantisbt
|
database: mantisbt
|
||||||
username: mantisbt
|
username: mantisbt
|
||||||
password: "mantisbt123"
|
password: "mantisbt123"
|
||||||
postgresPassword: "rootpassword123"
|
rootPassword: "rootpassword123"
|
||||||
primary:
|
primary:
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 8Gi
|
size: 8Gi
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
|
|
||||||
# External database (if postgresql.enabled=false)
|
# External database (if mariadb.enabled=false)
|
||||||
externalDatabase:
|
externalDatabase:
|
||||||
host: ""
|
host: ""
|
||||||
port: 5432
|
port: 3306
|
||||||
database: mantisbt
|
database: mantisbt
|
||||||
username: mantisbt
|
username: mantisbt
|
||||||
password: ""
|
password: ""
|
||||||
|
|||||||
Reference in New Issue
Block a user