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

check for restartPolicy #30

Merged
merged 1 commit into from
Dec 11, 2023
Merged

check for restartPolicy #30

merged 1 commit into from
Dec 11, 2023

Conversation

lucasjct
Copy link
Contributor

@lucasjct lucasjct commented Dec 8, 2023

Description

Hello!

I added a new check for restartPolicy in objects like: deployment, daemonset and replicaset. For them, the value from restartPolicy always should be "Always"

How has this been tested?

  • Check with CEL Playground;
  • Run make test on your host;
  • List any relevant details for your test configuration.

Checklist

  • I have labeled this PR with the relevant Type labels
  • I have documented my code (if applicable)
  • My changes are covered by tests

Signed-off-by: Lucas Teixeira <[email protected]>
@lucasjct lucasjct added the enhancement New feature or request label Dec 8, 2023
@matheusfm matheusfm merged commit 0e81c81 into main Dec 11, 2023
4 checks passed
@matheusfm matheusfm deleted the restartPolicy-check branch December 11, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants