Nikita Tokarchuk
9068baeb99
podman_container should ensure image by using os path if rootfs is used ( #458 )
...
* Check image with os path if rootfs is used
Signed-off-by: Nikita Tokarchuk <nikita@tokarch.uk>
* Take into account rootfs usage while evaluating a diff
Signed-off-by: Nikita Tokarchuk <nikita@tokarch.uk>
* Always compare rootfs image diffparam as strict
Signed-off-by: Nikita Tokarchuk <nikita@tokarch.uk>
* Reverse image labels getter to ignore the value if None
Signed-off-by: Nikita Tokarchuk <nikita@tokarch.uk>
* Add tests to check podman rootfs containers
Signed-off-by: Nikita Tokarchuk <nikita@tokarch.uk>
Signed-off-by: Nikita Tokarchuk <nikita@tokarch.uk>
2022-08-12 06:26:16 +03:00
Sergey
3596833a7d
Remove LC_ALL=C from podman tests ( #452 )
...
Ansible requires en_US.UTF-8 from 2.14 version.
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-07-14 12:26:28 +03:00
Sergey
33580c8991
Fix building image with buildah and become ( #451 )
...
Probably we hit a bug in CI:
https://github.com/containers/buildah/issues/3887
Unset envs to prevent error "sd-bus call: Transport endpoint is not connected"
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-07-14 11:47:50 +03:00
Sergey
2c88b822cf
Set localte in CI tests to en_US.UTF-8 ( #450 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-07-14 11:35:47 +03:00
Sagi Shnaidman
75198ae574
Fix pod network idempotency
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-07-01 10:23:12 +03:00
Sagi Shnaidman
6c862b29e7
Fix pods list retrieve
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-07-01 10:23:12 +03:00
Sergey
25b9516488
Allow specify podman_network options MTU and VLAN separately ( #435 )
...
Before that it didn't work when only one option set.
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-06-08 19:37:06 +03:00
nishipy
acedce8b4b
Update podman_image to remove image with image id ( #434 )
...
* Update to remove image with image id.
Signed-off-by: nishipy <goodisonev4@gmail.com>
2022-06-08 18:51:25 +03:00
Sergey
e5d6136694
Change network attribute from str to list in pods #414 #416 ( #417 )
...
* Change network attribute from str to list in pods
Signed-off-by: André Cirne <dumahk21@gmail.com>
* Fix tests
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
Co-authored-by: André Cirne <dumahk21@gmail.com>
2022-04-25 02:15:29 +03:00
MasterWaldo
b51dc5c814
Loop over image names when multiple images present in archive ( #413 )
...
Signed-off-by: Cory Prelerson <cprelerson42@gmail.com>
2022-04-24 22:38:53 +03:00
Sergey
fefc7e461f
Remove idempotency for log level ( #404 )
...
Since Podman changes its defaults very often and it's impossible
to track and identify every time what is current log level, let's
remove idempotency for this parameter for now.
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-03-29 14:15:16 +03:00
Sergey
aa4c3223d2
Fix podman collection for Podman version 4 ( #398 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-03-17 21:56:19 +02:00
Sergey
ecf4c1c52d
Fix CI for podman container tests ( #386 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-03-08 17:31:29 +02:00
Sergey
23fde625f6
Strip slashes from volumes ( #379 )
...
Fix #372
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-02-17 18:29:51 +02:00
Sergey
547abfea53
Add slirp4netns idempotency for pods ( #369 )
...
Fix #367
2022-01-16 23:44:08 +02:00
Aliaksandr Mianzhynski
d185616a72
Update secrets description and add test with secret opts ( #363 )
...
* Update secrets description and add test with secret opts
* Make pep happy
2022-01-06 18:08:09 +02:00
Timo Tomasini
9860b78ce5
Fix podman_pod_lib behavior for ports published to multiple IPs ( #359 )
...
* Fix podman_pod_lib behavior for ports published to multiple IPs
* Fix IPv6 behavior for pods and add tests
* Fix bind: cannot assign requested address issue with test container
2022-01-03 08:24:51 +02:00
Sergey
05515e8307
Add CI jobs and docs for podman_tag ( #347 )
2021-11-28 22:31:18 +02:00
Christian Bourque
f2882ecb19
Add podman_tag module #328 ( #343 )
...
Fixes #328
Co-authored-by: Christian Bourque <christian.bourque@expretio.com>
2021-11-28 18:02:24 +02:00
Aliaksandr Mianzhynski
3e7f7a00a0
Add secrets driver and driver opts support ( #344 )
2021-11-26 12:22:36 +02:00
Cédric Jeanneret
a8e81193f4
Allow to actually pass a list of string for "mounts" ( #332 )
...
Like "volume", "mount" can be passed multiple times to the container
creation/run, therefore we want to support a list of string, and a
"mounts" alias.
2021-11-09 13:40:40 +02:00
Mike
aa6d538be9
Don't add newlines to secrets ( #331 )
...
* prevent run_command from creating new lines
* removes new line from test
2021-11-01 22:22:57 +02:00
Oliver Walsh
a0377fbd24
Fix signal diff for truncated and RT signal names ( #326 )
...
* Fix signal diff for truncated and RT signal names
This refactors the signal mapping logic to closely resemble the logic in
podman.
Podman tolerates images with truncated STOPSIGNAL names e.g RTMIN+3
is used in the freeipa-container Dockerfiles.
Also avoids hardcoding real-time signals as they vary per
platform or glibc implementation (see man 7 signal).
* Cleanup lint
* More lint cleanup
2021-10-19 17:18:22 +03:00
Sean Sullivan
e90eb325ae
Update error message when pull set to false ( #327 )
2021-10-19 02:01:52 +03:00
Sergey
4982579c79
Add skip option for podman secret ( #324 )
2021-10-12 13:56:04 +03:00
Jad Kik
15cd7623af
Add support for network-alias flag ( #314 )
...
* Add support for network-alias flag
* Ignore idempotency assert in tests
Co-authored-by: Sagi Shnaidman <sshnaidm@redhat.com>
2021-10-03 22:18:31 +03:00
Sergey
3f3cdab506
Add .service extension to systemd files ( #310 )
2021-09-23 09:50:16 +03:00
Sergey
5d37e1ee22
Add systemd generation for pods ( #299 )
2021-09-15 02:44:06 +03:00
Sergey
24329ce5d3
Generate systemd service files for containers ( #298 )
2021-09-13 17:13:15 +03:00
Sergey
53338e7ec0
Add podman import/export containers modules ( #297 )
2021-09-12 17:01:38 +03:00
Sergey
ff4e26bbac
Podman image load module ( #296 )
2021-09-06 02:42:34 +03:00
Sergey
0dd471070a
Podman save module ( #295 )
2021-09-06 01:36:52 +03:00
Sergey
afe55dd277
Fix idempotency when containers have a common network ( #279 )
...
Fix #252
2021-08-16 14:28:57 +03:00
Sergey
d13fe1f850
Run tests with podman secret ( #287 )
2021-08-15 20:04:51 +03:00
Aliaksandr Mianzhynski
e9ace7b4bf
Add initial secrets support ( #284 )
...
* Add initial secrets support
2021-08-10 15:35:48 +03:00
Sergey
9ff36649ab
Change present state to be as created state ( #263 )
...
For being more compliant with docker module.
See #257
2021-07-07 18:48:50 +03:00
Sergey
06cc4490da
Remove idempotency for volume UID/GID ( #272 )
...
Because of difficulty with UID/GID detection in various podman
versions for volumes, don't check idempotency for volume UID/GID.
If need to recreate use "recreate" option as "true".
2021-07-07 01:51:12 +03:00
Sergey
a7629a89db
Fix multi-containers options ( #258 )
2021-05-24 09:58:33 +03:00
Sergey
1c0a167a1d
Add Podman play kube module ( #244 )
...
* Add Podman play kube module
* Add tests
2021-05-12 16:52:42 +03:00
Sergey
ecc02870df
Fix overlayfs issue in CI for buildah connection ( #245 )
2021-04-14 12:08:37 +03:00
Sergey
16ab958a3a
Add CI for podman_login module ( #237 )
2021-04-05 20:41:53 +03:00
Jason Hiatt
8bb3d5d233
Podman login module ( #236 )
...
* Module for podman login
* Podman login tests
* Fixed tlsverify check
2021-04-05 16:22:13 +03:00
Sergey
2b456dfe8c
Fix error with images info where no images ( #233 )
2021-04-02 03:53:05 +03:00
Sergey
46020ecf80
Convert IPv6 to shorten form ( #232 )
2021-04-02 03:01:50 +03:00
Sergey
b098abb00f
Fix idempotency for rootless networks from v3 ( #231 )
...
Rootless network will always have DNS enabled.
Fix #212
2021-04-02 02:36:40 +03:00
Sergey
607c120f94
Fix uppercase labels idempotency issue ( #230 )
...
When we lower cases for all keys, but leave it original case for
all values, we need to do the same with input labels.
Add test.
Fix #227
2021-04-01 16:33:27 +03:00
Sergey
f41c63815f
Stop pods without recreating them ( #229 )
...
Stop pod without recreating if its definition isn't the same as
before.
Fix #215
2021-04-01 14:52:58 +03:00
Sergey
f6ec6ac158
Add support for Podman Pod restart ( #228 )
...
Fix #223
Add tests.
2021-04-01 12:58:26 +03:00
Sergey
d87777394b
Add IPv6 support for publishing ports ( #226 )
2021-03-31 18:28:46 +03:00
Sergey
c4ba85f73c
Fixes for podman_container for Podman v3 ( #209 )
...
Fix logs, networks, etc.
2021-02-24 07:52:30 +02:00