Commit Graph
29 Commits
Author SHA1 Message Date
Felix MatouschekandGitHub 1a824ed0be Merge pull request #27 from 0xFelix/bump-1.1.0
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-21 10:11:34 +02:00
Felix Matouschek b6e0acc6a8 Drop old changelog fragments
They were consumed in the 1.1.0 release.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-21 10:10:25 +02:00
Felix MatouschekandGitHub dcb3de0275 Merge pull request #26 from 0xFelix/bump-1.1.0
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-21 08:11:46 +02:00
Felix Matouschek 1f1adace47 Bump version to 1.1.0
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-21 08:10:19 +02:00
Felix Matouschek 6486766b11 kubevirt_vm_info: Add info module for VirtualMachines
This adds the kubevirt_vm_info module, which returns the same results as
the kubevirt_vm module, but is limited to read-only functionality.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-06 13:04:07 +02:00
Felix Matouschek 6b360aa377 hack/e2e-setup.sh: Update versions
Update versions:
  - kubectl to v1.28.1
  - CDI to v1.57.0
  - common-instancetypes to v0.3.2
  - CNAO to v0.89.0

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-06 11:32:37 +02:00
Felix Matouschek e33b479326 inventory: Add create_groups option
This adds the create_groups option to the inventory, which allows to
control the creation of groups from labels on VirtualMachines. By
default it is disabled.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-05 15:56:46 +02:00
Felix Matouschek 100bcee082 inventory: Flatten created groups
Drop creation of the namespace_vmis_group as it is redundant.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-09-05 15:53:22 +02:00
Felix MatouschekandGitHub 20a3534f37 Merge pull request #21 from guidograzioli/ansible_galaxy_workaround
Merge this manually to overcome failing CI.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-22 16:55:56 +02:00
Felix MatouschekandGitHub 628955dd9d Merge pull request #20 from 0xFelix/drop-note
README.md: Drop note about supported collection for now

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-22 11:38:25 +02:00
Felix Matouschek 05045f64d0 README.md: Drop note about supported collection for now
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-22 10:32:33 +02:00
Felix Matouschek 2f60ad7c69 ci: Exclude py3.9 with Ansible milestone
Python 3.9 is no longer supported by the latest Ansible milestone
version.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-14 15:01:31 +02:00
Felix Matouschek 6dda795ad2 Bump version to 1.0.0
Bump version to 1.0.0 for the initial release.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-09 13:31:46 +02:00
Felix Matouschek ee91bdb005 Bump to 0.1.2
Bump to 0.1.2 for testing purposes

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-09 11:16:05 +02:00
Felix Matouschek c42749e9d1 fix: Use kubevirt-bot in release workflow
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-09 10:14:01 +02:00
Felix Matouschek 6c3aad2f82 release: Run other workflows explicitly
To bypass restrictions on GitHub Actions run the docs and ci workflows
manually after creating a release. GitHub Actions does not trigger
other workflows from a workflow run if not using a personal access
token (PAT). By calling the workflows explicitly, it is possible to
work around this restriction without the need for a PAT.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-09 10:10:54 +02:00
Felix Matouschek 38c76a9545 Rename collection to kubevirt.core
This replaces all occurences of the old kubernetes.core name.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-03 13:03:10 +02:00
Felix Matouschek 0875abc080 kubevirt_vm: Prevent unnecessary whitespace
This removes the unnecessary whitespace from the rendered VirtualMachine
template and adds a unit test for it.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-18 16:08:01 +02:00
Felix Matouschek bce4f17188 kubevirt_vm: Allow to specify DataVolume templates
By allowing to specify DataVolume templates VMs with persistent storage
can be created using the kubevirt_vm module.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-18 13:40:52 +02:00
Felix Matouschek 1e94c19ac4 e2e-setup: Add support for deploying CDI
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-18 11:37:08 +02:00
Felix Matouschek 6ba62f53e8 kubevirt_vm: Allow to specify template spec
By allowing to specify the template spec unnecessary abstraction is
avoided.

The following module args are replaced by the 'spec' arg:
  - termination_grace_period
  - interfaces
  - networks
  - volumes

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-18 11:31:32 +02:00
Felix Matouschek b0971aca37 kubevirt_vm: Use {Instancetype,Preference}Matchers
Use InstancetypeMatchers and PreferenceMatchers directly instead of
providing multiple arguments to prevent unnecessary abstraction.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-18 10:41:15 +02:00
Felix Matouschek 9bc8d20ea6 inventory: Provide dummy classes to satisfy Ansible sanity
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-17 15:01:36 +02:00
Felix Matouschek 68f5cc8e33 Update Ansible GitHub workflows
The workflows committed in the first commit were missing the
installation of required dependencies and other fixes.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-17 14:45:31 +02:00
Felix Matouschek e1499d4aae Use correct author syntax
This updates the author syntax to satisfy the linter.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-17 14:12:14 +02:00
Felix Matouschek 7c347174ab Change LICENSE to GPLv3
Ansible collections are required to be licensed under the GPLv3.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-17 14:09:18 +02:00
Felix MatouschekandGitHub 1241bbc53c Merge pull request #2 from 0xFelix/gh-templates
Add GitHub PR and Issue templates

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-17 11:10:07 +02:00
Felix Matouschek 95cea233c9 Add GitHub PR and Issue templates
Add the GitHub PR and Issue templates used by the KubeVirt org.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-17 10:36:58 +02:00
Felix Matouschek 216df38df9 first commit
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-14 10:30:20 +02:00