diff --git a/examples/service-nginx-ingress.yaml b/examples/service-nginx-ingress.yaml index 20a6c40..3dbeec9 100644 --- a/examples/service-nginx-ingress.yaml +++ b/examples/service-nginx-ingress.yaml @@ -34,7 +34,7 @@ spec: --- -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: nginx-ingress @@ -46,6 +46,9 @@ spec: http: paths: - path: / + pathType: Prefix backend: - serviceName: nginx-service - servicePort: 80 + service: + name: nginx-service + port: + number: 80