-
Notifications
You must be signed in to change notification settings - Fork 2k
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
consul/connect: enable configuring custom gateway task #9639
Conversation
Add the ability to configure the Task used for Connect gateways, similar to how sidecar Task can be configured. The implementation here simply re-uses the sidecar_task stanza, and now gets applied whether connect.sidecar_service or connect.gateway is the thing being defined. In retrospect, connect.sidecar_task could have been more generically named like connect.task to make it a little more re-usable. Closes #9474
dd6bca0
to
81d82dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM... I left a few suggestions for the docs.
### Custom gateway task | ||
|
||
The task created for the gateway can be configured manually using the | ||
[`sidecar_task`][sidecar_task] stanza. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The connect
parameters docs don't currently have any reference to the gateway. I feel like we need something explaining what happens if the sidecar_task
is set if both sidecar_service
and gateway
blocks are used (and whether that's allowed at all!).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wow yea, it's totally missing gateway
. Will add.
Co-authored-by: Tim Gross <[email protected]>
Co-authored-by: Tim Gross <[email protected]>
Co-authored-by: Tim Gross <[email protected]>
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Add the ability to configure the Task used for connect gateways,
similar to how sidecar Task can be configured.
The implementation here simply re-uses the
sidecar_task
stanza,which now gets applied whether
connect.sidecar_service
orconnect.gateway
is the thing being defined. In retrospect,connect.sidecar_task
might have been more generically namedas something like
connect.task
.Closes #9474