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

[bitnami/redis] expose service binding with correct uri #18922

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

davy-ikv
Copy link
Contributor

@davy-ikv davy-ikv commented Aug 29, 2023

Description of the change

Redis URI format should be like "redis://user:secret@localhost:6379/0?foo=bar&qux=baz"

The "userinfo" part should be "user:secret".

Since user part is empty, the uri will have to leave a colon then concatenate with the secret.

ref: https://www.iana.org/assignments/uri-schemes/prov/redis

Benefits

Change uri format to match the RFC so that other applications follows the RFC can connect to redis service by the uri directly.

Possible drawbacks

Applicable issues

Additional information

Checklist

  • Chart version bumped in Chart.yaml according to semver. This is not necessary when the changes only affect README.md files.
  • Title of the pull request follows this pattern [bitnami/<name_of_the_chart>] Descriptive title
  • All commits signed off and in agreement of Developer Certificate of Origin (DCO)

Sorry, something went wrong.

@github-actions github-actions bot added redis triage Triage is needed labels Aug 29, 2023
@bitnami-bot bitnami-bot requested a review from javsalgar August 29, 2023 08:26
@javsalgar javsalgar added the verify Execute verification workflow for these changes label Aug 29, 2023
@github-actions github-actions bot added in-progress and removed triage Triage is needed labels Aug 29, 2023
@bitnami-bot bitnami-bot removed the request for review from javsalgar August 29, 2023 08:34
@bitnami-bot bitnami-bot requested a review from jotamartos August 29, 2023 08:34
Copy link
Contributor

@jotamartos jotamartos left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution. However, as you can see, verification is failing because you didn't bump the chart's version. Could you please do so?

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Redis URI format should be like this: "redis://user:secret@localhost:6379/0?foo=bar&qux=baz"

The "userinfo" part should be "user:secret". Since user part is empty, the uri will leave a colon then concatenate with the secret.

Signed-off-by: Davy <davy@ikv.tw>
@davy-ikv
Copy link
Contributor Author

davy-ikv commented Sep 4, 2023

@jotamartos I bumped the chart version, but the CI failed, how can I fix that? thanks

@jotamartos jotamartos merged commit 5c7fed5 into bitnami:main Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
redis solved verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants