-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Issue #306 : Adding the ability to use overrides #307
Conversation
Updating unit tests to include the new configmap that is used by jobs and deployments
… the override node in
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.
Thanks for the contribution! A really clean implementation 👍
Left several comments to address and discussion around the expected interface.
…exists it enables
Adding commented example, override to overrides and new lines
Removing theh "configs" layer in helm chart so it is just the "overri…
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.
You've only mounted the overrides under the st2client deployment. So we need this inner any other deployments like st2api? Or st2actionrunner?
And I agree that the register-content job is the only default job that needs the overrides. But, could we also add the overrides mount to the extra_hooks jobs?
Plus a few other comments.
Thanks again for working on this
I don't think that this needs to be in any other deployment likes |
Co-authored-by: Jacob Floyd <cognifloyd@gmail.com>
Co-authored-by: Jacob Floyd <cognifloyd@gmail.com>
Co-authored-by: Jacob Floyd <cognifloyd@gmail.com>
Updating things from override to overrides
Ah I think I missed a few places I will address them shortly |
Co-authored-by: Jacob Floyd <cognifloyd@gmail.com>
Adjusting test
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.
Excellent. Thanks for dealing with all my nitpicks.
Oh! We also need a changelog entry for this. Please and thank you! |
@cognifloyd what version would we call this? 0.100.0 or is this going to be apart of 0.90.0? |
nvm. Just throwing it in the |
Adjusting changelog
Head branch was pushed to by a user without write access
@armab wdyt? I think this is good to merge. |
Changing mountpath to remove trailing slash
Missed one change request for the trailing slash on the mountpoint and got that updated :) |
values.yaml
Outdated
# rules: | ||
# defaults: | ||
# enabled: true | ||
# packA.yaml: | |
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.
Looks like a wrong indentation here for packA.yaml
, compared to _global.yaml
.
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.
The indentation should be fixed now.
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.
Left a couple small comments,
besides that LGTM 👍
…with proper spacing
Updating values.yaml to have the exmaple more consistent iwth others …
Nice! |
After working to get this implemented and tested. It appears that the changes I have added are working.
This creates the
/opt/stackstorm/overrides/
mountpoint in thest2client
pod so that if reloads happen in the pod it will keep the settings provided by users in the overrides. This also registers overrides when the st2 cluster is being built via theregister-content
job.THis is just extending the now existing override functionality that exists in Stackstorm 3.7.0 into the HA version of Stackstorm that is now operating on version 3.7.0