chore(e2e): sync DefaultClusterScopedRoleDisabled tests for principal/agent#1211
chore(e2e): sync DefaultClusterScopedRoleDisabled tests for principal/agent#1211cjcocokrisp wants to merge 2 commits into
Conversation
…/agent Signed-off-by: Christopher Coco <ccoco@redhat.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @cjcocokrisp. Thanks for your PR. I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe E2E tests switch to shared fixture packages, update ArgoCD agent image expectations to v0.5.1, refine resource verification, and add coverage for toggling cluster-scoped RBAC through ChangesArgoCD agent E2E validation
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant E2ETest
participant ArgoCDCR
participant Operator
participant KubernetesAPI
E2ETest->>ArgoCDCR: Toggle DefaultClusterScopedRoleDisabled
ArgoCDCR->>Operator: Reconcile ArgoCD configuration
Operator->>KubernetesAPI: Create or delete ClusterRole and ClusterRoleBinding
E2ETest->>KubernetesAPI: Verify RBAC resource state
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@test/openshift/e2e/ginkgo/sequential/1-052_validate_argocd_agent_agent_test.go`:
- Line 627: Correct the `By()` description in the relevant test to say “agent
enabled” instead of “principal enabled,” keeping the rest of the message
unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 58eada41-5881-4fd5-aecb-d9153006f809
📒 Files selected for processing (2)
test/openshift/e2e/ginkgo/sequential/1-051_validate_argocd_agent_principal_test.gotest/openshift/e2e/ginkgo/sequential/1-052_validate_argocd_agent_agent_test.go
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
argoproj-labs/argocd-operator(manual)
Signed-off-by: Christopher Coco <ccoco@redhat.com>
What type of PR is this?
/kind enhancement
What does this PR do / why we need it:
In Argo CD Operator PR #2237 there is a new e2e test added for both verifying the principal and agent for Argo CD Agent. This PR syncs those tests to this repo.
Have you updated the necessary documentation?
Which issue(s) this PR fixes:
NA
Test acceptance criteria:
How to test changes / Special notes to the reviewer:
Run e2e tests and ensure that they pass.