-
Notifications
You must be signed in to change notification settings - Fork 102
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: Move http scaled object from single host to multi host system #585
Conversation
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.
Looking good. Thanks for the contribution ❤️
e2e tests is broken due to this breaking change, you need to update the example xkcd
chart also with this change. We use it as part of e2e tests and that's why they are failing.
About the breaking change, @tomkerkhove , is this allowed for the add-on or should we maintain both cases (at least some time)?
We should only do breaking changes in 1.0 IMO; but this might be a good example where we can bump API version and support both in 0.5.0 :) |
1a8974c
to
3c90e48
Compare
@someshkoli would you mind doing the change in a non-breaking change? |
Can do, but it'll create a bit of redundancy to support backward compatibility. |
Meh it's still in preview - Let's just break things :) |
Can you document the breaking change in our new changelog please? |
Will do, need to run e2e, @tomkerkhove can you update status for that ? |
Can you rebase please? |
Signed-off-by: Somesh Koli <somesh.koli@headout.com>
Signed-off-by: Somesh Koli <somesh.koli@headout.com>
Signed-off-by: Somesh Koli <somesh.koli@headout.com>
Signed-off-by: Somesh Koli <somesh.koli@headout.com>
Signed-off-by: Somesh Koli <somesh.koli@headout.com>
3c90e48
to
04d106b
Compare
Signed-off-by: Somesh Koli <somesh.koli@headout.com>
Signed-off-by: Somesh Koli <somesh.koli@headout.com>
Signed-off-by: Somesh Koli <somesh.koli@headout.com>
Signed-off-by: Somesh Koli <somesh.koli@headout.com>
Signed-off-by: Somesh Koli <somesh.koli@headout.com>
Okay looks like there has been a major revamp in types :") have a lot to rebase |
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!
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 didn't see the conflicts, :(
Could you rebase the PR please?
I do see some big conflicts while rebasing, mostly because hosts has been moved from spec to triggers. |
Any news on that front? Would you need help rebasing? |
Have been quite occupied lately, would appreciate help with rebase. lmk if you'd like to connect and get this done ? |
Hey @someshkoli and @JorTurFer I've started working on the rebase here: https://github.com/jocelynthode/http-add-on/pull/1/files. However, I noticed some things in the PR which I think might cause issues. For example when defining the This would let us respect the struct of KEDA. I've started in the above mentioned PR this refactoring. Please let me know if I missed something and this is a non issue. Edit: Actually by investigating a bit more it looks like this metadata is only a metadata (cf https://github.com/kedacore/keda/blob/cf3cd1dc49bd77e86d57e8a7b12689f70dd91348/pkg/scalers/external_scaler.go#L104 where only scalerAddress and tlsCertFile actually do something) so I opted to concatenate the array to a comma separated string. Let me know if this can't work. |
You can provide all the elements that you want: |
Yes but they must fit in |
I close this PR in favor of the other |
Signed-off-by: Somesh Koli somesh.koli@headout.com
Initial tests, Moving http scaled object from single host association to multi host.
Breaking schema change.
Checklist
README.md
docs/
directoryFixes #552