hashicorp / hashicorp/consul-template

Integration with /catalog/gateway-services/:gateway endpoint

Open
#1,934 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
4.8k
Forks
801
Avg merge
4h 5m
Merged PRs (30d)
6

Description

Is there a way to use /catalog/gateway-services/:gateway endpoint via consul-template

It's understood that ingress-gateway is registered as a service which can be used to get the Address and Port, but we need more than that.

We have nginx sitting in front of ingress-gateway, thought is to dynamically add nginx server blocks with same host headers that are registered with ingress-gateway.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the /catalog/gateway-services/:gateway endpoint and how consul-template exposes Consul service data to templates. Determine whether the requested gateway host-header data is available, then define the expected rendered output for nginx server blocks and add coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.