diff --git a/index.yaml b/index.yaml index 52e767c..6ca78e8 100644 --- a/index.yaml +++ b/index.yaml @@ -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" diff --git a/tatort-0.1.0.tgz b/tatort-0.1.0.tgz index 0e688a9..288fc21 100644 Binary files a/tatort-0.1.0.tgz and b/tatort-0.1.0.tgz differ diff --git a/tatort/templates/ingress.yaml b/tatort/templates/ingress.yaml index 50997c7..2017a6a 100644 --- a/tatort/templates/ingress.yaml +++ b/tatort/templates/ingress.yaml @@ -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: {{ . }} + {{- range .Values.ingress.hosts }} + - 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 }} - diff --git a/tatort/values.yaml b/tatort/values.yaml index 4aa0222..7e00a9e 100644 --- a/tatort/values.yaml +++ b/tatort/values.yaml @@ -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