-
Notifications
You must be signed in to change notification settings - Fork 323
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
Mount Consul ACL Token Volume with other containers in injected pods #761
Comments
|
I was just thinking of something like
The docs for the binding endpoint says that This is an additional binding rule that is also applied to the auth method as far as I can tell. |
I've started a PR for this in #763 |
Ahh I think I just misunderstood. So you're only creating roles for certain services. The rest of them don't need the role and so they just don't get any additional permissions?
I think starting with a simple true/false that results in the token being mounted into every container is probably the simplest place to start. |
Yep, you're right.
The PR I linked accepts a comma-separated list of container names. It's not very hard to change it to a true/false implementation. |
Community Note
Is your feature request related to a problem? Please describe.
I am trying to "share" the Consul ACL token provided for Consul Connect via pod mutation with other containers in the pod (e.g. Consul Template).
I have created a new binding rule and corresponding role to bind new policies to the service tokens.
Feature Description
Add a new annotation to mount the injected
consul-connect-inject-data
volume to other containers.Use Case(s)
Contributions
I can work on this if the maintainers think it's a good idea.
The text was updated successfully, but these errors were encountered: