replicatedhq / kots

KOTS provides the framework, tools and integrations that enable the delivery and management of 3rd-party Kubernetes applications, a.k.a. Kubernetes Off-The-Shelf (KOTS) Software.
https://kots.io
Apache License 2.0
902 stars 90 forks source link

Ignore host env vars as they may override the registry config #4975

Closed sgalsaleh closed 3 weeks ago

sgalsaleh commented 3 weeks ago

What this PR does / why we need it:

Fixes an issue where the config of the local registry that KOTS uses to process air gap bundles can be overridden by the host's environment variables.

Which issue(s) this PR fixes:

SC-105931

Does this PR require a test?

NONE

Does this PR require a release note?

* Fixes an issue where pushing images from the air gap bundle could time out due to the host's environment variables interfering with the internal / temporary registry used by the KOTS CLI.

Does this PR require documentation?

NONE