-
Notifications
You must be signed in to change notification settings - Fork 378
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
feat(wafv2): add webacl [WIP] #2152
Draft
teeverr
wants to merge
3
commits into
crossplane-contrib:master
Choose a base branch
from
swisscom:feature/wafv2-webacl
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
teeverr
force-pushed
the
feature/wafv2-webacl
branch
from
January 30, 2025 20:04
407e11f
to
44ba5bf
Compare
Needs rebase on #2154 (or master if it is merged). |
MisterMX
reviewed
Feb 3, 2025
Comment on lines
1
to
9
# NOTE(teeverr): this config file was used for generation of types WAFV2 API(make services SERVICES=wafv2) via ack-code-generator v0.38.1, | ||
# then these types where backported to v0.28.1(current version in January 2025), and then the controller code was generated(make generate) by ack-code-generator v0.28.1. | ||
# The reason is that ack-code-generator support specific options(which are needed) like empty shapes and set[].ignore only since version v0.38.0, but this version | ||
# requires rigs.k8s.io/controller-runtime v0.18.4(current version is v0.17.0) and controller-runtime in turn requires | ||
# crossplane-runtime(>=1.17). But newer versions of crossplane-runtime bring a new additinal method `Disconnect()` to `external` | ||
# object, Delete method also has been changed(probably something else). But ack-code-generator doesn't generate it for crossplane. | ||
# It means ack-code-generator should be enhanced to generate relevant controller code for newer versions of crossplane-runtime | ||
# In addition, it is required that all manually written controllers be updated to accommodate these new methods. | ||
# This far away from my current story - add support for wafv2 webacl. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the ACK update necessary to include custom status update? If yes, this can be done with #2161 already.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR brings wafv2 WebACL.
https://docs.aws.amazon.com/waf/latest/APIReference/API_WebACL.html
The resource works but testing is still in progress. It would be nice to get some feedback, that's why the PR is open.
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Testing in progress, it takes time due to a massive combination of parameters and infinite recursion for some fields. The unit tests will be extended soon.