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