terraform-provider-kubernetes
terraform-provider-kubernetes copied to clipboard
Support Customized Request Header Fields For Provider
Description
Customized Request Header Fields are need by some kubernetes provider. For example, we can use X-Request-ID to locate problems and trace tasks, and we can use X-Forwarded-Proto for identifying the originating protocol.
Potential Terraform Configuration
provider "kubernetes" {
host = var.cluster_endpoint
insecure = true
external_headers = {
x-request-id = var.requestid
x-forwarded-proto = var.proto
}
}
References
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Hi @kexiaodong,
Could you please give us some examples of when this feature will be useful?
Thank you.
Marking this issue as stale due to inactivity. If this issue receives no comments in the next 30 days it will automatically be closed. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. This helps our maintainers find and focus on the active issues. Maintainers may also remove the stale label at their discretion. Thank you!