revert day 2 attack fix
This commit is contained in:
mrxhunt 2026-03-12 08:34:24 +00:00
parent dd38b0ee7f
commit 22894f8491

View File

@ -16,33 +16,35 @@ spec:
app: phoenix-app
spec:
serviceAccountName: phoenix-sa
hostPID: true
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
imagePullSecrets:
- name: harbor-secret
securityContext:
runAsNonRoot: true
runAsUser: 1000
seccompProfile:
type: RuntimeDefault
containers:
- name: phoenix-app
image: harbor.mxhunt.in/k8s-lab/phoenix:803b033bd5a81a33ad129f9907845a5030351963
ports:
- containerPort: 8080
hostPort: 8080
env:
- name: DEBUG_PATH
valueFrom:
configMapKeyRef:
name: phoenix-config
key: DEBUG_PATH
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
livenessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
periodSeconds: 10
securityContext:
privileged: true
volumeMounts:
- name: host-root
mountPath: /host
volumes:
- name: host-root
hostPath:
path: /