Skip to content

"error": "error parsing metric API metadata: no username given" #6234

Discussion options

You must be logged in to vote

Hello,

In the TriggerAuthentication you use secrets in stead of secretTargetRef.
Here is an correct example:

apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
  name: keda-metric-api-creds
  namespace: default
spec:
  secretTargetRef:
    - parameter: username
      name: keda-metric-api-secret
      key: username
    - parameter: password
      name: keda-metric-api-secret
      key: password

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zroubalik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants