Skip to content
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

Allow catalogue service filtering #1804

Open
nvx opened this issue Sep 5, 2023 · 0 comments
Open

Allow catalogue service filtering #1804

nvx opened this issue Sep 5, 2023 · 0 comments

Comments

@nvx
Copy link

nvx commented Sep 5, 2023

The Consul catalogue service API endpoint allows filtering as per https://developer.hashicorp.com/consul/api-docs/catalog#list-services

It would be super handy if the services directive allowed passing through a filter. The other option would be to use Consul prepared queries, but it doesn't look like consul-template is able to query those either (#1137)

Implementing this would also likely allow closing of #33 - I note it mentions that you can't query by tag, but I'm guessing that is out of date as the API docs linked in the same comment makes it look like you can.

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

No branches or pull requests

1 participant