From 1f1e131d25691dafe7f85a7c5c56e4b48404a017 Mon Sep 17 00:00:00 2001 From: Arnaud Rebts Date: Sun, 30 Oct 2022 09:12:49 +0100 Subject: [PATCH] fix/deploy (#178) * fix: also update kustomization patches * fix: last reference to old ingress api --- deploy/base/ingress.yaml | 7 +++++-- deploy/base/kustomization.yaml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/deploy/base/ingress.yaml b/deploy/base/ingress.yaml index 1183408..688e3c7 100644 --- a/deploy/base/ingress.yaml +++ b/deploy/base/ingress.yaml @@ -11,9 +11,12 @@ spec: http: paths: - backend: - serviceName: deps-rs - servicePort: http + service: + name: deps-rs + port: + name: http path: / + pathType: Prefix tls: - secretName: deps-rs-tls hosts: diff --git a/deploy/base/kustomization.yaml b/deploy/base/kustomization.yaml index 68fb0d0..7659726 100644 --- a/deploy/base/kustomization.yaml +++ b/deploy/base/kustomization.yaml @@ -9,7 +9,7 @@ resources: vars: - name: DOMAIN objref: - apiVersion: extensions/v1beta1 + apiVersion: networking.k8s.io/v1 kind: Ingress name: deps-rs fieldref: