diff --git a/test/addons/recipe/start b/test/addons/recipe/start new file mode 100755 index 000000000..6a8cc0f35 --- /dev/null +++ b/test/addons/recipe/start @@ -0,0 +1,22 @@ +#!/usr/bin/env python3 + +# SPDX-FileCopyrightText: The RamenDR authors +# SPDX-License-Identifier: Apache-2.0 + +import os +import sys + +from drenv import kubectl + +if len(sys.argv) != 2: + sys.exit(f"Usage: {sys.argv[0]} cluster") + +os.chdir(os.path.dirname(__file__)) +cluster = sys.argv[1] + +print("Deploying recipe crd") +kubectl.apply( + "--kustomize", + "https://github.com/RamenDR/recipe.git/config/crd?ref=main&timeout=120s", + context=cluster, +) diff --git a/test/envs/regional-dr-external.yaml.example b/test/envs/regional-dr-external.yaml.example index 1fb9395cc..a928b8ff6 100644 --- a/test/envs/regional-dr-external.yaml.example +++ b/test/envs/regional-dr-external.yaml.example @@ -20,6 +20,7 @@ templates: - addons: - name: ocm-cluster args: ["$name", "hub"] + - name: recipe - addons: - name: cert-manager - name: csi-addons diff --git a/test/envs/regional-dr-hubless.yaml b/test/envs/regional-dr-hubless.yaml index 6bb76bc9c..490ff7b18 100644 --- a/test/envs/regional-dr-hubless.yaml +++ b/test/envs/regional-dr-hubless.yaml @@ -33,6 +33,7 @@ templates: - name: olm - name: minio - name: velero + - name: recipe profiles: - name: "dr1" diff --git a/test/envs/regional-dr-kubevirt.yaml b/test/envs/regional-dr-kubevirt.yaml index 980c3af64..c6527fa3b 100644 --- a/test/envs/regional-dr-kubevirt.yaml +++ b/test/envs/regional-dr-kubevirt.yaml @@ -38,6 +38,7 @@ templates: - name: ocm-cluster args: ["$name", "hub"] - name: cdi + - name: recipe - addons: - name: csi-addons - name: olm diff --git a/test/envs/regional-dr.yaml b/test/envs/regional-dr.yaml index 0f7e208b3..f42fafe7f 100644 --- a/test/envs/regional-dr.yaml +++ b/test/envs/regional-dr.yaml @@ -31,6 +31,7 @@ templates: - addons: - name: ocm-cluster args: ["$name", "hub"] + - name: recipe - addons: - name: csi-addons - name: olm