Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.
This repository was archived by the owner on Mar 28, 2024. It is now read-only.

Controller fails to start if proxy variables are set #97

@netthier

Description

@netthier

Controller Version

v0.15.0

Kubernetes Version

v1.21.6+vmware.1

Bug description

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:

Readiness probe failed: Get "http://192.168.5.116:9440/readyz": dial tcp 192.168.5.116:9440: connect: connection refused
Liveness probe failed: Get "http://192.168.5.116:9440/healthz": dial tcp 192.168.5.116:9440: connect: connection refused

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions