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

Enable to ignore manifests' fields from kubernetes' drift detection #4249

Merged
merged 4 commits into from
Mar 7, 2023

Conversation

funera1
Copy link
Member

@funera1 funera1 commented Mar 6, 2023

What this PR does / why we need it:
In the previous implementation, panic occurred when ddCfg was nil. So, this problem is solved.

Which issue(s) this PR fixes:

Fixes #4202 #4241

Does this PR introduce a user-facing change?:

NONE

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2023

RELEASE

No GitHub releases will be created one this pull request got merged. Because the following tags were already created before.

  • v0.41.4

@funera1 funera1 force-pushed the drift-detection-ignore-field branch from 13b21b8 to 0438ee3 Compare March 6, 2023 05:50
@funera1 funera1 changed the title Drift detection ignore field Enable to ignore manifests' fields from kubernetes' drift detection Mar 6, 2023
@funera1 funera1 marked this pull request as ready for review March 6, 2023 06:57
Copy link
Member

@knanao knanao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you use rebase to make the commits list clear?

pkg/app/piped/driftdetector/kubernetes/detector.go Outdated Show resolved Hide resolved
@funera1
Copy link
Member Author

funera1 commented Mar 6, 2023

Could you use rebase to make the commits list clear?

OK. I'll try it.

@funera1 funera1 force-pushed the drift-detection-ignore-field branch 2 times, most recently from eaff072 to 8e1f4fd Compare March 6, 2023 08:59
@funera1 funera1 force-pushed the drift-detection-ignore-field branch from 8e1f4fd to a603f37 Compare March 6, 2023 09:08
@funera1
Copy link
Member Author

funera1 commented Mar 6, 2023

@knanao
Please review this PR when you have time.

Copy link
Member

@knanao knanao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you go!

@knanao knanao merged commit 368c53f into master Mar 7, 2023
@knanao knanao deleted the drift-detection-ignore-field branch March 7, 2023 01:27
@funera1
Copy link
Member Author

funera1 commented Mar 7, 2023

#4190

@github-actions github-actions bot mentioned this pull request Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants