mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-05-07 05:42:38 +00:00
Rename collection to kubevirt.core
This replaces all occurences of the old kubernetes.core name. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
@@ -29,7 +29,7 @@ options:
|
||||
plugin:
|
||||
description: Token that ensures this is a source file for the "kubevirt" plugin.
|
||||
required: True
|
||||
choices: ["kubevirt", "kubernetes.kubevirt.kubevirt"]
|
||||
choices: ["kubevirt", "kubevirt.core.kubevirt"]
|
||||
host_format:
|
||||
description:
|
||||
- 'Specify the format of the host in the inventory group. Available specifiers: name, namespace, uid.'
|
||||
@@ -127,7 +127,7 @@ EXAMPLES = """
|
||||
# Filename must end with kubevirt.[yml|yaml]
|
||||
|
||||
# Authenticate with token, and return all VirtualMachineInstances for all accessible namespaces
|
||||
plugin: kubernetes.kubevirt.kubevirt
|
||||
plugin: kubevirt.core.kubevirt
|
||||
connections:
|
||||
- host: https://192.168.64.4:8443
|
||||
api_key: xxxxxxxxxxxxxxxx
|
||||
@@ -135,7 +135,7 @@ connections:
|
||||
|
||||
# Use default config (~/.kube/config) file and active context, and return VirtualMachineInstances
|
||||
# from namespace testing with interfaces connected to network bridge-network
|
||||
plugin: kubernetes.kubevirt.kubevirt
|
||||
plugin: kubevirt.core.kubevirt
|
||||
connections:
|
||||
- namespaces:
|
||||
- testing
|
||||
@@ -143,14 +143,14 @@ connections:
|
||||
|
||||
# Use default config (~/.kube/config) file and active context, and return VirtualMachineInstances
|
||||
# from namespace testing with label app=test
|
||||
plugin: kubernetes.kubevirt.kubevirt
|
||||
plugin: kubevirt.core.kubevirt
|
||||
connections:
|
||||
- namespaces:
|
||||
- testing
|
||||
label_selector: app=test
|
||||
|
||||
# Use a custom config file, and a specific context.
|
||||
plugin: kubernetes.kubevirt.kubevirt
|
||||
plugin: kubevirt.core.kubevirt
|
||||
connections:
|
||||
- kubeconfig: /path/to/config
|
||||
context: 'awx/192-168-64-4:8443/developer'
|
||||
@@ -231,7 +231,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
|
||||
This class implements the actual inventory module.
|
||||
"""
|
||||
|
||||
NAME = "kubernetes.kubevirt.kubevirt"
|
||||
NAME = "kubevirt.core.kubevirt"
|
||||
|
||||
connection_plugin = "kubernetes.core.kubectl"
|
||||
transport = "kubectl"
|
||||
|
||||
@@ -114,7 +114,7 @@ requirements:
|
||||
|
||||
EXAMPLES = """
|
||||
- name: Create a VirtualMachine
|
||||
kubernetes.kubevirt.kubevirt_vm:
|
||||
kubevirt.core.kubevirt_vm:
|
||||
state: present
|
||||
name: testvm
|
||||
namespace: default
|
||||
@@ -151,7 +151,7 @@ EXAMPLES = """
|
||||
name: cloudinit
|
||||
|
||||
- name: Create a VirtualMachine with a DataVolume template
|
||||
kubernetes.kubevirt.kubevirt_vm:
|
||||
kubevirt.core.kubevirt_vm:
|
||||
state: present
|
||||
name: testvm-with-dv
|
||||
namespace: default
|
||||
@@ -191,7 +191,7 @@ EXAMPLES = """
|
||||
wait: yes
|
||||
|
||||
- name: Delete a VirtualMachine
|
||||
kubernetes.kubevirt.kubevirt_vm:
|
||||
kubevirt.core.kubevirt_vm:
|
||||
name: testvm
|
||||
namespace: default
|
||||
state: absent
|
||||
|
||||
Reference in New Issue
Block a user