-
Notifications
You must be signed in to change notification settings - Fork 781
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
Document k8s auth support #1638
Comments
Hi @eikenb, |
Hey @ryanth2022, The functionality was included in consul-template 0.29.1 and should work now. It is missing the documentation for it though and that is what this ticket is for. I updated the milestone to the next one (0.30.0) to better remind me to write these docs. Thanks for the ping. |
awesome, thanks @eikenb and it seems both |
Hey @ryanth2022.. I'm not really up to speed on Consul's K8s support. I could ask there but after some digging I did find this... https://developer.hashicorp.com/consul/docs/security/acl/auth-methods/kubernetes Any chance that does what you need? |
@eikenb I mean can consul-template use consul k8s authentication (https://developer.hashicorp.com/consul/docs/security/acl/auth-methods/kubernetes) to authenticate with consul-server? Then we probably can define the configuration block code like
|
Ok... I think I see what you're getting at now. The current K8s integration allows it to use K8s auth with Vault, but not with Consul. You'd like it to work with Consul + the K8s auth method as well. Correct? |
Yes correct that's what I mean @eikenb. |
@ryanth2022 ... sounds like a feature request issue that should get it's own entry. Would you like to create it or should I? |
sorry for late reply, I didn't be able to back to this thread earlier. I see you help me to create a request. Thanks a lot for that. Now I just wait for it gets finish |
No worries about the delay, happens to everyone. Just and FYI... this is probably not going to get done in the near future unless someone pushes a PR soon. I'm being pulled off maintaining consul-template in the new year and won't be working on it for the foreseeable future after that. Sorry. :( |
Oh, remembered I was leaving this open for you to respond and you have. Closing this now in favor of the enhancement proposal #1667. |
Kubernetes authentication support was added by an Envconsul community member to get support for it there (as it uses consul-template as a library). They documented it in Envconsul but not hear as this was just a library addition for them.
Write some docs on it.
See the PR #1580 for some details on this as well as the envconsul docs on it (search for
k8s_service
in the readme https://github.com/hashicorp/envconsul).The text was updated successfully, but these errors were encountered: