Skip to content

Commit

Permalink
config: add generated changes for crds, rbacs
Browse files Browse the repository at this point in the history
add generated changes for crds, rbacs

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
  • Loading branch information
Nikhil-Ladha committed Jul 18, 2024
1 parent d000a1a commit 8e8830d
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ spec:
type: string
source:
description: |-
Source specifies whether the snapshot is (or should be) dynamically provisioned
Source specifies whether the volume is (or should be) dynamically provisioned
or already exists, and just requires a Kubernetes object representation.
This field is immutable after creation.
Required.
properties:
volumeHandles:
Expand Down Expand Up @@ -147,7 +146,7 @@ spec:
properties:
persistentVolumeRefList:
description: |-
PersistentVolumeRefList is the list of of PV for the group replication
PersistentVolumeRefList is the list of PV for the group replication
The maximum number of allowed PV in the group is 100.
items:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,12 @@ spec:
- message: volumeGroupReplicationContentName is immutable
rule: self == oldSelf
volumeReplicationClassName:
description: volumeReplicationClassName is the volumeReplicationClass
name for VolumeReplication object
description: |-
volumeReplicationClassName is the volumeReplicationClass name for the VolumeReplication object
created for this volumeGroupReplication
type: string
x-kubernetes-validations:
- message: volumReplicationClassName is immutable
- message: volumeReplicationClassName is immutable
rule: self == oldSelf
volumeReplicationName:
description: Name of the VolumeReplication object created for this
Expand Down
24 changes: 22 additions & 2 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ rules:
- list
- patch
- watch
- apiGroups:
- ""
resources:
- persistentvolumeclaims
- persistentvolumes
verbs:
- get
- list
- update
- watch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -164,6 +174,14 @@ rules:
- get
- patch
- update
- apiGroups:
- replication.storage.openshift.io
resources:
- volumegroupreplicationclasses
verbs:
- get
- list
- watch
- apiGroups:
- replication.storage.openshift.io
resources:
Expand Down Expand Up @@ -195,8 +213,6 @@ rules:
resources:
- volumegroupreplications
verbs:
- create
- delete
- get
- list
- patch
Expand Down Expand Up @@ -229,6 +245,8 @@ rules:
resources:
- volumereplications
verbs:
- create
- delete
- get
- list
- update
Expand All @@ -244,6 +262,8 @@ rules:
resources:
- volumereplications/status
verbs:
- get
- list
- update
- apiGroups:
- storage.k8s.io
Expand Down
12 changes: 6 additions & 6 deletions deploy/controller/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -899,9 +899,8 @@ spec:
type: string
source:
description: |-
Source specifies whether the snapshot is (or should be) dynamically provisioned
Source specifies whether the volume is (or should be) dynamically provisioned
or already exists, and just requires a Kubernetes object representation.
This field is immutable after creation.
Required.
properties:
volumeHandles:
Expand Down Expand Up @@ -994,7 +993,7 @@ spec:
properties:
persistentVolumeRefList:
description: |-
PersistentVolumeRefList is the list of of PV for the group replication
PersistentVolumeRefList is the list of PV for the group replication
The maximum number of allowed PV in the group is 100.
items:
description: |-
Expand Down Expand Up @@ -1154,11 +1153,12 @@ spec:
- message: volumeGroupReplicationContentName is immutable
rule: self == oldSelf
volumeReplicationClassName:
description: volumeReplicationClassName is the volumeReplicationClass
name for VolumeReplication object
description: |-
volumeReplicationClassName is the volumeReplicationClass name for the VolumeReplication object
created for this volumeGroupReplication
type: string
x-kubernetes-validations:
- message: volumReplicationClassName is immutable
- message: volumeReplicationClassName is immutable
rule: self == oldSelf
volumeReplicationName:
description: Name of the VolumeReplication object created for this
Expand Down
24 changes: 22 additions & 2 deletions deploy/controller/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ rules:
- list
- patch
- watch
- apiGroups:
- ""
resources:
- persistentvolumeclaims
- persistentvolumes
verbs:
- get
- list
- update
- watch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -207,6 +217,14 @@ rules:
- get
- patch
- update
- apiGroups:
- replication.storage.openshift.io
resources:
- volumegroupreplicationclasses
verbs:
- get
- list
- watch
- apiGroups:
- replication.storage.openshift.io
resources:
Expand Down Expand Up @@ -238,8 +256,6 @@ rules:
resources:
- volumegroupreplications
verbs:
- create
- delete
- get
- list
- patch
Expand Down Expand Up @@ -272,6 +288,8 @@ rules:
resources:
- volumereplications
verbs:
- create
- delete
- get
- list
- update
Expand All @@ -287,6 +305,8 @@ rules:
resources:
- volumereplications/status
verbs:
- get
- list
- update
- apiGroups:
- storage.k8s.io
Expand Down

0 comments on commit 8e8830d

Please sign in to comment.