This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: kube config not updated by default, flag to turn it on in annot…
…ation (#75)
- Loading branch information
Showing
8 changed files
with
70 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
## Configuration Options | ||
|
||
|
||
|
||
|
||
|
||
## How does it work | ||
|
||
In the background Kubernetes and etcd (and kubectl) binaries are downloaded if not found locally. | ||
|
||
All the certificates for the Kube API Server and for the client is generated. The client config file | ||
(`~/kube/config`) file is updated, to any client can be used to talk to the API Server. | ||
|
||
## Downloading binaries | ||
|
||
Binaries are downloaded automatically under ~/.jenvtest/k8s/[target-platform-and-version] if no binary found locally. | ||
If there are multiple binaries found, the latest if selected (unless a target version is not specified). | ||
|
||
Also [`setup-envtest`](https://pkg.go.dev/sigs.k8s.io/controller-runtime/tools/setup-envtest#section-readme) can be used | ||
to download binaries manually. By executing `setup-envtest use --bin-dir ~/.jenvtest` will download the latest required | ||
binaries to the default directory. This is useful if always running the tests in offline mode. |