瀏覽代碼

Gitea TLS

Simon Kaiser 3 年之前
父節點
當前提交
6c20e9dbec
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6
    1
      gitops-kaisers-info/templates/gitea.yaml

+ 6
- 1
gitops-kaisers-info/templates/gitea.yaml 查看文件

@@ -26,12 +26,17 @@ spec:
26 26
       values: |
27 27
         ingress:
28 28
           enabled: true
29
-          annotations: {}
29
+          annotations:
30
+              cert-manager.io/cluster-issuer: "letsencrypt-staging"
30 31
           hosts:
31 32
             - host: newgit.kaisers.info
32 33
               paths:
33 34
                 - path: /
34 35
                   pathType: Prefix
36
+            tls:
37
+              - secretName: newgit-kaisers-info-tls
38
+                hosts:
39
+                  - newgit.kaisers.info
35 40
 
36 41
         service:
37 42
           http: