infra4scaleway/apps/nextcloud.yaml
Martyn Ranyard 040d38f475 allow me to debug
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2025-07-24 15:47:55 +00:00

62 lines
1.6 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nextcloud
namespace: argocd
spec:
destination:
namespace: nextcloud
server: https://kubernetes.default.svc
project: default
source:
chart: nextcloud
helm:
parameters:
- name: nextcloud.host
value: nc.martyn.berlin
- name: ingress.enabled
value: "true"
values: |-
ingress:
tls:
- hosts:
- nc.martyn.berlin
secretName: nc-tls
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "X-Forwarded-For"
className: nginx
nextcloud:
configs:
ssl.config.php: |-
<?php
$CONFIG = array (
'overriteprotocol' => 'https',
'trusted_proxies' => array(
0 => '10.0.0.0/8',
1 => '51.15.83.111'
),
'forwarded_for_headers' => array(
'HTTP_X_FORWARDED_FOR'
)
);
persistence:
enabled: true
storageClass: longhorn-single
accessMode: ReadWriteOnce
size: 2Gi
startupProbe:
enabled: true
initialDelaySeconds: 120
failureThreshold: 50
livenessProbe:
enabled: false
readinessProbe:
enabled: false
repoURL: https://nextcloud.github.io/helm/
targetRevision: 6.6.10
syncPolicy:
automated:
prune: true
selfHeal: true