diff --git a/index.yaml b/index.yaml index 8df556e..661ccb7 100644 --- a/index.yaml +++ b/index.yaml @@ -3,12 +3,12 @@ entries: tatort: - apiVersion: v2 appVersion: 0.0.1 - created: "2025-03-06T16:30:46.674035+01:00" + created: "2025-03-06T16:53:37.58879+01:00" description: A Helm chart for Kubernetes - digest: e78320e7fa3715d872876d1ae88607f0a0ccf18d7eaf15a44bec8899ef3bca90 + digest: 3e45a6e7493abd150c7c37b8da1e0faeb967cb1e9e344e0c07bfde84ca78fa2a 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-06T16:30:46.673562+01:00" + - https://gitea.innohub.local:3000/innohub/charts/raw/main/tatort-0.1.1.tgz + version: 0.1.1 +generated: "2025-03-06T16:53:37.588366+01:00" diff --git a/tatort-0.1.0.tgz b/tatort-0.1.0.tgz deleted file mode 100644 index 1cbe811..0000000 Binary files a/tatort-0.1.0.tgz and /dev/null differ diff --git a/tatort-0.1.1.tgz b/tatort-0.1.1.tgz new file mode 100644 index 0000000..e7af43e Binary files /dev/null and b/tatort-0.1.1.tgz differ diff --git a/tatort/Chart.yaml b/tatort/Chart.yaml index 8ab1c92..9954836 100644 --- a/tatort/Chart.yaml +++ b/tatort/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: tatort description: A Helm chart for Kubernetes type: application -version: "0.1.0" +version: "0.1.1" appVersion: "0.0.1" diff --git a/tatort/templates/ingress.yaml b/tatort/templates/ingress.yaml index d472a2a..d58803d 100644 --- a/tatort/templates/ingress.yaml +++ b/tatort/templates/ingress.yaml @@ -1,27 +1,43 @@ -{{- 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: {{ include "tatort.fullname" . }} - annotations: {{- toYaml .Values.ingress.annotations | nindent 4 }} + 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 }} spec: - ingressClassName: {{ .Values.ingress.className }} +{{- if .Values.ingress.tls }} + tls: + {{- range .Values.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} +{{- end }} rules: - {{- range .Values.ingress.hosts }} + {{- range .Values.ingress.hosts }} - host: {{ . }} http: paths: - - path: {{ $.Values.ingress.path }} - pathType: {{ $.Values.ingress.pathType }} + - path: {{ $ingressPath }} + pathType: {{ $ingressPathType }} backend: service: name: {{ $fullName }} port: - number: {{ $.Values.service.port }} - {{- end }} - {{- end }} - {{- if .Values.ingress.tls }} - tls: - {{- toYaml .Values.ingress.tls | nindent 4 }} + number: 4173 {{- end }} +