ingress.yaml
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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: []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user