Skip to content

[RS-2546] Update operator to deploy waf-http-filter in Enterprise #4032

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

Merged
merged 9 commits into from
Jul 12, 2025

Conversation

LorcanMcVeigh
Copy link
Contributor

Description

This PR updates the operator to deploy waf-http-filter in Enterprise when enabling the Gateway API.

This will setup the required waf-http-filter sidecar container in the envoy-proxy deployment, but envoy won't be configured to use it by default. To do so, the user will need to create a separate EnvoyExtensionPolicy to enable the filter and protect the traffic with WAF.

Release Note

Deploy the WAF HTTP Filter alongside the Envoy Proxy when running in Calico Enterprise.

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

@tmjd
Copy link
Member

tmjd commented Jul 9, 2025

Thanks for making updates based on my comments in the other PR #4008 (review)

WDYT about adding a unit test for the overwriting of those fields?

@LorcanMcVeigh
Copy link
Contributor Author

The unit tests check the values of those fields once WAF is deployed already. So the existing tests cover that use case

@electricjesus electricjesus merged commit 5620b35 into tigera:master Jul 12, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants