-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from lablabs/develop
Add custom Containerd Registry
- Loading branch information
Showing
9 changed files
with
40 additions
and
29 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
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 |
---|---|---|
@@ -1,14 +1,8 @@ | ||
mirrors: | ||
docker.io: | ||
{% for mirror in rke2_custom_registry_mirrors %} | ||
{{ mirror.name }}: | ||
endpoint: | ||
- "https://registry.example.com:5000" | ||
configs: | ||
"registry.example.com:5000": | ||
auth: | ||
username: xxxxxx # this is the registry username | ||
password: xxxxxx # this is the registry password | ||
tls: | ||
cert_file: # path to the cert file used to authenticate to the registry | ||
key_file: # path to the key file for the certificate used to authenticate to the registry | ||
ca_file: # path to the ca file used to verify the registry's certificate | ||
insecure_skip_verify: # may be set to true to skip verifying the registry's certificate | ||
{% for endpoint in mirror.endpoint %} | ||
- "{{ endpoint }}" | ||
{% endfor %} | ||
{% endfor %} |