Open sreeboppana opened 2 weeks ago
@JorTurFer can you please advise on this please ?
This might be a question for stackoverflow
Sorry for the delay. Is your secret in KEDA's namespace? When you use a ClusterTriggerAuthentication, the secrets can be only in the namespace where KEDA is.
Report
Keda version: keda:2.14.0 ghcr.io/kedacore/keda:2.14.0 kubenetes version: 1.29 Keda Trigger Type: Kafka
ScaledObject Fails [namespace scoped] to resolve Auth params from cluster scoped ClusterTriggerAuth resource
Expected Behavior
Keda ScaledObject ideally should have read the credentials from the ClusterTriggerAuth resource and authenticate with the KAfka API.
Actual Behavior
Steps to Reproduce the Problem
STEP-1 Ensured that k8s Secret -
keda-kafka-secret
created within thekeda
namespace.STEP-2. Created a cluster scoped
ClusterTriggerAuthentication
resource & refer to the secret from STEP-2 which iskeda
namespace scoped.STEP-3. Create a ScaledObject within
my-app-namespace
namespace referring to the above cluster scoped ClusterTriggerAuthentication to read the credentials & authenticate with Kafka (kafka trigger).STEP-4 Just describe keda-operator pod (informational purpose).
Logs from KEDA operator
KEDA Version
2.14.0
Kubernetes Version
1.29
Platform
Amazon Web Services
Scaler Details
Kafka
Anything else?
No response