Skip to content

Commit 18c9334

Browse files
api: add volumeGroupAttributes field to VGRContent API
This commit introduces `volumeGroupAttributes` field to `VolumeGroupReplicationContent` API. Signed-off-by: Praveen M <[email protected]>
1 parent e09bd2b commit 18c9334

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

api/replication.storage/v1alpha1/volumegroupreplicationcontent_types.go

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ type VolumeGroupReplicationContentSpec struct {
5353
// +kubebuilder:validation:Required
5454
VolumeGroupReplicationClassName string `json:"volumeGroupReplicationClassName"`
5555

56+
// volumeGroupAttributes holds the attributes of the volume group.
57+
// +kubebuilder:validation:Optional
58+
VolumeGroupAttributes map[string]string `json:"volumeGroupAttributes,omitempty"`
59+
5660
// Source specifies whether the volume group is (or should be) dynamically provisioned
5761
// or already exists using the volumes listed here, and just requires a
5862
// Kubernetes object representation.

api/replication.storage/v1alpha1/zz_generated.deepcopy.go

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)