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