forked from ab/homelab
Update k8s/apps/hexound/deployment.yaml
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user