-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Refactor elasticsearch scaler config #6101
Conversation
3ae60fc
to
7f53e6e
Compare
Hi @wozniakjan I've also refactored the Elasticsearch scaler to match the new metadata guidelines. This one needs a good look at the code 🙏 This because TypedConfig support |
Signed-off-by: Rick Brouwer <[email protected]>
10d1879
to
c5f4318
Compare
Signed-off-by: Rick Brouwer <[email protected]>
Signed-off-by: Rick Brouwer <[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.
thank you, very well done!
ptal @kedacore/keda-core-contributors
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, could you please resolve the config? then we are good to merge this one. Thanks
Signed-off-by: rickbrouwer <[email protected]>
Done :) Can you also run the run-e2e run for elasticsearch? |
/run-e2e elastic* |
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.
thank you!
Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: rickbrouwer <[email protected]>
Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: rickbrouwer <[email protected]>
Signed-off-by: Rick Brouwer <[email protected]> Signed-off-by: rickbrouwer <[email protected]> Signed-off-by: Jorge Turrado <[email protected]>
const defaultUnsafeSsl = false
in theelasticseach_scaler.go
,kafka_scaler.go
is giving errorpkg/scalers/kafka_scaler.go:354:19: undefined: defaultUnsafeSsl
. That's why I added theconst
inkafka_scaler.go
.username
andpassword
are provided whenaddresses
is used (also test added).splitWithSeparator
function so the separator is configurable.Checklist
Related: 5797
Docs: 1465