add vikunja
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
67a2318a96
commit
854f70e8ee
9 changed files with 171 additions and 0 deletions
51
apps/vikunja/deployment.yaml
Normal file
51
apps/vikunja/deployment.yaml
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: vikunja
|
||||
namespace: vikunja
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: vikunja
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: vikunja
|
||||
spec:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
fsGroup: 1000
|
||||
containers:
|
||||
- name: vikunja
|
||||
image: vikunja/vikunja:0.24.6
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
ports:
|
||||
- containerPort: 3456
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
volumeMounts:
|
||||
- name: vikunja-data
|
||||
mountPath: /app/vikunja/files
|
||||
subPath: files
|
||||
- name: vikunja-data
|
||||
mountPath: /db
|
||||
subPath: db
|
||||
volumes:
|
||||
- name: vikunja-data
|
||||
persistentVolumeClaim:
|
||||
claimName: vikunja-data
|
||||
Loading…
Add table
Add a link
Reference in a new issue