Skip to content
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

[release-1.13] Fixes # Check for Password to Redis on Cloud #577

Conversation

knative-prow-robot
Copy link

This is an automated cherry-pick of #573

When we connect to Redis on Cloud, we generally do not need password and username. We can just be done with TLS.

So with the If check, we need to pass a dummy username and password, which is anyways not valid but the service starts as the server reject the password and goes ahead with TLS connection.

```
apiVersion: sources.knative.dev/v1alpha1
kind: RedisStreamSource
metadata:
  name: samplesource
  namespace: user1
spec:
  address: "rediss://default:password@amaaaaaa74akfsaami2pqxkiosy2gsfsv22fszx77pkb5yj2gemfbqj37lwa-p.redis.us-ashburn-1.oci.oraclecloud.com:6379"
  stream: teststream
  sink:
    ref:
      apiVersion: serving.knative.dev/v1
      kind: Service
      name: event-display
```
@knative-prow knative-prow bot requested review from aavarghese and Cali0707 May 9, 2024 08:20
@knative-prow knative-prow bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 9, 2024
@Cali0707
Copy link
Member

Cali0707 commented May 9, 2024

@pierDipi I'm not sure I fully understand this change, but wouldn't this change be a breaking change to any users on the old version?

Copy link
Contributor

@creydr creydr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label May 10, 2024
Copy link

knative-prow bot commented May 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: creydr, knative-prow-robot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 10, 2024
@knative-prow knative-prow bot merged commit bad4920 into knative-extensions:release-1.13 May 10, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants