Skip to content

Makefile: gracefully handle kubectl delete #61

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

Merged

Conversation

frobware
Copy link
Contributor

Modify undeploy and catalog-undeploy targets in the Makefile to
include the --ignore-not-found flag when deleting resources. This
ensures that resource deletion commands do not error out when resources
are already absent. This follows the existing pattern for handling
non-existent resources in kubectl delete calls throughout the
Makefile.

Modify `undeploy` and `catalog-undeploy` targets in the Makefile to
include the `--ignore-not-found` flag when deleting resources. This
ensures that resource deletion commands do not error out when resources
are already absent. This follows the existing pattern for handling
non-existent resources in `kubectl delete` calls throughout the
Makefile.

Signed-off-by: Andrew McDermott <[email protected]>
Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 27.39%. Comparing base (eddb108) to head (01d6b4b).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #61   +/-   ##
=======================================
  Coverage   27.39%   27.39%           
=======================================
  Files          81       81           
  Lines        6968     6968           
=======================================
  Hits         1909     1909           
  Misses       4873     4873           
  Partials      186      186           
Flag Coverage Δ
unittests 27.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@msherif1234
Copy link
Contributor

/LGTM

Copy link
Contributor

@anfredette anfredette left a comment

Choose a reason for hiding this comment

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

LGTM

@mergify mergify bot merged commit e9dd1db into bpfman:main Jul 24, 2024
16 checks passed
msherif1234 pushed a commit to msherif1234/bpfman-operator that referenced this pull request Nov 6, 2024
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.

3 participants