-
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
Hashicorp vault auth fails using Pki #6028
Comments
Just downgrading golang to 1.21 the issue is gone. keda/pkg/scalers/authentication/authentication_helpers.go Lines 156 to 163 in ed6dfdd
Verifying the values with an external tool, with go 1.21 they match and using go 1.22 they don't match. So they are wrongly gotten at some point |
I found the problem, it's here: keda/pkg/scaling/resolver/hashicorpvault_handler.go Lines 312 to 352 in ed6dfdd
go 1.21 treats the group used for they key as the same group, but go 1.22 doesn't: keda/pkg/scaling/resolver/hashicorpvault_handler.go Lines 316 to 322 in ed6dfdd
It generates 3 certificates instead on just one, and use each one to get one parameter I'd say that it's because the |
Report
KEDA v2.15.0 shows the error
error creating the TLS config: error parse X509KeyPair: tls: private key does not match public key"}
using pki featureThe text was updated successfully, but these errors were encountered: