-
Notifications
You must be signed in to change notification settings - Fork 225
contrib/kafka: use secrets for SASL user and password #351
Conversation
Hi @danp. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Wasn't sure how to nicely regenerate
If there's a better way, please let me know! |
Mind adding a section on the readme for this ? |
Which one were you thinking? Did realize I need to update |
yeah, thanks @danp the readme in the samples and the related yamls doc |
IMO it would be nice if some of the new secret bits are captured here: Also, the I wonder what's best ... if we move the samples/docs to the Thoughts ? |
Ok! I did update the sample YAML in 810ad72. Should we consider further doc changes as part of future PRs? For example, the current sample README doesn't mention SASL at all. |
@danp I personally would like to see some more doc here. I think in the long run we want to have some decent doc for all the sources, including all possible options. In the long run, I'd like to see all docs mostly in the docs repo, and some short/dev references from here to the docs repo. Perhaps @samodell from the docs team has some thoughts here too /cc @abrennan89 |
@danp btw. mind to rebase, when adding the doc ? there is a conflict here |
Change the Kafka source spec to use SecretValueFromSource for user and password, similar to the GitHub source.
/ok-to-test |
/lgtm |
IMO it's good enough to release note that the /cc @grantr |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danp, matzew 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 |
Proposed Changes
Change the Kafka source spec to use SecretValueFromSource for user and
password, similar to the GitHub source.
This means the SASL user and password will no longer be stored in cleartext in the KafkaSource resources.
Based on #289 I did not allow for a graceful transition to this new scheme but happy to add it if needed.
Release Note