-
Notifications
You must be signed in to change notification settings - Fork 421
feat: add postInitContainers for admintools server job #725
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
base: main
Are you sure you want to change the base?
feat: add postInitContainers for admintools server job #725
Conversation
PhillypHenning
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do just want to clarify, the reason you want to add this is because of the sequential execution order of the initContainers.
The current value of additionalInitContainers adds init containers infront of the generated actions of checking the persistence and visibility layers. Your intention is to provide a means of adding additional init containers after those containers run.
Is my understanding correct @caphrim007 ?
Request:
You've added the postInitContainer support to server-jobs, please add it to the admintools and the server deployment as well.
|
@PhillypHenning yes, that's correct |
|
@PhillypHenning regarding the additions asked for, are you asking that the Or are you asking that a new The original use case put forth by @robholland, and needed by myself, is specifically for the
If you want them in server-deployment, then it would stand to reason to have a lemme know your thoughts. thanks |
|
After reviewing further, I agree that there would be no point in including the additionalInitContainers for the admin tools. server-Aamintools unlike the server-deployment and server-job, which have Temporal included initContainers, does not have any Temporal included initContainers. I'm still of the opinion that server-deployment should include the postInitContainers field as to ensure consistent patterns. Thanks for the call-out on this @caphrim007 |
|
@PhillypHenning I can ensure consistent patterns, my remaining question is whether I can introduce a new https://github.com/temporalio/helm-charts/blob/main/charts/temporal/values.yaml#L91 instead of re-using the field defined here https://github.com/temporalio/helm-charts/blob/main/charts/temporal/values.yaml#L373C3-L373C27 my interpretation of what you're asking for is to add a new this would meet my and rob's requirements. additionally, it would avoid the same init containers (defined in admintools) being applied twice; once in server-job and once in server-deployment. Can you confirm I understand your request? |
|
I would expect to see the |
1983d80 to
3f808f2
Compare
3f808f2 to
5cc17fc
Compare
|
@PhillypHenning ready for review |
What was changed
Added a postInitContainers section to the end of the admintools server-job.yml
Why?
To complete a feature that was proposed in #624
PR seems abandoned and I needed this feature so I implemented it as described by @robholland
Checklist
Via
go testfrom thecharts/temporal/tests/directoryVia
helm unittest .from thecharts/temporal/directoryNo