mantisbt fix

This commit is contained in:
titver968
2025-12-12 12:12:57 +01:00
parent 3b613196f5
commit 0a2d367d99
8 changed files with 24 additions and 22 deletions

View File

@@ -3,17 +3,17 @@ entries:
mantisbt:
- apiVersion: v2
appVersion: 2.27.0
created: "2025-12-12T10:19:45.381062+01:00"
created: "2025-12-12T12:12:31.570744+01:00"
dependencies:
- condition: postgresql.enabled
name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 16.*.*
description: MantisBT Bug Tracker - A Helm chart for Kubernetes
digest: 14e0657e509b2e4545bde0678b88eb17f21d6c66c03110a38082820d3f952a61
digest: ef966f22a43ee16de9873c29749a361ae869f1c14343dbbeb2e20fa24229b136
name: mantisbt
type: application
urls:
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/mantisbt/mantisbt-0.1.0.tgz
version: 0.1.0
generated: "2025-12-12T10:19:45.376611+01:00"
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/mantisbt/mantisbt-0.1.1.tgz
version: 0.1.1
generated: "2025-12-12T12:12:31.566386+01:00"

Binary file not shown.

BIN
mantisbt/mantisbt-0.1.1.tgz Normal file

Binary file not shown.

View File

@@ -3,4 +3,4 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
version: 16.7.27
digest: sha256:5dc0caa006210414bad6131a00cff7b8ccc86a675ee6fd19a8f003eb2083890c
generated: "2025-12-12T10:14:31.503437+01:00"
generated: "2025-12-12T12:11:52.463199+01:00"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: mantisbt
description: MantisBT Bug Tracker - A Helm chart for Kubernetes
type: application
version: "0.1.0"
version: "0.1.1"
appVersion: "2.27.0"
dependencies:

View File

@@ -104,28 +104,30 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.persistence.enabled }}
volumeMounts:
- name: data
mountPath: {{ .Values.persistence.mountPath }}
- name: config
mountPath: /var/www/html/config/config_inc.php
subPath: config_inc.php
{{- end }}
{{- if .Values.persistence.enabled }}
- name: uploads
mountPath: /var/www/html/uploads
{{- end }}
livenessProbe:
httpGet:
path: /login_page.php
path: /
port: http
initialDelaySeconds: 60
initialDelaySeconds: 120
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
readinessProbe:
httpGet:
path: /login_page.php
path: /
port: http
initialDelaySeconds: 30
initialDelaySeconds: 60
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 10
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
@@ -139,11 +141,11 @@ spec:
{{ toYaml . | indent 8 }}
{{- end }}
volumes:
{{- if .Values.persistence.enabled }}
- name: data
persistentVolumeClaim:
claimName: {{ template "mantisbt.fullname" . }}-data
{{- end }}
- name: config
configMap:
name: {{ template "mantisbt.fullname" . }}-config
{{- if .Values.persistence.enabled }}
- name: uploads
persistentVolumeClaim:
claimName: {{ template "mantisbt.fullname" . }}-uploads
{{- end }}

View File

@@ -2,7 +2,7 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ template "mantisbt.fullname" . }}-data
name: {{ template "mantisbt.fullname" . }}-uploads
labels:
app: {{ template "mantisbt.name" . }}
chart: {{ template "mantisbt.chart" . }}

View File

@@ -53,9 +53,9 @@ autoscaling:
deploymentLabels: {}
podLabels: {}
# Persistence for uploads only (not the whole /var/www/html!)
persistence:
enabled: true
mountPath: /var/www/html
accessMode: ReadWriteOnce
size: 5Gi
storageClass: ""