baseplate.go icon indicating copy to clipboard operation
baseplate.go copied to clipboard

Inject k8s metadata in response headers

Open clayton-gonsalves opened this issue 2 years ago • 0 comments

💸 TL;DR

Consume downward facing k8s info. enrich http response headers with above metadata for debugging.

The last commit is a potential implementation with the k8s client added to the metadatabp pkg. It would not be needed immediately but I can see it being required to fetch more fine grained data from k8s.

🧪 Testing Steps / Validation

Tested locally.

✅ Checks

  • [x] CI tests (if present) are passing
  • [x] Adheres to code style for repo

clayton-gonsalves avatar Apr 27 '22 13:04 clayton-gonsalves