Skip to content

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

Merged
bbensky merged 1 commit into
masterfrom
bensky-miron/controllerrevision-fix
Jun 14, 2024
Merged

fix #432 don't compare when object kind doesn't match kind in last-ap…#542
bbensky merged 1 commit into
masterfrom
bensky-miron/controllerrevision-fix

Conversation

@bbensky

@bbensky bbensky commented Jun 14, 2024

Copy link
Copy Markdown
Contributor

…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>
@fairwinds-insights

Copy link
Copy Markdown

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
@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