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

feat: add pdb to policy-controller #582

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

BobyMCbobs
Copy link
Contributor

Description of the change

Adds a PodDisruptionBudget for the webhook deployment

Additional Information

Enhances availability, especially when using multiple replicas

Checklist

  • Chart version bumped in Chart.yaml according to semver. Where applicable, update and bump the versions in any associated umbrella chart
  • Variables are documented in the values.yaml and added to the README.md. The helm-docs utility can be used to generate the necessary content. Use helm-docs --dry-run to preview the content.
  • JSON Schema generated. TODO need a hand with this
  • List tests pass for Chart using the Chart Testing tool and the ct lint command.

@BobyMCbobs BobyMCbobs force-pushed the add-pdb-to-policy-controller branch from 39bcab4 to 9a0fd36 Compare September 13, 2023 05:25
@BobyMCbobs BobyMCbobs force-pushed the add-pdb-to-policy-controller branch from 9a0fd36 to 5cb2277 Compare September 13, 2023 05:25
podDisruptionBudget:
enabled: true
minAvailable: 1
# maxUnavailable: 3
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Is this left here on purpose?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If this value is not set here it will be empty and unexpressed in the actual resource.
This is a pattern that's used in a lot of places, though happy to consider alternatives!

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I'm not an helm expert, and saw it commented out, and wasn't sure if it was just left over from developing, so figured I'd ask :)

@vaikas vaikas merged commit 61c8909 into sigstore:main Sep 13, 2023
@BobyMCbobs
Copy link
Contributor Author

@vaikas, thank you!

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.

2 participants