Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Local registry: only attach network if missing
The example script for creating a kind cluster with a local registry will connect the container to the "kind" network. The first time the local registry is created, this is fine and is what is needed. On subsequent runs to create new clusters, if the local registry container has already been set up, the command to attach to the "kind" network will emit an error message to the create output that can be confusing. This updates the example script to do a basic check of the registry containers network configuration. If the kind network appears to be already connected, then the script will not attempt to connect it again. Signed-off-by: Sean McGinnis <[email protected]>
- Loading branch information