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(appset): add debug logs around deleting ownerReferences and add warning docs about policy behavior #17357

Closed
wants to merge 8 commits into from

Conversation

mikutas
Copy link
Contributor

@mikutas mikutas commented Feb 29, 2024

#12172

Previous PRs didn't fix policy behavior completely.
This PR is adding warning to doc about policy and some logs for debug.

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Toolchain Guide
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.
  • Optional. My organization is added to USERS.md.
  • Optional. For bug fixes, I've indicated what older releases this fix should be cherry-picked into (this may or may not happen depending on risk/complexity).

@mikutas mikutas force-pushed the fix-12172-with-finalizer branch 7 times, most recently from 56c93df to 6b4694c Compare March 6, 2024 12:46
@mikutas mikutas changed the title fix(appset): prevent app deletion according to policy if appset has the finalizer docs(appset): Mar 6, 2024
@mikutas mikutas changed the title docs(appset): docs(appset): add warning about policy behavior when deleting ApplicationSet Mar 6, 2024
@mikutas mikutas force-pushed the fix-12172-with-finalizer branch 4 times, most recently from 8a9e1f6 to 0d65b89 Compare March 8, 2024 02:40
@mikutas mikutas marked this pull request as ready for review March 8, 2024 02:40
@mikutas mikutas requested review from a team as code owners March 8, 2024 02:40
@mikutas mikutas marked this pull request as draft March 8, 2024 02:41
@mikutas mikutas marked this pull request as ready for review March 8, 2024 04:15
@mikutas mikutas force-pushed the fix-12172-with-finalizer branch 3 times, most recently from 9a7194e to 67fc9b9 Compare March 12, 2024 01:17
@ishitasequeira ishitasequeira changed the title docs(appset): add warning about policy behavior when deleting ApplicationSet fix(appset): add warning about policy behavior when deleting ApplicationSet Mar 12, 2024
@mikutas mikutas force-pushed the fix-12172-with-finalizer branch 3 times, most recently from 696f57f to e141ebe Compare March 23, 2024 01:32
@mikutas mikutas force-pushed the fix-12172-with-finalizer branch 2 times, most recently from c609347 to 83514fe Compare March 29, 2024 01:56
@mikutas mikutas changed the title fix(appset): add warning about policy behavior when deleting ApplicationSet fix(appset): add debug logs around deleting ownerReferences and add warning docs about policy behavior Mar 29, 2024
@mikutas

This comment was marked as outdated.

@mikutas

This comment was marked as outdated.

Copy link
Member

@ishitasequeira ishitasequeira left a comment

Choose a reason for hiding this comment

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

@mikutas , I had approved the PR earlier but I just realized some inconsistency in the documentation.

mikutas and others added 7 commits April 4, 2024 10:42
Signed-off-by: mikutas <23391543+mikutas@users.noreply.github.com>
Signed-off-by: mikutas <23391543+mikutas@users.noreply.github.com>
Signed-off-by: mikutas <23391543+mikutas@users.noreply.github.com>
Signed-off-by: mikutas <23391543+mikutas@users.noreply.github.com>
Signed-off-by: mikutas <23391543+mikutas@users.noreply.github.com>
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com>
Signed-off-by: Takumi Sue <23391543+mikutas@users.noreply.github.com>
Signed-off-by: mikutas <23391543+mikutas@users.noreply.github.com>
Copy link
Member

@gdsoumya gdsoumya left a comment

Choose a reason for hiding this comment

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

LGTM

@ishitasequeira ishitasequeira enabled auto-merge (squash) April 10, 2024 01:59
@mikutas
Copy link
Contributor Author

mikutas commented Apr 10, 2024

@pasha-codefresh please confirm that requested change is adressed.

@mikutas
Copy link
Contributor Author

mikutas commented Apr 27, 2024

closing PR because its' unable to progress

@mikutas mikutas closed this Apr 27, 2024
auto-merge was automatically disabled April 27, 2024 10:55

Pull request was closed

@mikutas mikutas deleted the fix-12172-with-finalizer branch April 27, 2024 10:55
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.

None yet

4 participants