Closed felixbuenemann closed 7 years ago
@kmala If I understand your changes correctly, the option must now be named --headers
(plural) instead of --header
(singular)?
that is correct. Simultaneously there was a docopt bug which cannot parse multiple --header flags. We might need to update the docs as well
Custom HTTP-Headers are ignored when trying to create a readiness check on Workflow v2.9.0 on K8s 1.4.6 with CLI v2.9.0-eb21ef2 (current master).
Example:
This is using the format listed in the specs, I also tried with
--header="X-Forwarded-Proto=https"
, which is the format listed in the docs.The generated readiness probe in the app's deployment looks like:
Note that
httpHeaders
is missing.The expected readiness probe would look like:
Prettified dump of the JSON I captured from the POST /v2/apps/:name/config/ request using tcpdump:
There's no header info here either.
Btw. it would be really helpful if the correct format for specifying headers would be shown when running
deis healthchecks:set --help
.