Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Airgap environment support #126

Open
horis233 opened this issue Nov 16, 2023 · 2 comments
Open

Airgap environment support #126

horis233 opened this issue Nov 16, 2023 · 2 comments

Comments

@horis233
Copy link

Our CI CD environment is a network limited, which can't download binaries from third party. In this case, because jenvtest will download kubebuilder binaries which make is can't executed in an airgap environment. Could we have a version which has fixed version kubebuilder binaries downloaded and won't required public network access?

@csviri
Copy link
Collaborator

csviri commented Nov 16, 2023

Hi @horis233 there is offline mode,see:

/**
* If true, does not download binaries. If the apiServerVersion is not set and some local binaries
* found won't try to download them again.
*/
private final boolean offlineMode;

@csviri
Copy link
Collaborator

csviri commented Nov 16, 2023

If it finds the binaries in target dir it won't download them either. Note that the format should be compatible also with the one go envtest provides.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants