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

fix #432 don't compare when object kind doesn't match kind in last-ap… #542

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

bbensky
Copy link
Contributor

@bbensky bbensky commented Jun 14, 2024

…plied-configuration

This PR fixes #432

Checklist

  • I have signed the CLA
  • [N/A] I have updated/added any relevant documentation

Description

What's the goal of this PR?

Some objects, like controllerrevisions, were being reported as daemonsets with deprecated apiVersions. This PR prevents that.

What changes did you make?

Created a condition that looks for any objects where the object kind does not match the kind in the last-applied-configuration metadata. If true, excludes the object from the list of objects with deprecated api versions.

What alternative solution should we consider, if any?

…plied-configuration

Co-authored-by: Ryan <ryanisfluffy@users.noreply.github.com>
Copy link

Fairwinds Insights Scan Results

View the full report at insights.fairwinds.com.

✅ No new Action Items detected!

@bbensky bbensky merged commit 59abfcf into master Jun 14, 2024
9 checks passed
@bbensky bbensky deleted the bensky-miron/controllerrevision-fix branch June 14, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pluto mistakes a ControllerRevisions resource for a DaemonSet resource
2 participants