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

feature(lint): Adds a new template linter to check the restart policy for all deployments like objects #915

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonathanmdr
Copy link
Contributor

Closes: #609

This PR introduces changes to include a new checker to validate the restart policy for all deployments like objects.

Copy link

codecov bot commented Feb 21, 2025

Codecov Report

Attention: Patch coverage is 78.04878% with 9 lines in your changes missing coverage. Please review.

Project coverage is 59.02%. Comparing base (dbd7529) to head (1439011).
Report is 88 commits behind head on main.

Files with missing lines Patch % Lines
...plates/restartpolicy/internal/params/gen-params.go 52.63% 6 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #915      +/-   ##
==========================================
- Coverage   62.36%   59.02%   -3.34%     
==========================================
  Files         197      201       +4     
  Lines        4854     5831     +977     
==========================================
+ Hits         3027     3442     +415     
- Misses       1439     1994     +555     
- Partials      388      395       +7     
Flag Coverage Δ
unit 59.02% <78.04%> (-3.34%) ⬇️

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.

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.

[FEATURE_REQUEST] Support Restart Policy
1 participant