Replies: 1 comment
-
Here is a possible security improvement. If none of the containers need to create outgoing connections, you could disallow that by doing the following
Currently you are using localhost when connecting with curl. That will not be work after dropping the pod. I see your API Server does not currently use socket activation
To make the API server available to the internet, you would need to adjust your python code to use socket activation or you could configure nginx to act as an HTTP reverse proxy for the API Server. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking for recent, working Ansible playbooks that deploy a Podman pod and containers using the Quadlet method, with a focus on security best practices throughout. I encountered repeated issues where the playbook failed to create the necessary Quadlet files, and after extensive troubleshooting, I developed the working playbook below.
While this version functions as expected, I'm unsure if I'm fully leveraging the capabilities of the redhat.rhel_system_roles.podman role. The examples available on the Red Hat portal didn’t seem to work reliably in my environment (AAP 2.5 containerized), and I’d appreciate any insights into:
ansible_rootless_hello_world.yml.txt
Beta Was this translation helpful? Give feedback.
All reactions