Skip to content

Commit

Permalink
#SDSV-24 Update ingres yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmartin committed Mar 13, 2024
1 parent d95816f commit 5819ab5
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions deploy/k8s/ingress_tpl.yaml
Original file line number Diff line number Diff line change
@@ -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: [email protected]
privateKeySecretRef:
name: tls-secret
name: letsencrypt-sds-viewer
solvers:
- http01:
ingress:
Expand All @@ -17,21 +17,19 @@ 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}}"
http:
paths:
- backend:
service:
name: sds-viewer
name: nginx
port:
number: 80
path: /
Expand Down

0 comments on commit 5819ab5

Please sign in to comment.