From a979f373e3a7024e96bbece1036fa347493dc52f Mon Sep 17 00:00:00 2001 From: yume233 Date: Sun, 8 Jan 2023 14:41:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E5=91=9C=E5=91=9C=20=E7=BC=A9?= =?UTF-8?q?=E8=BF=9B=E9=94=99=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nwbot/ingress.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/nwbot/ingress.yaml b/nwbot/ingress.yaml index 0bac3aa..eb9e857 100644 --- a/nwbot/ingress.yaml +++ b/nwbot/ingress.yaml @@ -4,7 +4,8 @@ metadata: name: nwbot namespace: nwbot annotations: - kubernetes.io/ingress.class: "nginx" + cert-manager.io/cluster-issuer: letsencrypt-production + kubernetes.io/ingress.class: nginx spec: rules: - host: bot.biudi.cn @@ -13,10 +14,11 @@ spec: - path: / pathType: Prefix backend: - name: nwbot - port: - number: 53121 -tls: - - hosts: - - bot.biudi.cn - secretName: nwbot-secret + service: + name: nwbot + port: + number: 53121 + tls: + - hosts: + - bot.biudi.cn + secretName: nwbot