Skip to content

Draft: (infra): Implement NetworkPolicy resources and Helm Tests (Egress) minds/infrastructure/minds-terraform#51

Zack Wynne requested to merge infra/calico-setup-egress-minds-terraform-51 into master

Ticket(s) / Related Merge Requests

Issue: minds-terraform#51

Summary of Changes

This MR implements Kubernetes Egress Network Policies for the Minds frontend, engine, and sockets deployments.

Testing Considerations

This change includes a few Helm tests for validating the network policies. You can run them after deploying the chart with the helm test command:

helm test $HELM_RELEASE_NAME

Deployment Considerations

This change can be deployed through Terraform after being merged to the master branch.

Regression Scope

This change will restrict outbound network requests to only the required services, which could potentially block requests to services if they're not included in the policies.

Platform Affected (web, mobile, etc)

Both

Developer Testing Completed

Deployed changes to Sandbox and tested both manually and using Helm tests.

Screenshots / Screen Recording

Screen_Shot_2022-05-16_at_11.51.44_PM

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out

Merge request reports