Skip to content

Commit

Permalink
Merge pull request csi-addons#160 from red-hat-storage/sync_ds--main
Browse files Browse the repository at this point in the history
Syncing latest changes from main for kubernetes-csi-addons
  • Loading branch information
openshift-merge-bot[bot] authored Jun 24, 2024
2 parents 73bf0c6 + e12c7df commit c449aa5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ type VolumeGroupReplicationSpec struct {
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="volumeGroupReplicationClassName is immutable"
VolumeGroupReplicationClassName string `json:"volumeGroupReplicationClassName"`

// volumeReplicationClassName is the volumeReplicationClass name for VolumeReplication object
// +kubebuilder:validation:Required
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="volumReplicationClassName is immutable"
VolumeReplicationClassName string `json:"volumeReplicationClassName"`

// Name of the VolumeReplication object created for this volumeGroupReplication
// +kubebuilder:validation:Optional
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="volumeReplicationName is immutable"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ spec:
x-kubernetes-validations:
- message: volumeGroupReplicationContentName is immutable
rule: self == oldSelf
volumeReplicationClassName:
description: volumeReplicationClassName is the volumeReplicationClass
name for VolumeReplication object
type: string
x-kubernetes-validations:
- message: volumReplicationClassName is immutable
rule: self == oldSelf
volumeReplicationName:
description: Name of the VolumeReplication object created for this
volumeGroupReplication
Expand All @@ -142,6 +149,7 @@ spec:
- replicationState
- source
- volumeGroupReplicationClassName
- volumeReplicationClassName
type: object
status:
description: VolumeGroupReplicationStatus defines the observed state of
Expand Down
8 changes: 8 additions & 0 deletions deploy/controller/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1153,6 +1153,13 @@ spec:
x-kubernetes-validations:
- message: volumeGroupReplicationContentName is immutable
rule: self == oldSelf
volumeReplicationClassName:
description: volumeReplicationClassName is the volumeReplicationClass
name for VolumeReplication object
type: string
x-kubernetes-validations:
- message: volumReplicationClassName is immutable
rule: self == oldSelf
volumeReplicationName:
description: Name of the VolumeReplication object created for this
volumeGroupReplication
Expand All @@ -1165,6 +1172,7 @@ spec:
- replicationState
- source
- volumeGroupReplicationClassName
- volumeReplicationClassName
type: object
status:
description: VolumeGroupReplicationStatus defines the observed state of
Expand Down

0 comments on commit c449aa5

Please sign in to comment.