-
Notifications
You must be signed in to change notification settings - Fork 399
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
feat: add HTTPSProxy to env var #678
Conversation
#676 @bukovjanmic can you take a look at this and see if this fixes your issue? |
Looking at the PR, it seems this would fix the problem. Although maybe unnecessarily complicated, I would leave out the Secure parametr and leave only URL and secureURL params. If URL is non-empty (and proxy enabled), HTTP_PROXY is generated. If secureURL is non-empty, HTTPS_PROXY is enabled. Maybe another thought - since the plugins are always downloaded from https (it is hardcoded in the plugin image, I believe), we always need HTTPS_PROXY, so it should be either mentioned in documentation or maybe an error should be printed out if a plugin needs to be downloaded and secureURL is not defined. Also, it would be nice if the pkugins could be cached in a PVC (e.g. enable PVC mount to plugin downloader and skip download if plugins are already present there. This would result in faster startup and also safer, as Grafana would start even if proxy or outside internet connection is not available. But I guess this is for a different issue. Thanks, Michal |
@bukovjanmic thanks for the feedback, I'll get back on this ASAP, as for the PVC cache, yeah I would consider that a separate issue |
5ea9e4d
to
a8c7f6b
Compare
@bukovjanmic How does this update look? If you'd like me to, I can generate an operator image and some manifests for you to try it out on your setup? |
Yes, looks good. If there is an image, I can test it, as there is a way to override default image. |
6c4bb2c
to
bb241ab
Compare
Description
Relevant issues/tickets
Type of change
Checklist
Verification steps