Deploys Nextcloud with an FPM-alpine image and Caddy sidecar for web serving. Integrates an external CloudNativePG cluster for PostgreSQL database. Utilizes an external Valkey instance for caching. Configures S3-compatible object storage for file data. Includes an initialization job to create admin and Valkey secrets. Sets up Ingress for external access with TLS via cert-manager.
26 lines
638 B
YAML
26 lines
638 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
annotations:
|
|
myks.dev/environment: production
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
name: app-production-nextcloud
|
|
namespace: argocd
|
|
spec:
|
|
destination:
|
|
namespace: nextcloud
|
|
server: https://kubernetes.default.svc
|
|
project: env-production
|
|
source:
|
|
path: rendered/envs/production/nextcloud
|
|
repoURL: ssh://git@git.tr1ceracop.de:222/gitea_admin/k8s-and-chill.git
|
|
targetRevision: main
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|