-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-9.5
-
No
-
Low
-
rhel-container-tools
-
3
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
This is a follow up of JIRA https://issues.redhat.com/browse/RHEL-80314.
- Trying to create a podman pod(using quadlet) which has an attached volume. Please check the comments for the kube and yaml files
- However, when there is any change to the volume specifications(for example "ro" changed to "rw"), the volumes are not modified when the service is restarted
- Manually deleting and recreating the volume still works and it was communicated in the earlier JIRA that it is an expected behavior from podman
- Customer is however using --replace option with quadlet and is expecting the volumes to be recreated. However, if this has been made purposely to retain the contents of volume, we are now looking for additional ways to recreate the volumes
I can suggest two options but leaving it to you guys to decide
- Re create volumes when using --replace option
- Or introduce a new flag to force replace everything included in the quadlet yaml definition