vmware-archive / eventrouter

A simple introspective kubernetes service that forwards events to a specified sink.
Apache License 2.0
883 stars 252 forks source link

HTTP Sink with Token Authorization #110

Open chinmaya-n opened 4 years ago

chinmaya-n commented 4 years ago

I'm unable to find if the HTTP sink supports Token Authorization. I tried to look into the config.json but there is only sink URL option and buffer size.

Token Authorization helps with frameworks like Splunk. Please let me know if I missed something and it is already supported.

Thanks.

chinmaya-n commented 4 years ago

I looked into the httpsink code and there does not seem to be any header information included for Authorization purposes. I think it is fair to assume that eventrouter is not capable of this.

If you don't mind a beginner in Golang to give a PR for this, I can give it a try.