-
Notifications
You must be signed in to change notification settings - Fork 17
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
charts/deployment: adjust for wrapper script and release v0.23.0 #127
charts/deployment: adjust for wrapper script and release v0.23.0 #127
Conversation
36c3420
to
5ac1481
Compare
It's not clear whether the test is failing due to aquarist-labs/s3gw#758 not being merged. @m-ildefons is there any way we can test the chart with a custom container version, other than modifying the workflow? |
In
|
I don't think we have tests ensuring |
By using a wrapper script as the container entrypoint, we abstract how arguments to the underlying radosgw binary are passed. Instead, pass arguments known by the script, and let it do what is best. Signed-off-by: Joao Eduardo Luis <[email protected]>
5ac1481
to
896864c
Compare
@m-ildefons passed with the custom image 🥳 That last commit is to be dropped before merge, and I expect the PR to actually pass anyway once the image changes are merged on aquarist-labs/s3gw . @giubacc there's no reason for |
eg, for rgwCustomArgs :
(the rgwCustomEnv has the same pattern usage) |
I understand that, but what key/values would you use with that? |
it doesn't matter, you can just put KEY=VALUE and verify that in the s3gw pod you have that env var set and we are good. |
This update does nothing to environment variables for the pod. Those will still be available the same way they have been. Are you using that to pass env vars to the pod, not the radosgw binary? Because if so, then having this option named as |
I think this was the original idea: passing arbitrary env vars to the s3gw pod for dev purposes. |
Okay, then that's something to do in a different patch set. @m-ildefons any other thing comes to mind about this? Otherwise I'll consider it good to merge after merging https://github.com/aquarist-labs/s3gw/pull/758 , dropping the test patch from this PR, and ensuring it is working. |
896864c
to
ce35341
Compare
Well, the tests will fail nonetheless, even after merging aquarist-labs/s3gw#758 because merging that PR doesn't actually push a new image with the latest code to quay -- and we test the chart using whatever is latest on quay. So it will be testing the code against the current image anyway. This workflow seems broken to me. We will have to wait until we create the next release to merge this. |
Signed-off-by: Joao Eduardo Luis <[email protected]> (cherry picked from commit cf61082) Signed-off-by: Joao Eduardo Luis <[email protected]>
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.
LGTM
By using a wrapper script as the container entrypoint, we abstract how arguments to the underlying radosgw binary are passed. Instead, pass arguments known by the script, and let it do what is best.
This pull request has a companion pull request in aquarist-labs/s3gw#758 .
Also, this patchset also releases v0.23.0.
Signed-off-by: Joao Eduardo Luis <[email protected]>