Commit Graph
433 Commits
Author SHA1 Message Date
kubevirt-botandGitHub a73b4bd58c Merge pull request #196 from 0xFelix/ignore-2.20
chore: Add ignore file for ansible-core 2.20
2025-07-01 11:06:13 +01:00
Felix Matouschek a2c39afcbc chore: Add ignore file for ansible-core 2.20
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-07-01 11:53:24 +02:00
kubevirt-botandGitHub a4f3488e38 Merge pull request #195 from 0xFelix/fix-test-deps
chore(deps): Add missing test dependency
2025-06-27 09:28:08 +02:00
Felix Matouschek 235306be00 chore(deps): Add missing test dependency
Add missing dependency on typing-extensions to test-requirements.txt.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-06-27 09:17:36 +02:00
kubevirt-botandGitHub 1217f0ce9e Merge pull request #194 from kubevirt/renovate/e2e-setup-versions
chore(deps): update e2e-setup versions
2025-06-20 13:38:41 +02:00
redhat-renovate-bot 202cf3d7ea chore(deps): update e2e-setup versions
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-06-18 18:19:14 +00:00
kubevirt-botandGitHub 4626457857 Merge pull request #193 from 0xFelix/update-readme-4
docs(README.md): Use absolute link for LICENSE
2025-06-05 14:48:12 +02:00
Felix Matouschek 6d9f9cc407 docs(README.md): Use absolute link for LICENSE
Use an absolute link for the LICENSE so it can be accessed when looking
at the README.md on Ansible Galaxy.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-06-05 10:13:32 +02:00
kubevirt-bot 3b5f0ab016 Update changelog for release 2.2.3
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
2.2.3
2025-06-04 10:04:49 +00:00
kubevirt-botandGitHub 5b5f9f117d Merge pull request #192 from 0xFelix/bump-kubernetes-core
Bump dependency on kubernetes.core and collection version
2025-06-04 12:02:12 +02:00
Felix Matouschek 976d3c668b Bump version and update changelog for release 2.2.3
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-06-04 11:39:42 +02:00
Felix Matouschek dc8d73edee chore(deps): Bump kubernetes.core to >=5.2.0,<7.0.0
Bump the dependency on kubernetes.core to >=5.2.0,<7.0.0.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-06-04 11:37:24 +02:00
kubevirt-botandGitHub d744c0b363 Merge pull request #190 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubernetes-sigs/kind to v0.29.0
2025-05-21 08:03:26 +02:00
redhat-renovate-bot 0d1879d325 chore(deps): update dependency kubernetes-sigs/kind to v0.29.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-05-21 02:18:20 +00:00
kubevirt-bot cb21154527 Update changelog for release 2.2.2
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
2.2.2
2025-05-20 12:24:56 +00:00
kubevirt-botandGitHub 0f006009f9 Merge pull request #189 from 0xFelix/bump-2.2.2
Bump minimum ansible and collection versions
2025-05-20 14:21:28 +02:00
Felix Matouschek e5b3cbeb58 Bump version and update changelog for release 2.2.2
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-05-20 14:20:08 +02:00
Felix Matouschek 804fe3a725 meta: Bump minimum Ansible version to 2.16
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-05-20 14:20:08 +02:00
kubevirt-botandGitHub b0f3678e15 Merge pull request #188 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubernetes-sigs/kind to v0.28.0
2025-05-19 14:47:25 +02:00
redhat-renovate-bot 4798fe0bf7 chore(deps): update dependency kubernetes-sigs/kind to v0.28.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-05-17 00:18:48 +00:00
kubevirt-bot c44fe63818 Update changelog for release 2.2.1
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
2.2.1
2025-05-16 09:44:18 +00:00
kubevirt-botandGitHub 3c3a6a0372 Merge pull request #187 from 0xFelix/update-readme
docs: Add kubevirt_vmi_info to README.md
2025-05-16 11:04:04 +02:00
kubevirt-botandGitHub 7cc0745418 Merge pull request #186 from 0xFelix/bump-2.2.1
Bump version and update changelog for release 2.2.1
2025-05-16 11:02:04 +02:00
Felix Matouschek 168c8ee239 docs: Add kubevirt_vmi_info to README.md
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-05-16 10:46:06 +02:00
Felix Matouschek 73eae2facb Bump version and update changelog for release 2.2.1
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-05-16 10:43:39 +02:00
kubevirt-botandGitHub 6f6747300d Merge pull request #185 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubectl to v1.33.1
2025-05-16 09:36:03 +02:00
redhat-renovate-bot f17bd2dec8 chore(deps): update dependency kubectl to v1.33.1
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-05-15 18:19:04 +00:00
kubevirt-botandGitHub 6005898736 Merge pull request #184 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.99.0
2025-05-15 15:38:02 +02:00
redhat-renovate-bot cc5e251bf2 chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.99.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-05-15 13:19:42 +00:00
kubevirt-botandGitHub 36be03463c Merge pull request #182 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/kubevirt to v1.5.1
2025-05-15 10:32:04 +02:00
kubevirt-botandGitHub 2666c683c1 Merge pull request #183 from 0xFelix/wait-cdi
fix(e2e-setup.sh): Wait for CDI to be available
2025-05-09 10:43:55 +02:00
Felix Matouschek 6570b7fc7e fix(e2e-setup.sh): Wait for CDI to be available
Wait for CDI to be available after deploying it.

