From a2f23767d310a3534b7f731599408b2ba7c6c044 Mon Sep 17 00:00:00 2001 From: vbadrina Date: Fri, 12 Jul 2024 12:35:47 +0530 Subject: [PATCH] Generated manifests and other files Signed-off-by: vbadrina --- api/v1alpha1/zz_generated.deepcopy.go | 17 ++++++++++ ...icluster.odf.openshift.io_mirrorpeers.yaml | 31 +++++++++++++++++-- ...er-orchestrator.clusterserviceversion.yaml | 2 +- ...icluster.odf.openshift.io_mirrorpeers.yaml | 31 +++++++++++++++++-- 4 files changed, 76 insertions(+), 5 deletions(-) diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index 9bcfe525..695f185b 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -127,6 +127,7 @@ func (in *MirrorPeerStatus) DeepCopy() *MirrorPeerStatus { func (in *PeerRef) DeepCopyInto(out *PeerRef) { *out = *in out.StorageClusterRef = in.StorageClusterRef + out.StorageClientRef = in.StorageClientRef } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerRef. @@ -139,6 +140,22 @@ func (in *PeerRef) DeepCopy() *PeerRef { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageClientRef) DeepCopyInto(out *StorageClientRef) { + *out = *in + out.ProviderStorageClusterRef = in.ProviderStorageClusterRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClientRef. +func (in *StorageClientRef) DeepCopy() *StorageClientRef { + if in == nil { + return nil + } + out := new(StorageClientRef) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StorageClusterRef) DeepCopyInto(out *StorageClusterRef) { *out = *in diff --git a/bundle/manifests/multicluster.odf.openshift.io_mirrorpeers.yaml b/bundle/manifests/multicluster.odf.openshift.io_mirrorpeers.yaml index ace7cd7a..9d3d8708 100644 --- a/bundle/manifests/multicluster.odf.openshift.io_mirrorpeers.yaml +++ b/bundle/manifests/multicluster.odf.openshift.io_mirrorpeers.yaml @@ -48,8 +48,36 @@ spec: description: |- ClusterName is the name of ManagedCluster. ManagedCluster matching this name is considered - a peer cluster. + a peer cluster or represents the Cluster which holds corresponding client in case of client peering type: string + storageClientRef: + description: StorageClientRef holds a reference to StorageClient + object and its provider cluster + properties: + name: + description: Name of the StorageClient + type: string + providerCluster: + description: ProviderCluster represents the name of Provider + cluster for the client + type: string + providerStorageClusterRef: + description: ProviderStorageClusterRef holds reference to + StorageCluster object of Provider + properties: + name: + type: string + namespace: + type: string + required: + - name + - namespace + type: object + required: + - name + - providerCluster + - providerStorageClusterRef + type: object storageClusterRef: description: StorageClusterRef holds a reference to StorageCluster object @@ -64,7 +92,6 @@ spec: type: object required: - clusterName - - storageClusterRef type: object maxItems: 2 minItems: 2 diff --git a/bundle/manifests/odf-multicluster-orchestrator.clusterserviceversion.yaml b/bundle/manifests/odf-multicluster-orchestrator.clusterserviceversion.yaml index 6e2b830c..7f5f6699 100644 --- a/bundle/manifests/odf-multicluster-orchestrator.clusterserviceversion.yaml +++ b/bundle/manifests/odf-multicluster-orchestrator.clusterserviceversion.yaml @@ -36,7 +36,7 @@ metadata: ] capabilities: Basic Install console.openshift.io/plugins: '["odf-multicluster-console"]' - createdAt: "2024-04-03T11:58:23Z" + createdAt: "2024-07-12T06:43:39Z" olm.skipRange: "" operators.openshift.io/infrastructure-features: '["disconnected"]' operators.operatorframework.io/builder: operator-sdk-v1.34.1 diff --git a/config/crd/bases/multicluster.odf.openshift.io_mirrorpeers.yaml b/config/crd/bases/multicluster.odf.openshift.io_mirrorpeers.yaml index 10f68bd1..a137320a 100644 --- a/config/crd/bases/multicluster.odf.openshift.io_mirrorpeers.yaml +++ b/config/crd/bases/multicluster.odf.openshift.io_mirrorpeers.yaml @@ -48,8 +48,36 @@ spec: description: |- ClusterName is the name of ManagedCluster. ManagedCluster matching this name is considered - a peer cluster. + a peer cluster or represents the Cluster which holds corresponding client in case of client peering type: string + storageClientRef: + description: StorageClientRef holds a reference to StorageClient + object and its provider cluster + properties: + name: + description: Name of the StorageClient + type: string + providerCluster: + description: ProviderCluster represents the name of Provider + cluster for the client + type: string + providerStorageClusterRef: + description: ProviderStorageClusterRef holds reference to + StorageCluster object of Provider + properties: + name: + type: string + namespace: + type: string + required: + - name + - namespace + type: object + required: + - name + - providerCluster + - providerStorageClusterRef + type: object storageClusterRef: description: StorageClusterRef holds a reference to StorageCluster object @@ -64,7 +92,6 @@ spec: type: object required: - clusterName - - storageClusterRef type: object maxItems: 2 minItems: 2