-
Notifications
You must be signed in to change notification settings - Fork 81
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
[FEATURE] v4/sync/etcd - add username/password options #41
Labels
Comments
plugins/v4/registry/etcd/options.go Lines 20 to 27 in 9711876
Hope this can be helpful. |
Yep yep, thanks! I was hoping to use that same code once the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Currently, the v4/sync/etcd plugin does not allow passing in a username/password for RBAC authentication with etcd, either embedded in the endpoint URL or as separate custom options.
Describe the solution you'd like
The etcd client library expects the username/password for RBAC authentication passed in the config, which is being defined here:
plugins/v4/sync/etcd/etcd.go
Lines 174 to 177 in 0ed40ba
Currently, the username / password are not being defined here, and embedding the username/password into the endpoint URL does not cause the etcd client to parse them out and use them for RBAC auth.
As such, the username/password could be parsed out of the
sync.Nodes
sync option, which isn't super ideal, or new etcd-specific credential options could be created and stored/retrieved from the option context.Additional context
N/A
The text was updated successfully, but these errors were encountered: