Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

How to use Redis Scaler with TLS authentication? #4917

Closed
xuhjbj opened this issue Aug 28, 2023 · 2 comments · Fixed by #4979
Closed

How to use Redis Scaler with TLS authentication? #4917

xuhjbj opened this issue Aug 28, 2023 · 2 comments · Fixed by #4979
Labels
feature-request All issues for new features that have not been committed to needs-discussion

Comments

@xuhjbj
Copy link

xuhjbj commented Aug 28, 2023

Proposal

Hi,I am new to keda. for redis scaler https://keda.sh/docs/2.11/scalers/redis-lists/, is there any detail examples for how to enable the enableTLS ?

I have to create a TriggerAuthentication linking the the secret where the certificates are, and use it for my ScaledObject.I already have the certificate in a secret.
But from the doc,there are only some parameters ,there is no any further guide to implement that :

enableTLS - Allow a connection to a redis queue using tls. (Values: true, false, Default: false, Optional)
unsafeSsl - Used for skipping certificate check e.g: using self-signed certs. (Values: true,false, Default: false, Optional, This requires enableTLS: true)

Use-Case

With Jorge Turrado's confirmation with the code to ensure that it's a a feature gap.

Is this a feature you are interested in implementing yourself?

No

Anything else?

"error": "connection to redis failed: dial tcp 10.152.183.27:6378: i/o timeout".

@xuhjbj xuhjbj added feature-request All issues for new features that have not been committed to needs-discussion labels Aug 28, 2023
@madyarini
Copy link

for enableTLS, the value is "true" or "false"

    triggers:
    - authenticationRef:
        name: my-trigger-auth
      metadata:
        enableTLS: "true"
        listLength: "15"
        listName: queue:my_queue
      type: redis

@JorTurFer
Copy link
Member

IIRC, this feature isn't currently supported by KEDA. Redis scalers support only annonimous/basic auth connections.

Are you willing to implement the TLS authentication in the code?

@kedacore kedacore locked and limited conversation to collaborators Sep 14, 2023
@tomkerkhove tomkerkhove converted this issue into discussion #4972 Sep 14, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
feature-request All issues for new features that have not been committed to needs-discussion
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants