Skip to content

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

Merged
RobbieLeung merged 1 commit into
jd-opensource:mainfrom
JimHsiung:feat/etcd-auth
Apr 5, 2026
Merged

feat: support etcd auth in etcd client via environment variables.#54
RobbieLeung merged 1 commit into
jd-opensource:mainfrom
JimHsiung:feat/etcd-auth

Conversation

@JimHsiung
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

@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 a new EtcdClient constructor that accepts a username and password. It also includes a utility function get_optional_string_env to retrieve environment variables and updates the Scheduler to use these credentials when provided via ETCD_USERNAME and ETCD_PASSWORD. I have no feedback to provide.

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

@RobbieLeung RobbieLeung merged commit 7933a4a into jd-opensource:main Apr 5, 2026
1 check passed
@JimHsiung JimHsiung deleted the feat/etcd-auth branch April 5, 2026 03:44
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.

3 participants