feat: migrate dokuwiki to k8s

This commit is contained in:
cătălin 2026-08-09 14:11:31 +02:00
commit 75e4957d3d
No known key found for this signature in database
9 changed files with 338 additions and 15 deletions

View file

@ -0,0 +1,51 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: dokuwiki
namespace: argo-cd
spec:
destination:
name: ''
namespace: apps-roboces
server: https://kubernetes.default.svc
sources:
- repoURL: git.roboces.dev/catalin/fukuops
chart: dokuwiki
targetRevision: 0.1.2
helm:
valuesObject:
replicaCount: 1
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false
runAsUser: 33
runAsGroup: 33
capabilities:
drop:
- all
service:
type: LoadBalancer
port: 8004
ingress:
enabled: true
className: "traefik"
hosts:
- host: wiki.roboces.dev
paths:
- path: /
pathType: Prefix
persistence:
enabled: true
storageClass: "truenas-nfs-csi"
accessMode: ReadWriteMany
size: 20Gi
env:
PHP_TIMEZONE: Europe/Madrid
PHP_MEMORYLIMIT: 512M
PHP_UPLOADLIMIT: 128M
project: roboces
syncPolicy:
automated:
prune: true
selfHeal: true