feat: migrate dokuwiki to k8s
This commit is contained in:
parent
95b33315cd
commit
75e4957d3d
9 changed files with 338 additions and 15 deletions
51
k8s/argo-apps/dokuwiki.yaml
Normal file
51
k8s/argo-apps/dokuwiki.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue