Skip to content

Commit

Permalink
Update ingress.yaml to work with new ingress nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
1fabi0 committed Nov 27, 2023
1 parent 63ef678 commit 143e54a
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- $fullName := include "fullName" . -}}
{{- $namespace := include "namespace" . -}}
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
Expand All @@ -26,7 +26,10 @@ spec:
- host: {{ include "hostName" . }}
http:
paths:
- backend:
serviceName: {{ $fullName }}-routing
servicePort: 443
path: /
- path: /
pathType: Prefix
backend:
service:
name: {{ $fullName }}-routing
port:
number: 443

0 comments on commit 143e54a

Please sign in to comment.