Since Argo CD agent must be able to connect to argo cd redis, for some essential functionality (such as redis proxy), it is necessary to have the redis NetworkPolicy allow traffic from Argo CD agent.
Acceptance Criteria
When Argo CD agent is enabled via ArgoCD CR, the redis NetworkPolicy should allow traffic from argocd-agent to redis.
As mentioned in Gerald's doc, we can either use a separate NetworkPolicy, or we can integrate these rules into existing (single) NetworkPolicy
Unit/E2E tests to verify.
Definition of Done
Code Complete:
All code has been written, reviewed, and approved.
Tested:
Unit tests have been written and passed.
Ensure code coverage is not reduced with the changes.
Integration tests have been automated.
System tests have been conducted, and all critical bugs have been fixed.
Tested and merged on OpenShift either upstream or downstream on a local build.
Documentation:
User documentation or release notes have been written (if applicable).
Build:
Code has been successfully built and integrated into the main repository / project.
Midstream changes (if applicable) are done, reviewed, approved and merged.
Review:
Code has been peer-reviewed and meets coding standards.
All acceptance criteria defined in the user story have been met.
Tested by reviewer on OpenShift.
Deployment:
The feature has been deployed on OpenShift cluster for testing.