You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
If the controller is deployed with the HTTP_PROXY or HTTPS_PROXY variables set, the controller seemingly fails to start.
No logs are produced, but the status shows the following:
The controller starts up fine if those variables are not set, but then later fails reconciling deployments as it can't access the remote git repositories (due to a lack of proxy).
Steps to reproduce
Specify either HTTP_PROXY or HTTPS_PROXY variables in the deployment.
Relevant log output
No logs were produced
The text was updated successfully, but these errors were encountered:
I suspect this may be due to the controller trying to access the Kubernetes API through the proxy, which won't work.
I tried adding .cluster.local to NO_PROXY, but that didn't help. I'll look into this further.
Update: Adding 10.96.0.1 to NO_PROXY fixed this issue.
Since the controller now directly pulls git repos from their sources, configuring a proxy might be something users want to do, so maybe documenting this somewhere would be useful?
Or at least some visible logs that indicate the Kubernetes API server cannot be reached.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Controller Version
v0.15.0
Kubernetes Version
v1.21.6+vmware.1
Bug description
If the controller is deployed with the
HTTP_PROXY
orHTTPS_PROXY
variables set, the controller seemingly fails to start.No logs are produced, but the status shows the following:
The controller starts up fine if those variables are not set, but then later fails reconciling deployments as it can't access the remote git repositories (due to a lack of proxy).
Steps to reproduce
Specify either
HTTP_PROXY
orHTTPS_PROXY
variables in the deployment.Relevant log output
The text was updated successfully, but these errors were encountered: