use separate certificate for oauth2-proxy

because it's not in default namespace
This commit is contained in:
Andrey Kartashov 2019-11-02 21:06:47 +07:00
parent 34b6d4d06c
commit 95e7312153
2 changed files with 2 additions and 3 deletions

View file

@ -18,7 +18,6 @@ spec:
- router.gorilych.ru
- seafile.gorilych.ru
- grafana.gorilych.ru
- oauth2.gorilych.ru
acme:
config:
- http01: { ingressClass: nginx }
@ -31,6 +30,5 @@ spec:
- router.gorilych.ru
- seafile.gorilych.ru
- grafana.gorilych.ru
- oauth2.gorilych.ru

View file

@ -13,10 +13,11 @@ oauth2-proxy:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt
hosts:
- oauth2.gorilych.ru
tls:
- hosts:
- oauth2.gorilych.ru
secretName: san-gorilych-ru-tls
secretName: oauth2-gorilych-ru-tls