Browse Source

Nextcloud with le

Simon Kaiser 3 years ago
parent
commit
7fedf7690a
1 changed files with 6 additions and 34 deletions
  1. 6
    34
      cloud-kaisers-info/templates/nextcloud.yaml

+ 6
- 34
cloud-kaisers-info/templates/nextcloud.yaml View File

@@ -23,40 +23,12 @@ spec:
23 23
       values: |
24 24
         ingress:
25 25
           enabled: true
26
-          # className: nginx
27
-          annotations: {}
28
-          #  nginx.ingress.kubernetes.io/proxy-body-size: 4G
29
-          #  kubernetes.io/tls-acme: "true"
30
-          #  cert-manager.io/cluster-issuer: letsencrypt-prod
31
-          #  nginx.ingress.kubernetes.io/server-snippet: |-
32
-          #    server_tokens off;
33
-          #    proxy_hide_header X-Powered-By;
34
-
35
-          #    rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
36
-          #    rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
37
-          #    rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json;
38
-          #    location = /.well-known/carddav {
39
-          #      return 301 $scheme://$host/remote.php/dav;
40
-          #    }
41
-          #    location = /.well-known/caldav {
42
-          #      return 301 $scheme://$host/remote.php/dav;
43
-          #    }
44
-          #    location = /robots.txt {
45
-          #      allow all;
46
-          #      log_not_found off;
47
-          #      access_log off;
48
-          #    }
49
-          #    location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
50
-          #      deny all;
51
-          #    }
52
-          #    location ~ ^/(?:autotest|occ|issue|indie|db_|console) {
53
-          #      deny all;
54
-          #    }
55
-          # tls:
56
-          #   - secretName: nextcloud-tls
57
-          #     hosts:
58
-          #       - nextcloud.kube.home
59
-          labels: {}
26
+          annotations: 
27
+            cert-manager.io/cluster-issuer: "letsencrypt-prod"
28
+          tls:
29
+            - secretName: "newcloud-kaisers-info-tls"
30
+              hosts:
31
+                - "newcloud.kaisers.info"
60 32
           path: /
61 33
           pathType: Prefix
62 34