For reasons too painful to relate, we deploy Rasa neither with Kubernetes nor docker-compose. Instead each component is deployed as an independent service on a well-known cloud platform.
Looking at the endpoint config
I should be able to pass in a custom header like this (not tested)
action_endpoint: url: "https://someservice.somecloud.com/webhook" headers: Authorization: Bearer eyDkd29 ...
However, the token for service-to-service authorization needs to be refreshed regularly so this cannot be set on startup.
Is there a way to to dynamically pass a header into the action server request?