From 5819ab5a5035b4faf707481c1097423a11fd4ee1 Mon Sep 17 00:00:00 2001 From: jrmartin Date: Tue, 12 Mar 2024 20:06:45 -0700 Subject: [PATCH] #SDSV-24 Update ingres yaml --- deploy/k8s/ingress_tpl.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/deploy/k8s/ingress_tpl.yaml b/deploy/k8s/ingress_tpl.yaml index b77b898..8299bf0 100755 --- a/deploy/k8s/ingress_tpl.yaml +++ b/deploy/k8s/ingress_tpl.yaml @@ -1,13 +1,13 @@ -apiVersion: cert-manager.io/v1alpha2 +apiVersion: cert-manager.io/v1 kind: Issuer metadata: - name: 'letsencrypt-apinatomy' + name: 'letsencrypt-sds-viewer' spec: acme: server: https://acme-v02.api.letsencrypt.org/directory email: filippo@metacell.us privateKeySecretRef: - name: tls-secret + name: letsencrypt-sds-viewer solvers: - http01: ingress: @@ -17,13 +17,11 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: - cert-manager.io/issuer: letsencrypt-apinatomy + cert-manager.io/issuer: letsencrypt-sds-viewer kubernetes.io/ingress.class: nginx kubernetes.io/tls-acme: 'true' - nginx.ingress.kubernetes.io/ssl-redirect: 'true' nginx.ingress.kubernetes.io/proxy-body-size: 512m - nginx.ingress.kubernetes.io/from-to-www-redirect: 'true' - name: sds-viewer + name: sds-viewer-nginx-ingress spec: rules: - host: "{{DOMAIN}}" @@ -31,7 +29,7 @@ spec: paths: - backend: service: - name: sds-viewer + name: nginx port: number: 80 path: /