From 4b6d172e51f7dbde8deebf5f650ccddb8d0f3b06 Mon Sep 17 00:00:00 2001 From: zmailloux Date: Tue, 19 Feb 2019 16:02:30 -0600 Subject: [PATCH 1/2] please --- charts/meta-project/templates/ingress.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/meta-project/templates/ingress.yaml b/charts/meta-project/templates/ingress.yaml index 35e8581..3d5e29b 100644 --- a/charts/meta-project/templates/ingress.yaml +++ b/charts/meta-project/templates/ingress.yaml @@ -29,13 +29,13 @@ spec: - host: {{ $fullName }}.{{ . }} http: paths: - - path: / - backend: - serviceName: {{ $fullName }} - servicePort: 9000 - path: /external backend: serviceName: {{ $fullName }} servicePort: 9001 + - path: / + backend: + serviceName: {{ $fullName }} + servicePort: 9000 {{- end }} {{- end }} From 4555bec4b60c456bc5bf915068906a90fb2265de Mon Sep 17 00:00:00 2001 From: zmailloux Date: Wed, 20 Feb 2019 08:42:30 -0600 Subject: [PATCH 2/2] Upgrade Ingress --- charts/meta-project/templates/ingress.yaml | 4 ++-- charts/meta-project/values.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/meta-project/templates/ingress.yaml b/charts/meta-project/templates/ingress.yaml index 3d5e29b..b993107 100644 --- a/charts/meta-project/templates/ingress.yaml +++ b/charts/meta-project/templates/ingress.yaml @@ -29,11 +29,11 @@ spec: - host: {{ $fullName }}.{{ . }} http: paths: - - path: /external + - path: /external/?(.*) backend: serviceName: {{ $fullName }} servicePort: 9001 - - path: / + - path: /?(.*) backend: serviceName: {{ $fullName }} servicePort: 9000 diff --git a/charts/meta-project/values.yaml b/charts/meta-project/values.yaml index feef350..69ecfb3 100644 --- a/charts/meta-project/values.yaml +++ b/charts/meta-project/values.yaml @@ -14,8 +14,8 @@ ingress: annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/ssl-redirect: "true" - nginx.ingress.kubernetes.io/rewrite-target: / -# path: / + nginx.ingress.kubernetes.io/rewrite-target: /$1 + hosts: - zach.zebra.engineering tls: []