neue ingress.yaml (wekan)

This commit is contained in:
titver968
2025-03-07 08:56:54 +01:00
parent fe8fb726c6
commit 272419a872
3 changed files with 49 additions and 3 deletions

View File

@@ -3,12 +3,12 @@ entries:
tatort: tatort:
- apiVersion: v2 - apiVersion: v2
appVersion: 0.0.1 appVersion: 0.0.1
created: "2025-03-07T08:24:09.948738+01:00" created: "2025-03-07T08:56:10.227617+01:00"
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
digest: 95e08201219f484e8e81b39dfd8419b57aa56c5031c815d37aee6d4d2117761c digest: eb4ba242257cb5c08abfd69865fcd6d8b04822ca039464281d8ab2ce8c0ccc56
name: tatort name: tatort
type: application type: application
urls: urls:
- https://gitea.innohub.local:3000/innohub/charts/raw/main/tatort-0.1.1.tgz - https://gitea.innohub.local:3000/innohub/charts/raw/main/tatort-0.1.1.tgz
version: 0.1.1 version: 0.1.1
generated: "2025-03-07T08:24:09.948384+01:00" generated: "2025-03-07T08:56:10.227278+01:00"

46
ingress.yaml Normal file
View File

@@ -0,0 +1,46 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "tatort.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 "tatort.name" . }}
chart: {{ template "tatort.chart" . }}
component: tatort
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
annotations:
{{- with .Values.ingress.annotations }}
# {{- with $ingress.annotations }}
{{- . | toYaml | niindent 4 }}
{{- end }}
spec:
{{- 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: 4173
{{- end }}
{{- end }}

Binary file not shown.