-
Notifications
You must be signed in to change notification settings - Fork 708
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
Running kubeapps on a cluster behind proxy that requires to configure proxy ceriticate #2139
Comments
hi @h-uchida-n, It's not clear to me if you have modified the AppRepository https://kubeapps.com/docs/private-app-repository/#modifying-the-synchronization-job If you do so, you will be able to setup the http_proxy and https_proxy env variables:
Can you confirm if that works for you? |
Hi @andresmgot , thank you for reply. Previous post was not good to explain my environment, so I'll try again it below:
So I guess that above steps are required to use kubeapps in my environment. Tried following steps but it showed error.
|
Got it, yes, you can configure the AppRepository with a custom CA. In your case, you would need to paste the content of ProxyServerCertificate.crt in that field: It's easier if you use the UI to create the AppRepository since it will automatically create the required secret with the crt content and configure everything. It will fail to validate the repo since the validation step doesn't use the http_proxy configuration but you can ignore the validation error. If you want to do it manually, you need to create the secret with that file manually and link it in the AppRepository specification.
Also note that you need to specify the URL without the |
Yes, it works for my environment. thank you. However, I found a little strange case. I'll write the case in below. Failure caseAdded repository from command and added [Custom CA Certificate (optional)] from dashboard, it also showed a error as above and the error did not disappeared. Success caseAdded repository with [Custom CA Certificate (optional)] from Dashboad, it showed a error as follow but turned success after a while.
|
hi @h-uchida-n, Some jobs or cronjobs may have been running with the old setup, that's why you saw some errors, if eventually it worked it meas that the setup is properly configured. Let me close this issue, please reopen it if you still find some trouble. |
I'd like to use kubeapps on k8s cluster behind a proxy and to refer helm repositories on the internnet (lile https://charts.bitnami.com/bitnami).
Regarding the proxy, proxy certificate should be installed/configured to use it.
how shold we configure kubeapps?
I've tried following configuration, but it didn't work.
The text was updated successfully, but these errors were encountered: