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

Ratify - assign mutators query #1593

Closed
1 task
part-time-githubber opened this issue Jun 26, 2024 · 4 comments
Closed
1 task

Ratify - assign mutators query #1593

part-time-githubber opened this issue Jun 26, 2024 · 4 comments
Labels
bug Something isn't working stale
Milestone

Comments

@part-time-githubber
Copy link

part-time-githubber commented Jun 26, 2024

What happened in your environment?

We saw a spike of mutations for replicasets when ratify was being installed to a cluster. Also a Deployment had 2000 replicasets which we do not fully understand yet.

What did you expect to happen?

No response

What version of Kubernetes are you running?

1.27

What version of Ratify are you running?

1.2.0

Anything else you would like to add?

kinds: ["Deployment", "ReplicaSet", "StatefulSet", "DaemonSet", "Job"]

So this installs the mutator for all possible workload resources, although there is one for pods too. Any specific reason it was done this way?

Are you willing to submit PRs to contribute to this bug fix?

  • Yes, I am willing to implement it.
@part-time-githubber part-time-githubber added bug Something isn't working triage Needs investigation labels Jun 26, 2024
@emalprokt
Copy link

open-policy-agent/gatekeeper#2963

This is an issue caused by conflicting mutations and seems to already have been raised in Gatekeeper.

@part-time-githubber
Copy link
Author

part-time-githubber commented Jun 27, 2024 via email

@binbin-li
Copy link
Collaborator

Thanks for finding the issue! @akashsinghal @susanshi looking into the GK issue, probably we can also consider expansion template for mutation.

@susanshi susanshi added this to the Future milestone Jul 2, 2024
@susanshi susanshi removed the triage Needs investigation label Jul 2, 2024
@akashsinghal
Copy link
Collaborator

Closing issue for now as issue has been raised with GK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

5 participants