Skip to content

feat: support etcd auth in etcd client via environment variables.#1175

Open
JimHsiung wants to merge 1 commit intojd-opensource:mainfrom
JimHsiung:feat/etcd-auth
Open

feat: support etcd auth in etcd client via environment variables.#1175
JimHsiung wants to merge 1 commit intojd-opensource:mainfrom
JimHsiung:feat/etcd-auth

Conversation

@JimHsiung
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces support for Etcd authentication by adding an overloaded constructor to the EtcdClient class and utilizing environment variables for credentials. The changes also include a new utility function for optional environment variable retrieval. I have reviewed the code and identified two style guide violations regarding class inheritance and constructor explicitness that should be addressed.

Copy link
Copy Markdown
Collaborator

@yq33victor yq33victor left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants