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
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:
parent
1a98e2bbc1
commit
3bd09c48af
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue