fix: harden proxy auth and deployment security

This commit is contained in:
nyan404 committed 2026-10-25 00:40:52 +03:00
1 parent f5e8dde608
commit ebf5d45491
14 files changed
+172 -44

No files matched your search

+12
View File
@@ -123,6 +123,8 @@ spec:
secretKeyRef:
name: belki-runtime
key: BELKI_ADMIN_PASSWORD
- name: BELKI_ADMIN_RATE_LIMIT_EXEMPT_PROXY_CIDRS
value: "10.42.0.0/21"
- name: BELKI_S3_ENDPOINTS
valueFrom: {secretKeyRef: {name: belki-image-store, key: BELKI_S3_ENDPOINTS}}
- name: BELKI_S3_ACCESS_KEY
@@ -147,6 +149,11 @@ spec:
port: http
initialDelaySeconds: 10
periodSeconds: 20
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 10001
---
apiVersion: v1
kind: Service
@@ -252,6 +259,11 @@ spec:
port: callback
initialDelaySeconds: 10
periodSeconds: 20
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 10001
---
apiVersion: v1
kind: Service