fix(apps): add resource limits and disable user registration for drone
All checks were successful
Check Kubernetes YAMLs / scan (push) Successful in 18s

This commit is contained in:
Lee 2024-09-23 22:33:26 +01:00
parent a627d8ced3
commit a1b5e6b50f

@ -22,13 +22,13 @@ spec:
ports:
- containerPort: 80
- containerPort: 443
# resources:
# requests:
# cpu: 50m
# memory: 100Mi
# limits:
# cpu: 1000m # 1 vCPU
# memory: 200Mi
resources:
requests:
cpu: 50m
memory: 75Mi
limits:
cpu: 100m
memory: 200Mi
env:
- name: DRONE_GITEA_SERVER
value: "https://git.fascinated.cc"
@ -51,6 +51,8 @@ spec:
value: "drone.local.fascinated.cc"
- name: DRONE_SERVER_PROTO
value: "https"
- name: DRONE_REGISTRATION_CLOSED
value: "true"
volumeMounts:
- name: drone-data
mountPath: /data