-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support reading headers from Kubernetes Secrets (#375)
Add support for reading opentelemetry header values from k8s secrets while maintaining backward compatibility with direct header values. This enables secure management of sensitive header values like authentication tokens. Changes: - Headers can now be specified either as direct string values or references to Secret values - Support mixing both direct values and Secret references in the same headers map - Updated values.yaml documentation with examples of both approaches - Headers continue to be formatted as "key1:value1,key2:value2" in final output Example: ``` headers: X-Custom-Header: "direct-value" Authorization: fromSecret: name: "auth-secret" key: "auth-token" ``` Signed-off-by: Burak Sekili <[email protected]>
- Loading branch information
1 parent
8bb78e8
commit 7c47ea1
Showing
6 changed files
with
150 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters