Remove nextcloud

This commit is contained in:
Ruben Hensen
2025-03-30 17:31:40 +02:00
parent 8553da6797
commit 56f835dcce
+104 -104
View File
@@ -1,108 +1,108 @@
apiVersion: argoproj.io/v1alpha1 # apiVersion: argoproj.io/v1alpha1
kind: Application # kind: Application
metadata: # metadata:
name: nextcloud-helm # name: nextcloud-helm
namespace: argocd # namespace: argocd
finalizers: # finalizers:
- resources-finalizer.argocd.argoproj.io # - resources-finalizer.argocd.argoproj.io
spec: # spec:
destination: # destination:
namespace: nextcloud # namespace: nextcloud
server: https://kubernetes.default.svc # server: https://kubernetes.default.svc
project: default # project: default
source: # source:
repoURL: https://nextcloud.github.io/helm/ # repoURL: https://nextcloud.github.io/helm/
targetRevision: 6.6.3 # targetRevision: 6.6.3
chart: nextcloud # chart: nextcloud
helm: # helm:
values: | # values: |
persistence: # persistence:
# Nextcloud Data (/var/www/html) # # Nextcloud Data (/var/www/html)
enabled: true # enabled: true
accessMode: ReadWriteOnce # accessMode: ReadWriteOnce
size: 100Gi # size: 100Gi
resources: {} # resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # # We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little # # choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following # # resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'. # # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits: # # limits:
# cpu: 100m # # cpu: 100m
# memory: 128Mi # # memory: 128Mi
# requests: # # requests:
# cpu: 100m # # cpu: 100m
# memory: 128Mi # # memory: 128Mi
nextcloud: # nextcloud:
host: drive.hensen.io # host: drive.hensen.io
configs: # configs:
proxy.config.php: | # proxy.config.php: |
<?php # <?php
$CONFIG = array ( # $CONFIG = array (
'trusted_proxies' => ['10.0.0.0/8', '192.168.1.1/32'], # 'trusted_proxies' => ['10.0.0.0/8', '192.168.1.1/32'],
); # );
phone.config.php: | # phone.config.php: |
<?php # <?php
$CONFIG = array ( # $CONFIG = array (
'default_phone_region' => 'NL', # 'default_phone_region' => 'NL',
); # );
phpConfigs: # phpConfigs:
user.ini: |- # user.ini: |-
upload_max_filesize=16G # upload_max_filesize=16G
post_max_size=16G # post_max_size=16G
livenessProbe: # livenessProbe:
enabled: false # enabled: false
readinessProbe: # readinessProbe:
enabled: false # enabled: false
phpClientHttpsFix: # phpClientHttpsFix:
enabled: true # enabled: true
protocol: https # protocol: https
ingress: # ingress:
enabled: true # enabled: true
className: nginx # className: nginx
annotations: # annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 100G # nginx.ingress.kubernetes.io/proxy-body-size: 100G
nginx.ingress.kubernetes.io/configuration-snippet: | # nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "Strict-Transport-Security: max-age=15768000; includeSubDomains"; # more_set_headers "Strict-Transport-Security: max-age=15768000; includeSubDomains";
# kubernetes.io/tls-acme: "true" # # kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: prod-cluster-issuer # cert-manager.io/cluster-issuer: prod-cluster-issuer
# # Keep this in sync with the README.md: # # # Keep this in sync with the README.md:
# nginx.ingress.kubernetes.io/server-snippet: | # # nginx.ingress.kubernetes.io/server-snippet: |
# server_tokens off # # server_tokens off
# proxy_hide_header X-Powered-By; # # proxy_hide_header X-Powered-By;
# rewrite ^/.well-known/webfinger /index.php/.well-known/webfinger last; # # rewrite ^/.well-known/webfinger /index.php/.well-known/webfinger last;
# rewrite ^/.well-known/nodeinfo /index.php/.well-known/nodeinfo last; # # rewrite ^/.well-known/nodeinfo /index.php/.well-known/nodeinfo last;
# rewrite ^/.well-known/host-meta /public.php?service=host-meta last; # # rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
# rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json; # # rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json;
# location = /.well-known/carddav { # # location = /.well-known/carddav {
# return 301 $scheme://$host/remote.php/dav; # # return 301 $scheme://$host/remote.php/dav;
# } # # }
# location = /.well-known/caldav { # # location = /.well-known/caldav {
# return 301 $scheme://$host/remote.php/dav; # # return 301 $scheme://$host/remote.php/dav;
# } # # }
# location = /robots.txt { # # location = /robots.txt {
# allow all; # # allow all;
# log_not_found off; # # log_not_found off;
# access_log off; # # access_log off;
# } # # }
# location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ { # # location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
# deny all; # # deny all;
# } # # }
# location ~ ^/(?:autotest|occ|issue|indie|db_|console) { # # location ~ ^/(?:autotest|occ|issue|indie|db_|console) {
# deny all; # # deny all;
# } # # }
tls: # tls:
- secretName: nextcloud-tls # - secretName: nextcloud-tls
hosts: # hosts:
- drive.hensen.io # - drive.hensen.io
labels: {} # labels: {}
path: / # path: /
pathType: Prefix # pathType: Prefix
syncPolicy: # syncPolicy:
syncOptions: # syncOptions:
- CreateNamespace=true # - CreateNamespace=true
automated: # automated:
selfHeal: true # selfHeal: true