Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-4.17] Use Placment for Subscription #10858

Open
wants to merge 5 commits into
base: release-4.17
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused data from yaml
Signed-off-by: prsurve <prsurve@redhat.com>
  • Loading branch information
prsurve authored and openshift-cherrypick-robot committed Nov 14, 2024
commit e47d8f80bea937678d79c749708ceb3404a3fe02
2 changes: 1 addition & 1 deletion conf/ocsci/dr_workload.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ENV_DATA:
dr_workload_repo_url: "https://github.com/red-hat-storage/ocs-workloads.git"
dr_workload_repo_branch: "master"
dr_workload_repo_branch: "remove_drpc_from_placement"
dr_workload_subscription_rbd: [
{name: "busybox-1", workload_dir: "rdr/busybox/rbd/subscription_with_placementrule/app-busybox-1",
pod_count: 10, pvc_count: 10
Expand Down
2 changes: 2 additions & 0 deletions ocs_ci/ocs/dr/dr_workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ def deploy_workload(self):
drpc_yaml_data["spec"]["pvcSelector"][
"matchLabels"
] = self.workload_pvc_selector

del drpc_yaml_data["spec"]["pvcSelector"]["matchExpressions"]
del drpc_yaml_data["spec"]["kubeObjectProtection"]
self.drcp_data_yaml = tempfile.NamedTemporaryFile(
mode="w+", prefix="drpc", delete=False
Expand Down