Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify additional headers for externally managed Grafana #1614

Open
Dermah opened this issue Jul 16, 2024 · 1 comment
Open

Specify additional headers for externally managed Grafana #1614

Dermah opened this issue Jul 16, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@Dermah
Copy link

Dermah commented Jul 16, 2024

We host our Grafana instance behind a proxy that requires a few authentication headers, such as:

Client-Id: <CLIENT_ID>
Client-Secret: <CLIENT_SECRET>

We would like to use the grafana-operator, running in a different network, to connect to this Grafana instance and manage it as an external Grafana. However it appears the external spec only allows for usernames, passwords and api keys.

It would be great for us if there was a field on Grafana.spec.external such as additional_headers (as originally proposed in #402 (comment)) that could be populated with arbitrary headers that are used for all requests to the external Grafana.

Perhaps it would also be good to have these headers set from a ConfigMap or Secret

@Dermah Dermah added enhancement New feature or request needs triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jul 16, 2024
@theSuess theSuess added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jul 22, 2024
@theSuess
Copy link
Member

Thanks for the request! Can you put together an example of how you'd like this to look in the Grafana resource? Just so we don't implement this and then miss your use case :)

@theSuess theSuess added the good first issue Good for newcomers label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

2 participants