zhong (钟鹏群) 2 týždňov pred
rodič
commit
27ee974adb
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      deployments/gogs-ingress.yaml

+ 2 - 1
deployments/gogs-ingress.yaml

@@ -3,7 +3,8 @@ kind: Ingress
 metadata:
   name: gogs-ingress
   namespace: nginx-app
-# 删掉 nginx.ingress 开头所有annotations
+  annotations:
+    traefik.ingress.kubernetes.io/service.scheme: "http"    # 加上这个
 spec:
   ingressClassName: traefik  # 显式指定traefik
   rules: