mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-30 11:24:40 +00:00
Merge pull request #120 from 0xFelix/prepare-release
Prepare release 1.5.0
This commit is contained in:
@@ -101,3 +101,7 @@ releases:
|
|||||||
- 91.yaml
|
- 91.yaml
|
||||||
- 95.yaml
|
- 95.yaml
|
||||||
release_date: '2024-05-29'
|
release_date: '2024-05-29'
|
||||||
|
1.5.0:
|
||||||
|
changes:
|
||||||
|
release_summary: Support for stopped VMs, deprecation of the 'connections' parameter and many cleanups.
|
||||||
|
release_date: '2024-07-10'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
namespace: kubevirt
|
namespace: kubevirt
|
||||||
name: core
|
name: core
|
||||||
version: "1.4.0"
|
version: "1.5.0"
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- KubeVirt Project (kubevirt.io)
|
- KubeVirt Project (kubevirt.io)
|
||||||
|
|||||||
@@ -39,6 +39,9 @@ options:
|
|||||||
- Optional list of cluster connection settings. If no connections are provided, the default
|
- Optional list of cluster connection settings. If no connections are provided, the default
|
||||||
I(~/.kube/config) and active context will be used, and objects will be returned for all namespaces
|
I(~/.kube/config) and active context will be used, and objects will be returned for all namespaces
|
||||||
the active user is authorized to access.
|
the active user is authorized to access.
|
||||||
|
- This parameter is deprecated. Split your connections into multiple configuration files and move
|
||||||
|
parameters of each connection to the configuration top level.
|
||||||
|
- Deprecated in version C(1.5.0), will be removed in version C(3.0.0).
|
||||||
type: list
|
type: list
|
||||||
elements: dict
|
elements: dict
|
||||||
suboptions:
|
suboptions:
|
||||||
@@ -422,6 +425,12 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
|
|||||||
fetch_objects populates the inventory with every configured connection.
|
fetch_objects populates the inventory with every configured connection.
|
||||||
"""
|
"""
|
||||||
if connections:
|
if connections:
|
||||||
|
self.display.deprecated(
|
||||||
|
msg="The 'connections' parameter is deprecated and starting with version 2.0.0 of kubevirt.core supports only a single entry.",
|
||||||
|
version="3.0.0",
|
||||||
|
collection_name="kubevirt.core",
|
||||||
|
)
|
||||||
|
|
||||||
if not isinstance(connections, list):
|
if not isinstance(connections, list):
|
||||||
raise KubeVirtInventoryException("Expecting connections to be a list.")
|
raise KubeVirtInventoryException("Expecting connections to be a list.")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user