Also add the missing --deploy-kubevirt-cdi flag to the usage help.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-05-09 10:20:58 +02:00
redhat-renovate-bot 82f1331957 chore(deps): update dependency kubevirt/kubevirt to v1.5.1
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-05-06 09:17:57 +00:00
kubevirt-bot 9ac287f57e Update changelog for release 2.2.0
Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
2.2.0
2025-04-30 14:33:35 +00:00
kubevirt-botandGitHub 7acb5d155f Merge pull request #181 from 0xFelix/bump-ver-2.2.0
chore: Bump version to 2.2.0
2025-04-30 16:28:29 +02:00
Felix Matouschek 8c31d4f5ab chore: Bump version to 2.2.0
Bump version to 2.2.0 and add a changelog entry for it.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-30 16:16:04 +02:00
kubevirt-botandGitHub 9c1ab01ba4 Merge pull request #180 from 0xFelix/running-run-strategy
fix(kubevirt_vm): Allow switching between running and run_strategy
2025-04-29 12:02:27 +02:00
kubevirt-botandGitHub 8596655ac6 Merge pull request #178 from 0xFelix/hidden_fields
feat(modules): Add hidden_fields argument
2025-04-29 11:52:25 +02:00
kubevirt-botandGitHub a21aca13d3 Merge pull request #179 from 0xFelix/projects
feat(inventory): Use OCP projects if available
2025-04-29 11:10:26 +02:00
Felix Matouschek aeb98d241c fix(kubevirt_vm): Allow switching between running and run_strategy
Allow switching between running and run_strategy by always clearing the
other value. E.g. if run_strategy was provided then running set to None
to clear it or vice versa.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-28 17:21:52 +02:00
Felix Matouschek 4a8b4ead2f feat(inventory): Use OCP projects if available
If no namespaces were specified in the inventory config try to get all
available namespaces by trying to list OCP projects first. If the resource
was not found (no OCP cluster) fall back to regular namespaces.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-28 15:45:38 +02:00
Felix Matouschek 117694ab1e fix(changed): Fix change detection temporarily
Fix the change detection of kubernetes.core temporarily by monkey
patching the service.diff_objects function. This fix should be removed
once it was merged into kubernetes.core. A dummy _patch_diff_objects
function is introduced to satisfy ansible linters.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-28 15:06:22 +02:00
Felix Matouschek a9d7fa22aa feat(modules): Add hidden_fields argument
Add the hidden_fields argument to kubevirt_vm and kubevirt_{vm,vmi}_info
which allows to hide and ignore certain fields in the returned definition
of a VM or VMI. By default this argument is set to ignore changes to the
kubemacpool.io/transaction-timestamp annotation and managed fields, which
may change at any time and cause the modules to return a changed status
although nothing has changed other than their values.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-28 14:39:42 +02:00
Felix Matouschek fe822b3352 chore(deps): Bump kubernetes.core to >= 5.2.0
In order to make use of new features in kubernetes.core bump its minimum
version to 5.2.0.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-28 10:26:53 +02:00
kubevirt-botandGitHub 0b542ddced Merge pull request #176 from 0xFelix/bump-versions
chore: Bump supported python and ansible-core versions
2025-04-25 15:43:05 +02:00
Felix Matouschek 6723f4e6b1 chore: Bump supported python and ansible-core versions
Bump to python >=3.10,<=3.13 and ansible-core >=2.16,<=2.19.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-25 15:06:55 +02:00
kubevirt-botandGitHub ae26f59549 Merge pull request #174 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubectl to v1.33.0
2025-04-24 08:55:02 +02:00
redhat-renovate-bot 0b6b0af972 chore(deps): update dependency kubectl to v1.33.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-04-23 18:18:27 +00:00
kubevirt-botandGitHub a11da1424b Merge pull request #175 from 0xFelix/2.19-compat
fix: Ensure compatibility with ansible-core >= 2.19
2025-04-23 15:31:13 +02:00
Felix Matouschek 93473cdd47 fix: Ensure compatibility with ansible-core >= 2.19
ansible-core 2.19 changes the way templates are trusted and provides a
new way of patching module args in unit tests.

With this commit the following changes are made to ensure compatibility
with ansible-core >= 2.19:

- Mark inputs to composable as trusted to align with the new template
  trust model.
- Utilize the updated method for patching module arguments in unit tests
  if available.
- Replace direct access to the self._cache attribute with the inventory's
  cache property.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-23 11:25:51 +02:00