[ceph][kubevirt] Allow to deploy specified volumes for Ceph related envs
Add new env file for Ceph tests.
Related-Prod: PRODX-54501
Change-Id: I1e6983ac8cd4b1aee332d9f7e11f7a53bf7a479c
diff --git a/hco/fragments/VMInstanceCeph.yaml b/hco/fragments/VMInstanceCeph.yaml
index ad54722..642fba2 100644
--- a/hco/fragments/VMInstanceCeph.yaml
+++ b/hco/fragments/VMInstanceCeph.yaml
@@ -16,6 +16,9 @@
type: string
storage_backend_network:
type: string
+ storage_volumes_per_node:
+ type: number
+ default: 0
availability_zone:
type: string
default: nova
@@ -161,6 +164,15 @@
user_data_format: SOFTWARE_CONFIG
user_data: { get_resource: install_config_agent}
+ extra_volumes:
+ type: OS::Heat::ResourceGroup
+ properties:
+ count: { get_param: storage_volumes_per_node }
+ resource_def:
+ type: ./CinderVolumeVM.yaml
+ properties:
+ instance_id: { get_resource: server }
+
outputs:
server_public_ip:
description: Floating IP address of server in public network