Commit Graph
420 Commits
Author SHA1 Message Date
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
kubevirt-botandGitHub 41ee9470bd Merge pull request #173 from 0xFelix/unset-ansible-port
feat(inventory): Add unset_ansible_port option
2025-04-11 09:44:06 +02:00
Felix Matouschek da8e04243b feat(inventory): Add unset_ansible_port option
This adds the unset_ansible_port option to the inventory, which allows to
control if the value of ansible_port should be unset if no non-default
value was found.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-08 16:38:50 +02:00
kubevirt-botandGitHub a1fde268a1 Merge pull request #171 from 0xFelix/winrm-service
feat(inventory): Lookup winrm services for Windows hosts
2025-04-03 19:18:34 +02:00
kubevirt-botandGitHub 9ccfb729bc Merge pull request #170 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.98.2
2025-04-03 15:34:30 +02:00
Felix Matouschek 17ddb44b8a feat(inventory): Lookup winrm services for Windows hosts
This feature adds looking up winrm services and tries to populate the
ansible_host and ansible_port variables with the values from a
found service for the host. It looks up both winrm HTTP and HTTPS
services and prefers HTTPS if it found both for a given host.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2025-04-03 15:24:34 +02:00
redhat-renovate-bot a744c16203 chore(deps): update dependency kubevirt/cluster-network-addons-operator to v0.98.2
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-04-03 12:17:50 +00:00
kubevirt-botandGitHub 3ff87c8435 Merge pull request #169 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/containerized-data-importer to v1.62.0
2025-04-02 13:48:30 +02:00
redhat-renovate-bot c373f3a208 chore(deps): update dependency kubevirt/containerized-data-importer to v1.62.0
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-04-02 08:17:51 +00:00
kubevirt-botandGitHub e7adb623c3 Merge pull request #168 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubevirt/containerized-data-importer to v1.61.5
2025-04-01 11:02:30 +02:00
redhat-renovate-bot 314cac1e94 chore(deps): update dependency kubevirt/containerized-data-importer to v1.61.5
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-03-30 14:16:52 +00:00
kubevirt-botandGitHub 1128e200af Merge pull request #165 from kubevirt/renovate/e2e-setup-versions
chore(deps): update e2e-setup versions
2025-03-14 09:38:05 +01:00
redhat-renovate-bot 5c296620ec chore(deps): update e2e-setup versions
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-03-13 22:16:16 +00:00
kubevirt-botandGitHub c390672cc4 Merge pull request #164 from kubevirt/renovate/e2e-setup-versions
chore(deps): update dependency kubectl to v1.32.3
2025-03-12 09:14:03 +01:00