Skip to content

SSH connection fails with empty webhook environment variables #3051

Discussion options

You must be logged in to vote

Shouldn't the system work even if the webhook-related environment variable values are left blank?
If not, what should be input here?

There's an unexpected behavior in the package we utilize to read environment variables (https://github.com/kelseyhightower/envconfig). In this package, a non-existing variable is treated differently from a variable with a empty value. This behavior might not align with the common assumption that empty values and non-existing variables should have the same effect.

To bypass the webhook, you need to define a empty value for the WEBHOOK_ * variables.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@civilizeddev
Comment options

Comment options

You must be logged in to vote
1 reply
@civilizeddev
Comment options

Answer selected by civilizeddev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants