ingress.yaml
This commit is contained in:
@@ -3,12 +3,12 @@ entries:
|
||||
tatort:
|
||||
- apiVersion: v2
|
||||
appVersion: 0.0.1
|
||||
created: "2025-03-05T17:38:28.591776+01:00"
|
||||
created: "2025-03-05T17:58:32.94375+01:00"
|
||||
description: A Helm chart for Kubernetes
|
||||
digest: b8fce11b4b1f5e550850dc1a4513e020e4df9cb42b1959034de28a554f6c1753
|
||||
digest: b4209350cfbce50c940e9ea8f1cc37ac5e7ddbbff08c2a3c162b535a6da0caf2
|
||||
name: tatort
|
||||
type: application
|
||||
urls:
|
||||
- https://gitea.innohub.local:3000/innohub/charts/raw/main/tatort-0.1.0.tgz
|
||||
version: 0.1.0
|
||||
generated: "2025-03-05T17:38:28.59139+01:00"
|
||||
generated: "2025-03-05T17:58:32.943407+01:00"
|
||||
|
||||
BIN
tatort-0.1.0.tgz
BIN
tatort-0.1.0.tgz
Binary file not shown.
@@ -1,45 +1,29 @@
|
||||
{{- 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 }}
|
||||
{{- with .Values.ingress.annotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 4 }}
|
||||
{{- end }}
|
||||
name: {{ include "tatort.fullname" . }}
|
||||
annotations: {{- toYaml .Values.ingress.annotations | nindent 4 }}
|
||||
spec:
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- range .Values.ingress.tls }}
|
||||
- hosts:
|
||||
{{- range .hosts }}
|
||||
- {{ . }}
|
||||
{{- end }}
|
||||
secretName: {{ .secretName }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
ingressClassName: {{ .Values.ingress.className }}
|
||||
rules:
|
||||
{{- range .Values.ingress.hosts }}
|
||||
- host: {{ . }}
|
||||
- host: {{ .host }}
|
||||
http:
|
||||
paths:
|
||||
- path: {{ $ingressPath }}
|
||||
pathType: {{ $ingressPathType }}
|
||||
{{- range .paths }}
|
||||
- path: {{ .path }}
|
||||
pathType: {{ .pathType }}
|
||||
backend:
|
||||
service:
|
||||
name: {{ $fullName }}
|
||||
port:
|
||||
number: 4173
|
||||
number: {{ $.Values.service.port }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- toYaml .Values.ingress.tls | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ serviceAccount:
|
||||
automount: false
|
||||
|
||||
image:
|
||||
repository: https://gitea.innohub.local:3000/innohub/charts/chart/main/tatort
|
||||
repository: https://gitea.innohub.local:3000/innohub/charts/raw/main/tatort
|
||||
tag: 0.0.1
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user