Skip to content
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: mutate all types of resources #126

Merged
merged 3 commits into from
Sep 9, 2024
Merged

feat: mutate all types of resources #126

merged 3 commits into from
Sep 9, 2024

Conversation

flavio
Copy link
Member

@flavio flavio commented Sep 5, 2024

Allow the policy to mutate not only Pods, but also Deployments, ReplicaSets, DaemonSets,...

While doing that I also refactored the code, removing some repetition and I cleaned up the unit tests.

Note: I would also like to split the contents of lib.rs into smaller files, but I don't know if this is something to be done with this PR or with another one.

The `default_features` key is deprecated, it will be removed from future
versions of rust. Switch to `default-features` instead.

Signed-off-by: Flavio Castelli <[email protected]>
@flavio flavio requested a review from a team as a code owner September 5, 2024 13:41
@flavio flavio self-assigned this Sep 5, 2024
@flavio flavio added the kind/enhancement New feature or request label Sep 5, 2024
Allow the policy to mutate not only Pods, but also Deployments,
ReplicaSets, DaemonSets,...

While doing that I also refactored the code, removing some repetition
and I cleaned up the unit tests.

Signed-off-by: Flavio Castelli <[email protected]>
Use latest version of our GH actions

Signed-off-by: Flavio Castelli <[email protected]>
@flavio flavio merged commit e9f78cf into main Sep 9, 2024
14 checks passed
@flavio flavio deleted the mutate-everything branch September 9, 2024 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants