|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+apiVersion: argoproj.io/v1alpha1
|
|
|
2
|
+kind: Application
|
|
|
3
|
+metadata:
|
|
|
4
|
+ name: nextcloud
|
|
|
5
|
+ namespace: {{ .Values.spec.namespace }}
|
|
|
6
|
+ finalizers:
|
|
|
7
|
+ - resources-finalizer.argocd.argoproj.io
|
|
|
8
|
+spec:
|
|
|
9
|
+ destination:
|
|
|
10
|
+ namespace: {{ .Values.spec.namespace }}
|
|
|
11
|
+ name: {{ .Values.spec.destination.name }}
|
|
|
12
|
+ project: {{ .Values.spec.project }}
|
|
|
13
|
+ syncPolicy:
|
|
|
14
|
+ automated:
|
|
|
15
|
+ prune: true
|
|
|
16
|
+ selfHeal: true
|
|
|
17
|
+ source:
|
|
|
18
|
+ chart: nextcloud
|
|
|
19
|
+ repoURL: https://nextcloud.github.io/helm/
|
|
|
20
|
+ targetRevision: 2.12.1
|
|
|
21
|
+ helm:
|
|
|
22
|
+ releaseName: nextcloud
|
|
|
23
|
+ values: |
|
|
|
24
|
+ ingress:
|
|
|
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: {}
|
|
|
60
|
+ path: /
|
|
|
61
|
+ pathType: Prefix
|
|
|
62
|
+
|
|
|
63
|
+ nextcloud:
|
|
|
64
|
+ host: newcloud.kaisers.info
|
|
|
65
|
+ username: admin
|
|
|
66
|
+ password: changeme
|