change nginx settings
Some checks failed
Podman Rootless Demo / test-backend (push) Has been skipped
Podman Rootless Demo / test-frontend (push) Has been skipped
Podman Rootless Demo / build-backend (push) Has been skipped
Podman Rootless Demo / build-frontend (push) Has been skipped
Podman Rootless Demo / deploy-prod (push) Failing after 1m19s

This commit is contained in:
continuist 2025-09-20 23:25:07 -04:00
parent 1a98e2bbc1
commit 3bd09c48af

View file

@ -150,6 +150,8 @@ spec:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
capabilities: capabilities:
drop: ["ALL"] drop: ["ALL"]
runAsUser: 0 # Run as root
runAsGroup: 0 # Run as root group
ports: ports:
- containerPort: 8080 # inside pod - containerPort: 8080 # inside pod
hostIP: 127.0.0.1 # only loopback on host hostIP: 127.0.0.1 # only loopback on host