From f306f173e6d09545a40f0713ae7d5cfc9bb1564d Mon Sep 17 00:00:00 2001 From: Joey Brakefield Date: Thu, 13 Jan 2022 08:57:33 -0500 Subject: [PATCH] Updating to new K8s ingress spec Thanks for the posting this. Just a quick update to the syntax for the new-ish K8s spec for ingress. :-) Awesome work! --- ingress/echo_auth_ingress.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ingress/echo_auth_ingress.yaml b/ingress/echo_auth_ingress.yaml index b5cb664..e9cea7c 100644 --- a/ingress/echo_auth_ingress.yaml +++ b/ingress/echo_auth_ingress.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: echo-ingress @@ -16,6 +16,10 @@ spec: - host: echo1.test.qill.in http: paths: - - backend: - serviceName: echo1 - servicePort: 80 \ No newline at end of file + - path: / + pathType: Prefix + backend: + service: + name: echo1 + port: + number: 80