First version of helm-charts

This commit is contained in:
2025-11-01 01:24:09 +01:00
parent 94363d49ce
commit 718160c8b7
9 changed files with 334 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{{- if .Values.ingress.enabled }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "vorgabenui.fullname" . }}
namespace: {{ .Values.global.namespace }}
labels:
{{- include "vorgabenui.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className }}
{{- end }}
rules:
- host: {{ .Values.ingress.host }}
http:
paths:
- path: {{ .Values.ingress.path }}
pathType: {{ .Values.ingress.pathType }}
backend:
service:
name: {{ include "vorgabenui.fullname" . }}
port:
number: {{ .Values.django.service.port }}
{{- if .Values.ingress.tls }}
tls:
{{- toYaml .Values.ingress.tls | nindent 4 }}
{{- end }}
{{- end }}