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: Optional arbitrary init containers #192

Merged

Conversation

jsirianni
Copy link
Member

@jsirianni jsirianni commented Dec 17, 2024

Description of Changes

Added support for initContainers. Each deployment has its own section. See the change to test/cases/nats/values.yaml for an example.

Init containers will allow users to perform custom actions before starting each service. Most users will not rely on this feature, it is for more advanced use-cases or testing.

e.g. I will be using this feature for generating certificates at startup, using openssl.

Testing

I updated test/cases/nats/values.yaml to deploy initContainers. Working great. Each pod has its own basic init container.

Please check that the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CI passes
  • Changes to ports, services, or other networking have been tested with istio

@jsirianni jsirianni marked this pull request as ready for review December 17, 2024 21:41
@jsirianni jsirianni requested a review from tbm48813 as a code owner December 17, 2024 21:41
@jsirianni jsirianni requested review from Dylan-M and removed request for tbm48813 December 17, 2024 21:41
Copy link

@Dylan-M Dylan-M left a comment

Choose a reason for hiding this comment

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

After going over it in a meeting, this looks good to go.

@jsirianni jsirianni merged commit 3f3c2a8 into main Dec 17, 2024
22 checks passed
@jsirianni jsirianni deleted the joesirianni/bpop-1461-helm-support-extrainitcontainers branch December 17, 2024 21:44
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