-
Notifications
You must be signed in to change notification settings - Fork 782
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
[NET-1484] Support for namespaces, partitions in consul endpoints #1842
Conversation
5b3fcb5
to
bccf62c
Compare
92a8725
to
522ad1e
Compare
e265f50
to
3e9f63f
Compare
I understand this is "alpha" but this does not work at all with Also, this functionality is pretty useless unless there is also
|
Hi @komapa, It sounds like you have a specific scenario in mind that you need to work, but unfortunately doesn't work with the current implementation. To help get folks aligned on this, can you share that scenario and sample Consul Template syntax you'd hope would work for that scenario? |
We just want to get all services for all namespaces that we care about:
|
And based on this comment from before:
I assume you actually want something like this?
In other words, is the below an accurate summary?
|
Yes, this is perfect summary. Thank you! |
Since both Consul and Vault have namespaces, it might make sense to have it be |
TODO
How to test
Note: ensure you have consul running
previous behavior is preserved
in.tpl
insert the following to retrieve that keyout.tpl
file should have:specify namespace/partition
in.tpl
to include namespace and partitionout.tpl
file should have: