浏览代码

Configures authentik ingress for letsencrypt

Simon Kaiser 3 年前
父节点
当前提交
73a31f2688
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. 6
    0
      gitops-kaisers-info/templates/authentik.yaml
  2. 1
    1
      gitops-kaisers-info/templates/letsencrypt.yaml

+ 6
- 0
gitops-kaisers-info/templates/authentik.yaml 查看文件

@@ -47,11 +47,17 @@ spec:
47 47
 
48 48
         ingress:
49 49
           enabled: true
50
+          annotations:
51
+            cert-manager.io/cluster-issuer: letsencrypt-prod
50 52
           hosts:
51 53
             - host: authentik.kaisers.info
52 54
               paths:
53 55
                 - path: "/"
54 56
                   pathType: Prefix
57
+          tls:
58
+            - hosts:
59
+                - authentik.kaisers.info
60
+              secretName: authentik-kaisers-info-tls
55 61
 
56 62
         postgresql:
57 63
           enabled: true

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

@@ -1,7 +1,7 @@
1 1
 apiVersion: cert-manager.io/v1alpha2
2 2
 kind: ClusterIssuer
3 3
 metadata:
4
-  name: letsencrypt
4
+  name: letsencrypt-prod
5 5
 spec:
6 6
   acme:
7 7
     email: simon.kaiser@gmx.net # replace this