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

feat: support etcd username&&password #811

Closed
wants to merge 1 commit into from

Conversation

qiqizjl
Copy link

@qiqizjl qiqizjl commented Nov 16, 2020

Please answer these questions before submitting a pull request

  • Why submit this pull request?

  • Bugfix

  • New feature provided

  • Improve performance

  • Related issues


Bugfix

  • Description
    support ETCD username password
  • How to fix?

New feature or improvement

  • Describe the details and related test reports.

@qiqizjl qiqizjl changed the title feat:support etcd username&&password feat: support etcd username&&password Nov 16, 2020
@nic-chen
Copy link
Member

Good job.

Need test case for it. Thanks.

@nic-chen
Copy link
Member

@@ -22,6 +22,8 @@ conf:
etcd:
endpoints: # supports defining multiple etcd host addresses for an etcd cluster
- 127.0.0.1:2379
username: ""
Copy link
Member

Choose a reason for hiding this comment

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

if we use an empty string here, does it mean we could connect ETCD anonymously?

Copy link
Member

Choose a reason for hiding this comment

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

that is not a good way

Copy link
Author

Choose a reason for hiding this comment

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

Yes. When the string is empty, it can be linked anonymously

api/internal/core/storage/etcd.go Show resolved Hide resolved
@membphis
Copy link
Member

@qiqizjl please add test case

@nic-chen
Copy link
Member

gentle ping @qiqizjl

@juzhiyuan juzhiyuan added the wait for update 1. Solution 2. Due date 3. Assignees if needed label Nov 25, 2020
@membphis
Copy link
Member

@qiqizjl any news?

@qiqizjl
Copy link
Author

qiqizjl commented Nov 25, 2020

Trying to add test case

@juzhiyuan juzhiyuan added backend enhancement New feature or request and removed wait for update 1. Solution 2. Due date 3. Assignees if needed labels Nov 26, 2020
@juzhiyuan
Copy link
Member

Will this close #839?

@membphis
Copy link
Member

@qiqizjl any news? ^_^

@nic-chen
Copy link
Member

we have support this feature by other PR #951 . closing this now.

@nic-chen nic-chen closed this Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants