Bug 2161712

Summary: allow container networking configuration
Product: Red Hat Enterprise Linux 9 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: VERIFIED --- QA Contact: Jakub Haruda <jharuda>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.3CC: bblasco, ddarrah, djez, jharuda, santiago, spetrosi, vdanek
Target Milestone: rcKeywords: Triaged
Target Release: 9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:podman
Fixed In Version: rhel-system-roles-1.22.0-0.16.el9 Doc Type: Enhancement
Doc Text:
Feature: Add support for quadlets. User can pass in quadlet units using `podman_quadlet_units`. Add support for secrets. User can pass in Ansible Vault encrypted secrets using `podman_secrets`. Reason: quadlets are the new way to implement applications in podman that use systemd services. quadlets allow you to specify everything you need to run your application - containers, services, volumes, networks, and more - using simple, systemd style unit files. Secrets such as passwords, tokens, keys, etc. are an important part of application configuration, so the role now allows those to be specified. Result: Users can deploy entire, complex applications using the podman system role using quadlet units.
Story Points: ---
Clone Of:
: 2220963 (view as bug list) Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2220963    
Deadline: 2023-08-07   

Description Rich Megginson 2023-01-17 17:08:00 UTC
from https://github.com/linux-system-roles/podman/issues/42 there is no way to configure which network to run the pods on. My problem is that dns resolution between pods doesn't work for me on RHEL 8.6 and podman 4.2. It does work on Fedora 37 which has podman 4.3 which adds a default podman-kube network but I still can not add any custom networks using this role

Comment 2 Rich Megginson 2023-06-22 21:54:41 UTC
@

Comment 3 Rich Megginson 2023-06-22 21:56:50 UTC
@bblasco I have a wip of the podman role with support for quadlet, including networking and healthcheck (if using podman 4.5 or later).  https://github.com/richm/linux-system-roles-podman/tree/quadlet
It also contains an implementation of the quadlet-demo https://github.com/ygalblum/quadlet-demo, except using the podman role instead.  I would appreciate it if you could take a look at it and give it a try.

Comment 4 Benjamin Blasco 2023-06-26 01:02:57 UTC
@rmeggins I will test and share the git repo with my work with you once I have some results!