Compare commits
41 Commits
b2e4fd495c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff37139e60 | ||
|
|
6ceb66e69d | ||
|
|
21f4924efd | ||
|
|
e5c4709d27 | ||
|
|
a4efed8410 | ||
|
|
92c45d5f05 | ||
|
|
50fcbcc497 | ||
|
|
f062a8fe1f | ||
|
|
9a996b4d99 | ||
|
|
fe034fb705 | ||
|
|
3e82db3fba | ||
|
|
7719c99958 | ||
|
|
9c7033d629 | ||
|
|
b8357a915c | ||
|
|
283436e790 | ||
|
|
d025b860dd | ||
|
|
b142953cff | ||
|
|
2a3a3e8d11 | ||
|
|
8655d5a9e5 | ||
|
|
ff85469bab | ||
|
|
b7f9964565 | ||
|
|
10e7b53895 | ||
|
|
e3b05e7d57 | ||
|
|
e314a952e3 | ||
|
|
55f2b83ab0 | ||
|
|
40ff0e928c | ||
|
|
9ab0c46284 | ||
|
|
dbc8026f82 | ||
|
|
3f3d7d82c5 | ||
|
|
cdf1793130 | ||
|
|
4b589b8568 | ||
|
|
dc50a5a554 | ||
|
|
642b724d52 | ||
|
|
ec2c94bc46 | ||
|
|
03d86085a8 | ||
|
|
028200031f | ||
|
|
50d884aa37 | ||
|
|
0a2d367d99 | ||
|
|
3b613196f5 | ||
|
|
dd8dbc1bad | ||
|
|
7abe2297c5 |
19
mantisbt/index.yaml
Normal file
19
mantisbt/index.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
entries:
|
||||||
|
mantisbt:
|
||||||
|
- apiVersion: v2
|
||||||
|
appVersion: 2.27.0
|
||||||
|
created: "2025-12-19T08:44:25.766178+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: 120476f60a1fb4d84ce06e50e4c57f75722e9fca06ac83fb353724ae0bb0b915
|
||||||
|
name: mantisbt
|
||||||
|
type: application
|
||||||
|
urls:
|
||||||
|
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/mantisbt/mantisbt-0.4.3.tgz
|
||||||
|
version: 0.4.3
|
||||||
|
generated: "2025-12-19T08:44:25.763065+01:00"
|
||||||
BIN
mantisbt/mantisbt-0.4.3.tgz
Normal file
BIN
mantisbt/mantisbt-0.4.3.tgz
Normal file
Binary file not shown.
12
mantisbt/mantisbt/Chart.yaml
Normal file
12
mantisbt/mantisbt/Chart.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: mantisbt
|
||||||
|
description: MantisBT Bug Tracker - A Helm chart for Kubernetes
|
||||||
|
type: application
|
||||||
|
version: "0.4.3"
|
||||||
|
appVersion: "2.27.0"
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- name: mariadb
|
||||||
|
version: "19.*.*"
|
||||||
|
repository: "https://charts.bitnami.com/bitnami"
|
||||||
|
condition: mariadb.enabled
|
||||||
BIN
mantisbt/mantisbt/charts/mariadb-19.1.2.tgz
Normal file
BIN
mantisbt/mantisbt/charts/mariadb-19.1.2.tgz
Normal file
Binary file not shown.
117
mantisbt/mantisbt/templates/_helpers.tpl
Normal file
117
mantisbt/mantisbt/templates/_helpers.tpl
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
{{/*
|
||||||
|
Expand the name of the chart.
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.name" -}}
|
||||||
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a default fully qualified app name.
|
||||||
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
|
If release name contains chart name it will be used as a full name.
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.fullname" -}}
|
||||||
|
{{- if .Values.fullnameOverride }}
|
||||||
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||||
|
{{- if contains $name .Release.Name }}
|
||||||
|
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create chart name and version as used by the chart label.
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.chart" -}}
|
||||||
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Common labels
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.labels" -}}
|
||||||
|
helm.sh/chart: {{ include "mantisbt.chart" . }}
|
||||||
|
{{ include "mantisbt.selectorLabels" . }}
|
||||||
|
{{- if .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||||
|
{{- end }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Selector labels
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.selectorLabels" -}}
|
||||||
|
app.kubernetes.io/name: {{ include "mantisbt.name" . }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create the name of the service account to use
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.serviceAccountName" -}}
|
||||||
|
{{- if .Values.serviceAccount.create }}
|
||||||
|
{{- default (include "mantisbt.fullname" .) .Values.serviceAccount.name }}
|
||||||
|
{{- else }}
|
||||||
|
{{- default "default" .Values.serviceAccount.name }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a default fully qualified database name.
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.databaseHost" -}}
|
||||||
|
{{- if .Values.mariadb.enabled }}
|
||||||
|
{{- printf "%s-mariadb" (include "mantisbt.fullname" .) }}
|
||||||
|
{{- else }}
|
||||||
|
{{- .Values.externalDatabase.host }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Get database port
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.databasePort" -}}
|
||||||
|
{{- if .Values.mariadb.enabled }}
|
||||||
|
{{- printf "3306" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- .Values.externalDatabase.port | default "3306" }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Get database name
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.databaseName" -}}
|
||||||
|
{{- if .Values.mariadb.enabled }}
|
||||||
|
{{- .Values.mariadb.auth.database }}
|
||||||
|
{{- else }}
|
||||||
|
{{- .Values.externalDatabase.database }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Get database user
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.databaseUser" -}}
|
||||||
|
{{- if .Values.mariadb.enabled }}
|
||||||
|
{{- .Values.mariadb.auth.username }}
|
||||||
|
{{- else }}
|
||||||
|
{{- .Values.externalDatabase.username }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Get database password
|
||||||
|
*/}}
|
||||||
|
{{- define "mantisbt.databasePassword" -}}
|
||||||
|
{{- if .Values.mariadb.enabled }}
|
||||||
|
{{- .Values.mariadb.auth.password }}
|
||||||
|
{{- else }}
|
||||||
|
{{- .Values.externalDatabase.password }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
158
mantisbt/mantisbt/templates/deployment.yaml
Normal file
158
mantisbt/mantisbt/templates/deployment.yaml
Normal file
@@ -0,0 +1,158 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: {{ template "mantisbt.fullname" . }}
|
||||||
|
labels:
|
||||||
|
app: {{ template "mantisbt.name" . }}
|
||||||
|
chart: {{ template "mantisbt.chart" . }}
|
||||||
|
component: mantisbt
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
{{- if .Values.deploymentLabels }}
|
||||||
|
{{- toYaml .Values.deploymentLabels | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
strategy:
|
||||||
|
{{ toYaml .Values.updateStrategy | nindent 4 }}
|
||||||
|
replicas: {{ .Values.replicaCount }}
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: {{ template "mantisbt.name" . }}
|
||||||
|
component: mantisbt
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
|
||||||
|
labels:
|
||||||
|
app: {{ template "mantisbt.name" . }}
|
||||||
|
component: mantisbt
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
{{- if .Values.podLabels }}
|
||||||
|
{{- toYaml .Values.podLabels | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
|
serviceAccountName: {{ template "mantisbt.serviceAccountName" . }}
|
||||||
|
initContainers:
|
||||||
|
- name: wait-for-db
|
||||||
|
image: busybox:1.36
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
echo "Waiting for database at {{ include "mantisbt.databaseHost" . }}:{{ include "mantisbt.databasePort" . }}..."
|
||||||
|
until nc -z {{ include "mantisbt.databaseHost" . }} {{ include "mantisbt.databasePort" . }}; do
|
||||||
|
echo "Database not ready, waiting..."
|
||||||
|
sleep 3
|
||||||
|
done
|
||||||
|
echo "Database is ready!"
|
||||||
|
sleep 5
|
||||||
|
- name: fix-permissions
|
||||||
|
image: busybox:1.36
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
echo "Fixing permissions on config and uploads directories..."
|
||||||
|
# www-data has UID 33 in Debian-based images
|
||||||
|
chown -R 33:33 /var/www/html/config
|
||||||
|
chown -R 33:33 /var/www/html/uploads
|
||||||
|
chmod -R 755 /var/www/html/config
|
||||||
|
chmod -R 755 /var/www/html/uploads
|
||||||
|
echo "Permissions fixed:"
|
||||||
|
ls -la /var/www/html/config
|
||||||
|
ls -la /var/www/html/uploads
|
||||||
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /var/www/html/config
|
||||||
|
{{- if .Values.persistence.enabled }}
|
||||||
|
- name: uploads
|
||||||
|
mountPath: /var/www/html/uploads
|
||||||
|
{{- end }}
|
||||||
|
containers:
|
||||||
|
- name: {{ .Chart.Name }}
|
||||||
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
terminationMessagePolicy: FallbackToLogsOnError
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: 80
|
||||||
|
env:
|
||||||
|
# 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 }}
|
||||||
|
# Master salt from secret - keeps crypto keys stable across deployments
|
||||||
|
- name: MASTER_SALT
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ template "mantisbt.fullname" . }}-secret
|
||||||
|
key: master-salt
|
||||||
|
{{- range $key := .Values.env }}
|
||||||
|
{{- if .value }}
|
||||||
|
- name: {{ .name }}
|
||||||
|
value: {{ .value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- range $key := .Values.secretEnv }}
|
||||||
|
- name: {{ .name }}
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ template "mantisbt.fullname" $ }}-secret
|
||||||
|
key: {{ .name }}
|
||||||
|
{{- end }}
|
||||||
|
envFrom:
|
||||||
|
{{- with .Values.extraEnvFrom }}
|
||||||
|
{{- tpl . $ | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
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 }}
|
||||||
|
- name: uploads
|
||||||
|
mountPath: /var/www/html/uploads
|
||||||
|
{{- end }}
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 180
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 6
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 60
|
||||||
|
periodSeconds: 5
|
||||||
|
timeoutSeconds: 3
|
||||||
|
failureThreshold: 10
|
||||||
|
{{- with .Values.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{ toYaml .Values.affinity | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
volumes:
|
||||||
|
# Persistent config volume - xlrl expects this to be writable
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ template "mantisbt.fullname" . }}-config
|
||||||
|
{{- if .Values.persistence.enabled }}
|
||||||
|
- name: uploads
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ template "mantisbt.fullname" . }}-uploads
|
||||||
|
{{- end }}
|
||||||
18
mantisbt/mantisbt/templates/hpa.yaml
Normal file
18
mantisbt/mantisbt/templates/hpa.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{{- if .Values.autoscaling.enabled -}}
|
||||||
|
apiVersion: autoscaling/v1
|
||||||
|
kind: HorizontalPodAutoscaler
|
||||||
|
metadata:
|
||||||
|
name: {{ template "mantisbt.fullname" . }}
|
||||||
|
labels:
|
||||||
|
app: {{ template "mantisbt.name" . }}
|
||||||
|
chart: {{ template "mantisbt.chart" . }}
|
||||||
|
component: mantisbt
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
scaleTargetRef:
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
name: {{ template "mantisbt.fullname" . }}
|
||||||
|
{{ toYaml .Values.autoscaling.config | indent 2 }}
|
||||||
|
{{- end -}}
|
||||||
47
mantisbt/mantisbt/templates/ingress.yaml
Normal file
47
mantisbt/mantisbt/templates/ingress.yaml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
{{- if .Values.ingress.enabled -}}
|
||||||
|
{{- $fullName := include "mantisbt.fullname" . -}}
|
||||||
|
{{- $servicePort := .Values.service.port -}}
|
||||||
|
{{- $ingressPath := .Values.ingress.path -}}
|
||||||
|
{{- $ingressPathType := .Values.ingress.pathtype -}}
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: {{ $fullName }}
|
||||||
|
labels:
|
||||||
|
app: {{ template "mantisbt.name" . }}
|
||||||
|
chart: {{ template "mantisbt.chart" . }}
|
||||||
|
component: mantisbt
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
{{- with .Values.ingress.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml . | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
{{- if .Values.ingress.className }}
|
||||||
|
ingressClassName: {{ .Values.ingress.className }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.ingress.tls }}
|
||||||
|
tls:
|
||||||
|
{{- range .Values.ingress.tls }}
|
||||||
|
- hosts:
|
||||||
|
{{- range .hosts }}
|
||||||
|
- {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
secretName: {{ .secretName }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
rules:
|
||||||
|
{{- range .Values.ingress.hosts }}
|
||||||
|
- host: {{ . }}
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: {{ $ingressPath }}
|
||||||
|
pathType: {{ $ingressPathType }}
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: {{ $fullName }}
|
||||||
|
port:
|
||||||
|
number: {{ $servicePort }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
57
mantisbt/mantisbt/templates/pvc.yaml
Normal file
57
mantisbt/mantisbt/templates/pvc.yaml
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
{{- 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:
|
||||||
|
name: {{ template "mantisbt.fullname" . }}-uploads
|
||||||
|
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: {{ .Values.persistence.size | quote }}
|
||||||
|
{{- end -}}
|
||||||
17
mantisbt/mantisbt/templates/secret.yaml
Normal file
17
mantisbt/mantisbt/templates/secret.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: {{ template "mantisbt.fullname" . }}-secret
|
||||||
|
labels:
|
||||||
|
app: {{ template "mantisbt.name" . }}
|
||||||
|
chart: {{ template "mantisbt.chart" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
type: Opaque
|
||||||
|
stringData:
|
||||||
|
database-password: {{ include "mantisbt.databasePassword" . | quote }}
|
||||||
|
# Master salt - use provided value or generate random one
|
||||||
|
master-salt: {{ .Values.mantisbt.masterSalt | default (randAlphaNum 64 | b64enc) | quote }}
|
||||||
|
{{- range .Values.secretEnv }}
|
||||||
|
{{ .name }}: {{ .value | quote }}
|
||||||
|
{{- end }}
|
||||||
25
mantisbt/mantisbt/templates/service.yaml
Normal file
25
mantisbt/mantisbt/templates/service.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
{{- if .Values.service.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
name: {{ template "mantisbt.fullname" . }}
|
||||||
|
labels:
|
||||||
|
app: {{ template "mantisbt.name" . }}
|
||||||
|
chart: {{ template "mantisbt.chart" . }}
|
||||||
|
component: mantisbt
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
type: {{ .Values.service.type }}
|
||||||
|
ports:
|
||||||
|
- port: {{ .Values.service.port }}
|
||||||
|
targetPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
|
selector:
|
||||||
|
app: {{ template "mantisbt.name" . }}
|
||||||
|
component: mantisbt
|
||||||
|
release: {{ .Release.Name }}
|
||||||
13
mantisbt/mantisbt/templates/serviceaccount.yaml
Normal file
13
mantisbt/mantisbt/templates/serviceaccount.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{{- if .Values.serviceAccount.create -}}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ include "mantisbt.serviceAccountName" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "mantisbt.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
|
||||||
|
{{- end }}
|
||||||
114
mantisbt/mantisbt/values.yaml
Normal file
114
mantisbt/mantisbt/values.yaml
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
platform: kubernetes
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
name: ""
|
||||||
|
annotations: {}
|
||||||
|
automount: false
|
||||||
|
|
||||||
|
image:
|
||||||
|
# xlrl/mantisbt - well maintained, PHP 8.3, good documentation
|
||||||
|
repository: xlrl/mantisbt
|
||||||
|
tag: "latest"
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
replicaCount: 1
|
||||||
|
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
port: 80
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: false
|
||||||
|
className: traefik
|
||||||
|
annotations: {}
|
||||||
|
path: /
|
||||||
|
pathtype: Prefix
|
||||||
|
hosts:
|
||||||
|
- mantisbt.local
|
||||||
|
tls: []
|
||||||
|
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 128Mi
|
||||||
|
cpu: 100m
|
||||||
|
limits:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 500m
|
||||||
|
|
||||||
|
nodeSelector: {}
|
||||||
|
tolerations: []
|
||||||
|
affinity: {}
|
||||||
|
|
||||||
|
autoscaling:
|
||||||
|
enabled: false
|
||||||
|
config:
|
||||||
|
minReplicas: 1
|
||||||
|
maxReplicas: 5
|
||||||
|
targetCPUUtilizationPercentage: 80
|
||||||
|
|
||||||
|
deploymentLabels: {}
|
||||||
|
podLabels: {}
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 5Gi
|
||||||
|
storageClass: ""
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
|
updateStrategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
rollingUpdate:
|
||||||
|
maxUnavailable: 1
|
||||||
|
maxSurge: 1
|
||||||
|
|
||||||
|
podSecurityContext: {}
|
||||||
|
securityContext: {}
|
||||||
|
|
||||||
|
# MantisBT specific configuration
|
||||||
|
mantisbt:
|
||||||
|
# Enable admin folder for installation (set to "0" after install!)
|
||||||
|
enableAdmin: "1"
|
||||||
|
|
||||||
|
# Timezone (xlrl uses MANTIS_TIMEZONE)
|
||||||
|
timezone: "Europe/Berlin"
|
||||||
|
|
||||||
|
# Master Salt for crypto - IMPORTANT: Set this to keep it stable across deployments!
|
||||||
|
# If not set, a random one will be generated (but changes on each deploy)
|
||||||
|
# Generate with: openssl rand -base64 32
|
||||||
|
masterSalt: ""
|
||||||
|
|
||||||
|
# Environment variables
|
||||||
|
env: []
|
||||||
|
|
||||||
|
secretEnv: []
|
||||||
|
|
||||||
|
extraEnvFrom: []
|
||||||
|
|
||||||
|
extraDeploy: []
|
||||||
|
|
||||||
|
# MariaDB subchart configuration
|
||||||
|
mariadb:
|
||||||
|
enabled: true
|
||||||
|
auth:
|
||||||
|
database: mantisbt
|
||||||
|
username: mantisbt
|
||||||
|
password: "mantisbt123"
|
||||||
|
rootPassword: "rootpassword123"
|
||||||
|
primary:
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
size: 8Gi
|
||||||
|
storageClass: ""
|
||||||
|
|
||||||
|
# External database (if mariadb.enabled=false)
|
||||||
|
externalDatabase:
|
||||||
|
host: ""
|
||||||
|
port: 3306
|
||||||
|
database: mantisbt
|
||||||
|
username: mantisbt
|
||||||
|
password: ""
|
||||||
|
existingSecret: ""
|
||||||
|
existingSecretPasswordKey: ""
|
||||||
BIN
praktikum/.DS_Store
vendored
Normal file
BIN
praktikum/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -2,13 +2,13 @@ apiVersion: v1
|
|||||||
entries:
|
entries:
|
||||||
praktikum:
|
praktikum:
|
||||||
- apiVersion: v2
|
- apiVersion: v2
|
||||||
appVersion: 0.1.6
|
appVersion: 0.1.8
|
||||||
created: "2025-12-08T12:45:49.223637+01:00"
|
created: "2026-01-09T09:43:57.521772+01:00"
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
digest: 82cf2938f0b8b5291c1c1f093aadc72f6525d739463a8a2af363ef3d513103d6
|
digest: 24f32e8cc2654badaac189027e4fb612896f9283189fa6fd0f80b5eb4d1d17cf
|
||||||
name: praktikum
|
name: praktikum
|
||||||
type: application
|
type: application
|
||||||
urls:
|
urls:
|
||||||
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/praktikum/praktikum-0.1.4.tgz
|
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/praktikum/praktikum-0.1.6.tgz
|
||||||
version: 0.1.4
|
version: 0.1.6
|
||||||
generated: "2025-12-08T12:45:49.222751+01:00"
|
generated: "2026-01-09T09:43:57.521169+01:00"
|
||||||
|
|||||||
Binary file not shown.
BIN
praktikum/praktikum-0.1.6.tgz
Normal file
BIN
praktikum/praktikum-0.1.6.tgz
Normal file
Binary file not shown.
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: praktikum
|
name: praktikum
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: "0.1.4"
|
version: "0.1.6"
|
||||||
appVersion: "0.1.6"
|
appVersion: "0.1.8"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ serviceAccount:
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: gitea.innovation-hub-niedersachsen.de/innohub/praktikum
|
repository: gitea.innovation-hub-niedersachsen.de/innohub/praktikum
|
||||||
tag: v0.1.6
|
tag: v0.1.8
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
insecure: true
|
insecure: true
|
||||||
|
|
||||||
|
|||||||
@@ -2,24 +2,24 @@ apiVersion: v1
|
|||||||
entries:
|
entries:
|
||||||
streifencheck-backend:
|
streifencheck-backend:
|
||||||
- apiVersion: v2
|
- apiVersion: v2
|
||||||
appVersion: 0.169-dev.1
|
appVersion: 0.185-dev.1
|
||||||
created: "2025-12-01T12:21:59.087452486+01:00"
|
created: "2026-01-15T11:22:05.236308925+01:00"
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
digest: 3502e991be5c875e2ee4868bfe2adbf0a8957e99a0abefce2683739e1c9d5527
|
digest: 5fb7a5782425ebd18cd83ab4bff63ad1302250f72e08c45280ff5f83453bf82d
|
||||||
name: streifencheck-backend
|
name: streifencheck-backend
|
||||||
type: application
|
type: application
|
||||||
urls:
|
urls:
|
||||||
- streifencheck-backend-0.169-dev.1.tgz
|
- streifencheck-backend-0.185-dev.1.tgz
|
||||||
version: 0.169-dev.1
|
version: 0.185-dev.1
|
||||||
streifencheck-frontend:
|
streifencheck-frontend:
|
||||||
- apiVersion: v2
|
- apiVersion: v2
|
||||||
appVersion: 0.221-dev.1
|
appVersion: 0.224-dev.1
|
||||||
created: "2025-12-01T12:21:59.087815193+01:00"
|
created: "2026-01-15T11:22:05.236702571+01:00"
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
digest: eea1d4bd84fc0d86553a2c94240d33079d3017785a12e85f03e030842f3a8753
|
digest: a7a1faf471acb8cb975bff88a778d813db10002d5cbdd4ea5073ec091fecbe3e
|
||||||
name: streifencheck-frontend
|
name: streifencheck-frontend
|
||||||
type: application
|
type: application
|
||||||
urls:
|
urls:
|
||||||
- streifencheck-frontend-0.221-dev.1.tgz
|
- streifencheck-frontend-0.224-dev.1.tgz
|
||||||
version: 0.221-dev.1
|
version: 0.224-dev.1
|
||||||
generated: "2025-12-01T12:21:59.08702393+01:00"
|
generated: "2026-01-15T11:22:05.235834355+01:00"
|
||||||
|
|||||||
Binary file not shown.
BIN
streifencheck-dev/streifencheck-backend-0.185-dev.1.tgz
Normal file
BIN
streifencheck-dev/streifencheck-backend-0.185-dev.1.tgz
Normal file
Binary file not shown.
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: streifencheck-backend
|
name: streifencheck-backend
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 0.169-dev.1
|
version: 0.185-dev.1
|
||||||
appVersion: 0.169-dev.1
|
appVersion: 0.185-dev.1
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ serviceAccount:
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: gitea.innovation-hub-niedersachsen.de/innohub/streifencheck-backend
|
repository: gitea.innovation-hub-niedersachsen.de/innohub/streifencheck-backend
|
||||||
tag: 0.169-dev.1
|
tag: 0.185-dev.1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
insecure: true
|
insecure: true
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
streifencheck-dev/streifencheck-frontend-0.224-dev.1.tgz
Normal file
BIN
streifencheck-dev/streifencheck-frontend-0.224-dev.1.tgz
Normal file
Binary file not shown.
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: streifencheck-frontend
|
name: streifencheck-frontend
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 0.221-dev.1
|
version: 0.224-dev.1
|
||||||
appVersion: 0.221-dev.1
|
appVersion: 0.224-dev.1
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ serviceAccount:
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: gitea.innovation-hub-niedersachsen.de/innohub/streifencheck-frontend
|
repository: gitea.innovation-hub-niedersachsen.de/innohub/streifencheck-frontend
|
||||||
tag: 0.221-dev.1
|
tag: 0.224-dev.1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
insecure: true
|
insecure: true
|
||||||
|
|
||||||
|
|||||||
@@ -2,13 +2,13 @@ apiVersion: v1
|
|||||||
entries:
|
entries:
|
||||||
tatort:
|
tatort:
|
||||||
- apiVersion: v2
|
- apiVersion: v2
|
||||||
appVersion: 0.97-dev.1
|
appVersion: 0.101-dev.1
|
||||||
created: "2025-12-10T08:39:48.682361104+01:00"
|
created: "2025-12-16T13:28:33.660511461+01:00"
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
digest: 50f30d5283f3fa9e6eb9adc4bd36cec195a12f9d8bf865a005e97f4aaf43c000
|
digest: 3a3928ec03ac75126a55abee9cc96b46a24a39dff0148cc24a47681124e212db
|
||||||
name: tatort
|
name: tatort
|
||||||
type: application
|
type: application
|
||||||
urls:
|
urls:
|
||||||
- tatort-0.97-dev.1.tgz
|
- tatort-0.101-dev.1.tgz
|
||||||
version: 0.97-dev.1
|
version: 0.101-dev.1
|
||||||
generated: "2025-12-10T08:39:48.681844603+01:00"
|
generated: "2025-12-16T13:28:33.659944585+01:00"
|
||||||
|
|||||||
BIN
tatort-dev/tatort-0.101-dev.1.tgz
Normal file
BIN
tatort-dev/tatort-0.101-dev.1.tgz
Normal file
Binary file not shown.
Binary file not shown.
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: tatort
|
name: tatort
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 0.97-dev.1
|
version: 0.101-dev.1
|
||||||
appVersion: 0.97-dev.1
|
appVersion: 0.101-dev.1
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ serviceAccount:
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: gitea.innovation-hub-niedersachsen.de/innohub/tatort-dev
|
repository: gitea.innovation-hub-niedersachsen.de/innohub/tatort-dev
|
||||||
tag: 0.97-dev.1
|
tag: 0.101-dev.1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
insecure: true
|
insecure: true
|
||||||
|
|
||||||
|
|||||||
@@ -2,13 +2,13 @@ apiVersion: v1
|
|||||||
entries:
|
entries:
|
||||||
tatort:
|
tatort:
|
||||||
- apiVersion: v2
|
- apiVersion: v2
|
||||||
appVersion: 0.3.6
|
appVersion: 0.3.8
|
||||||
created: "2025-12-09T07:55:59.676514+01:00"
|
created: "2025-12-16T15:42:03.636665+01:00"
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
digest: ca8bcada71ec12ac8fe684fad42399d8502b791febfbdce296cf6457ac5cd57d
|
digest: df74d4ae5835dd37b9dee472b08491384b619a310a5e247980fd2fe17997c1c6
|
||||||
name: tatort
|
name: tatort
|
||||||
type: application
|
type: application
|
||||||
urls:
|
urls:
|
||||||
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/tatort/tatort-0.1.4.tgz
|
- https://gitea.innovation-hub-niedersachsen.de/innohub/charts/raw/main/tatort/tatort-0.1.4.tgz
|
||||||
version: 0.1.4
|
version: 0.1.4
|
||||||
generated: "2025-12-09T07:55:59.675877+01:00"
|
generated: "2025-12-16T15:42:03.635841+01:00"
|
||||||
|
|||||||
Binary file not shown.
@@ -3,4 +3,4 @@ name: tatort
|
|||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.4
|
version: 0.1.4
|
||||||
appVersion: 0.3.6
|
appVersion: 0.3.8
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ serviceAccount:
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: gitea.innovation-hub-niedersachsen.de/innohub/tatort
|
repository: gitea.innovation-hub-niedersachsen.de/innohub/tatort
|
||||||
tag: v0.3.6
|
tag: v0.3.8
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
insecure: true
|
insecure: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user