Update k8s/apps/hexound/deployment.yaml

This commit is contained in:
ab
2025-04-13 11:46:58 +00:00
parent 1d0ae91dde
commit 074fa00ff8

View File

@ -1,11 +1,10 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: hexound
namespace: hexound
spec:
replicas: TST
replicas: 1
selector:
matchLabels:
app: hexound
@ -35,8 +34,14 @@ spec:
volumeMounts:
- name: hexound-repo
mountPath: /var/www/html
readOnly: true
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
runAsNonRoot: true
runAsUser: 101
runAsGroup: 101
ports:
- name: http
containerPort: 8080
protocol: TCP
protocol: TCP