-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancement to support multiple DRPC for epic-6681
Allow the application users to have multiple DRPCs for the same discovered application namespace(s). Remove the DRPC conflict check to enable the Ramen operator to create multiple VRGs within the same namespace. Signed-off-by: pruthvitd <[email protected]>
- Loading branch information
Showing
3 changed files
with
101 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// SPDX-FileCopyrightText: The RamenDR authors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package api | ||
|
||
const ( | ||
VMRecipeName = "vm-recipe" | ||
VMRecipe = ` | ||
apiVersion: ramendr.openshift.io/v1alpha1 | ||
kind: Recipe | ||
metadata: | ||
name: vm-recipe | ||
namespace: ramen-ops | ||
spec: | ||
appType: vm-dv | ||
groups: | ||
- backupRef: vm-dv | ||
excludedResourceTypes: | ||
- events | ||
- event.events.k8s.io | ||
- persistentvolumes | ||
- replicaset | ||
- persistentvolumeclaims | ||
- pods | ||
includedResources: | ||
- namespaces | ||
- nodes | ||
includedNamespaces: | ||
- vm-dv | ||
labelSelector: | ||
matchExpressions: | ||
- key: appname | ||
operator: In | ||
values: | ||
- vm | ||
name: vm-dv | ||
type: resource | ||
workflows: | ||
- failOn: any-error | ||
name: backup | ||
sequence: | ||
- group: vm-dv | ||
- failOn: any-error | ||
name: restore | ||
sequence: | ||
- group: vm-dv | ||
volumes: | ||
includedNamespaces: | ||
- vm-dv | ||
name: varlog | ||
type: volume | ||
labelSelector: | ||
matchExpressions: | ||
- key: appname | ||
operator: In | ||
values: | ||
- vm | ||
` | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters