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
Fleet's fleet.yaml supports a helm.chart field that can reference a Helm chart in a git repository. Downloading these charts is handled by go-getter, which currently shells out to the system git binary for git URLs.
SSH through an HTTPS proxy (introduced for GitRepo.spec.repo in #3595) and custom proxy CA cert support (introduced in #4870) do not extend to this path because the system git binary cannot receive proxy configuration programmatically.
Scope
Once PR #4841 (replace go-getter's GitGetter shellout with go-git) lands, the following can be addressed for helm.chart git downloads in the fleet apply main container:
Custom proxy CA cert — deliver the proxy CA cert to the main container (currently only the init container receives it) and load it programmatically using x509.SystemCertPool() + append, consistent with Make CA bundle configurable for HTTPS_PROXY #4870.
Background
Fleet's
fleet.yamlsupports ahelm.chartfield that can reference a Helm chart in a git repository. Downloading these charts is handled by go-getter, which currently shells out to the systemgitbinary for git URLs.SSH through an HTTPS proxy (introduced for
GitRepo.spec.repoin #3595) and custom proxy CA cert support (introduced in #4870) do not extend to this path because the systemgitbinary cannot receive proxy configuration programmatically.Scope
Once PR #4841 (replace go-getter's
GitGettershellout with go-git) lands, the following can be addressed forhelm.chartgit downloads in thefleet applymain container:pkg/git/proxy.go(implemented in [SURE-9994] Fleet support for SSH proxy servers #3595) via go-git'sCloneOptions.x509.SystemCertPool()+ append, consistent with Make CA bundle configurable for HTTPS_PROXY #4870.Dependency
Blocked on #4841.