mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-05-12 19:56:57 +00:00
update helm ingress template to new api version
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: kubeinvaders
|
||||
@@ -22,8 +22,11 @@ spec:
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
serviceName: kubeinvaders
|
||||
servicePort: 8080
|
||||
service:
|
||||
name: kubeinvaders
|
||||
port:
|
||||
number: 8080
|
||||
{{- end }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user