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 <rickbrouwer@gmail.com>
10d1879 to
c5f4318
Compare
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
wozniakjan
left a comment
There was a problem hiding this comment.
thank you, very well done!
ptal @kedacore/keda-core-contributors
zroubalik
left a comment
There was a problem hiding this comment.
Looking good, could you please resolve the config? then we are good to merge this one. Thanks
Signed-off-by: rickbrouwer <rickbrouwer@gmail.com>
Done :) Can you also run the run-e2e run for elasticsearch? |
|
/run-e2e elastic* |
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> Signed-off-by: rickbrouwer <rickbrouwer@gmail.com>
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> Signed-off-by: rickbrouwer <rickbrouwer@gmail.com>
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> Signed-off-by: rickbrouwer <rickbrouwer@gmail.com> Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> Signed-off-by: rickbrouwer <rickbrouwer@gmail.com> Signed-off-by: michael pechner <mike.pechner@akasa.com>
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com> Signed-off-by: rickbrouwer <rickbrouwer@gmail.com> Signed-off-by: Chirag Bhatia <chiragbhatia8@gmail.com>
const defaultUnsafeSsl = falsein theelasticseach_scaler.go,kafka_scaler.gois giving errorpkg/scalers/kafka_scaler.go:354:19: undefined: defaultUnsafeSsl. That's why I added theconstinkafka_scaler.go.usernameandpasswordare provided whenaddressesis used (also test added).splitWithSeparatorfunction so the separator is configurable.Checklist
Related: 5797
Docs: 1465