diff --git a/charts/osticket/v0.2.0/templates/ingress.yaml b/charts/osticket/v0.2.0/templates/ingress.yaml index 2adf3d1..f802f49 100644 --- a/charts/osticket/v0.2.0/templates/ingress.yaml +++ b/charts/osticket/v0.2.0/templates/ingress.yaml @@ -1,7 +1,7 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "osticket.fullname" . -}} {{- $ingressPath := .Values.ingress.path -}} -apiVersion: extensions/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ $fullName }} @@ -28,8 +28,11 @@ spec: http: paths: - path: {{ $ingressPath }} + pathType: Prefix backend: - serviceName: {{ $fullName }} - servicePort: http + service: + name: {{ $fullName }} + port: + name: http {{- end }} {{- end }}