fix: add TLS for admin/api ingresses
This commit is contained in:
parent
f6e8c72e62
commit
2043ef4ac4
2 changed files with 14 additions and 0 deletions
|
|
@ -3,8 +3,15 @@ kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: nxtgauge-admin-solid
|
name: nxtgauge-admin-solid
|
||||||
namespace: nxtgauge
|
namespace: nxtgauge
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: traefik
|
ingressClassName: traefik
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- admin.nxtgauge.com
|
||||||
|
secretName: admin-tls
|
||||||
rules:
|
rules:
|
||||||
- host: admin.nxtgauge.com
|
- host: admin.nxtgauge.com
|
||||||
http:
|
http:
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,15 @@ kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: nxtgauge-backend-rust
|
name: nxtgauge-backend-rust
|
||||||
namespace: nxtgauge
|
namespace: nxtgauge
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: traefik
|
ingressClassName: traefik
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- api.nxtgauge.com
|
||||||
|
secretName: api-tls
|
||||||
rules:
|
rules:
|
||||||
- host: api.nxtgauge.com
|
- host: api.nxtgauge.com
|
||||||
http:
|
http:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue