ingress.yaml

This commit is contained in:
titver968
2025-03-05 21:22:15 +01:00
parent 9d9c22ea14
commit 87eb02781d
4 changed files with 13 additions and 15 deletions

View File

@@ -9,12 +9,11 @@ spec:
ingressClassName: {{ .Values.ingress.className }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host }}
- host: {{ . }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
pathType: {{ .pathType }}
- path: {{ $.Values.ingress.path }}
pathType: {{ $.Values.ingress.pathType }}
backend:
service:
name: {{ $fullName }}
@@ -26,4 +25,3 @@ spec:
tls:
{{- toYaml .Values.ingress.tls | nindent 4 }}
{{- end }}
{{- end }}

View File

@@ -15,7 +15,7 @@ replicaCount: 1
service:
type: ClusterIP
port: 80
port: 4173
annotations: {}
endpoint: tatort.local
@@ -27,12 +27,12 @@ ingress:
# kubernetes.io/tls-acme: "true"
path: /
pathtype: ImplementationSpecific
# hosts: [ tatort.local ]
hosts:
- host: tatort.local
paths:
- path: /
pathType: ImplementationSpecific
hosts: [ tatort.local ]
# hosts:
# - host: tatort.local
# paths:
# - path: /
# pathType: ImplementationSpecific
tls: []