fix: harden proxy auth and deployment security
This commit is contained in:
1 parent
f5e8dde608
commit
ebf5d45491
14 files changed
+172
-44
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user