Skip to content

api: add volumeGroupAttributes field to VGRContent API #782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ type VolumeGroupReplicationContentSpec struct {
// +kubebuilder:validation:Required
VolumeGroupReplicationClassName string `json:"volumeGroupReplicationClassName"`

// volumeGroupAttributes holds the attributes of the volume group.
// +kubebuilder:validation:Optional
VolumeGroupAttributes map[string]string `json:"volumeGroupAttributes,omitempty"`

// Source specifies whether the volume group is (or should be) dynamically provisioned
// or already exists using the volumes listed here, and just requires a
// Kubernetes object representation.
Expand Down
7 changes: 7 additions & 0 deletions api/replication.storage/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ spec:
required:
- volumeHandles
type: object
volumeGroupAttributes:
additionalProperties:
type: string
description: volumeGroupAttributes holds the attributes of the volume
group.
type: object
volumeGroupReplicationClassName:
description: |-
VolumeGroupReplicationClassName is the name of the VolumeGroupReplicationClass from
Expand Down
6 changes: 6 additions & 0 deletions deploy/controller/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1437,6 +1437,12 @@ spec:
required:
- volumeHandles
type: object
volumeGroupAttributes:
additionalProperties:
type: string
description: volumeGroupAttributes holds the attributes of the volume
group.
type: object
volumeGroupReplicationClassName:
description: |-
VolumeGroupReplicationClassName is the name of the VolumeGroupReplicationClass from
Expand Down
Loading