ingress new
This commit is contained in:
10
index.yaml
10
index.yaml
@@ -3,12 +3,12 @@ entries:
|
|||||||
tatort:
|
tatort:
|
||||||
- apiVersion: v2
|
- apiVersion: v2
|
||||||
appVersion: 0.0.1
|
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
|
description: A Helm chart for Kubernetes
|
||||||
digest: e78320e7fa3715d872876d1ae88607f0a0ccf18d7eaf15a44bec8899ef3bca90
|
digest: 3e45a6e7493abd150c7c37b8da1e0faeb967cb1e9e344e0c07bfde84ca78fa2a
|
||||||
name: tatort
|
name: tatort
|
||||||
type: application
|
type: application
|
||||||
urls:
|
urls:
|
||||||
- https://gitea.innohub.local:3000/innohub/charts/raw/main/tatort-0.1.0.tgz
|
- https://gitea.innohub.local:3000/innohub/charts/raw/main/tatort-0.1.1.tgz
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
generated: "2025-03-06T16:30:46.673562+01:00"
|
generated: "2025-03-06T16:53:37.588366+01:00"
|
||||||
|
|||||||
BIN
tatort-0.1.0.tgz
BIN
tatort-0.1.0.tgz
Binary file not shown.
BIN
tatort-0.1.1.tgz
Normal file
BIN
tatort-0.1.1.tgz
Normal file
Binary file not shown.
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: tatort
|
name: tatort
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: "0.1.0"
|
version: "0.1.1"
|
||||||
appVersion: "0.0.1"
|
appVersion: "0.0.1"
|
||||||
|
|||||||
@@ -1,27 +1,43 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
|
||||||
{{- $fullName := include "tatort.fullname" . -}}
|
{{- $fullName := include "tatort.fullname" . -}}
|
||||||
|
{{- $servicePort := .Values.service.port -}}
|
||||||
|
{{- $ingressPath := .Values.ingress.path -}}
|
||||||
|
{{- $ingressPathType := .Values.ingress.pathtype -}}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "tatort.fullname" . }}
|
name: {{ $fullName }}
|
||||||
annotations: {{- toYaml .Values.ingress.annotations | nindent 4 }}
|
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:
|
spec:
|
||||||
ingressClassName: {{ .Values.ingress.className }}
|
{{- if .Values.ingress.tls }}
|
||||||
|
tls:
|
||||||
|
{{- range .Values.ingress.tls }}
|
||||||
|
- hosts:
|
||||||
|
{{- range .hosts }}
|
||||||
|
- {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
secretName: {{ .secretName }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
{{- range .Values.ingress.hosts }}
|
{{- range .Values.ingress.hosts }}
|
||||||
- host: {{ . }}
|
- host: {{ . }}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: {{ $.Values.ingress.path }}
|
- path: {{ $ingressPath }}
|
||||||
pathType: {{ $.Values.ingress.pathType }}
|
pathType: {{ $ingressPathType }}
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: {{ $fullName }}
|
name: {{ $fullName }}
|
||||||
port:
|
port:
|
||||||
number: {{ $.Values.service.port }}
|
number: 4173
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.ingress.tls }}
|
|
||||||
tls:
|
|
||||||
{{- toYaml .Values.ingress.tls | nindent 4 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user