mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-27 05:28:22 +00:00
Example YAMLs are invalid
This commit is contained in:
@@ -25,7 +25,7 @@ Mirrors is a directive that defines the names and endpoints of the private regis
|
|||||||
|
|
||||||
```
|
```
|
||||||
mirrors:
|
mirrors:
|
||||||
mycustomreg.com:5000
|
"mycustomreg.com:5000":
|
||||||
endpoint:
|
endpoint:
|
||||||
- "https://mycustomreg.com:5000"
|
- "https://mycustomreg.com:5000"
|
||||||
```
|
```
|
||||||
@@ -59,11 +59,11 @@ Below are examples showing how you may configure `/etc/rancher/k3s/registries.ya
|
|||||||
|
|
||||||
```
|
```
|
||||||
mirrors:
|
mirrors:
|
||||||
mycustomreg.com:5000
|
"mycustomreg.com:5000":
|
||||||
endpoint:
|
endpoint:
|
||||||
- "https://mycustomreg.com:5000"
|
- "https://mycustomreg.com:5000"
|
||||||
configs:
|
configs:
|
||||||
mycustomreg:5000
|
"mycustomreg:5000":
|
||||||
auth:
|
auth:
|
||||||
username: xxxxxx # this is the registry username
|
username: xxxxxx # this is the registry username
|
||||||
password: xxxxxx # this is the registry password
|
password: xxxxxx # this is the registry password
|
||||||
@@ -78,11 +78,11 @@ configs:
|
|||||||
|
|
||||||
```
|
```
|
||||||
mirrors:
|
mirrors:
|
||||||
mycustomreg.com:5000
|
"mycustomreg.com:5000":
|
||||||
endpoint:
|
endpoint:
|
||||||
- "https://mycustomreg.com:5000"
|
- "https://mycustomreg.com:5000"
|
||||||
configs:
|
configs:
|
||||||
mycustomreg:5000
|
"mycustomreg:5000":
|
||||||
tls:
|
tls:
|
||||||
cert_file: # path to the cert file used in the registry
|
cert_file: # path to the cert file used in the registry
|
||||||
key_file: # path to the key file used in the registry
|
key_file: # path to the key file used in the registry
|
||||||
@@ -101,11 +101,11 @@ Below are examples showing how you may configure `/etc/rancher/k3s/registries.ya
|
|||||||
|
|
||||||
```
|
```
|
||||||
mirrors:
|
mirrors:
|
||||||
mycustomreg.com:5000
|
"mycustomreg.com:5000":
|
||||||
endpoint:
|
endpoint:
|
||||||
- "http://mycustomreg.com:5000"
|
- "http://mycustomreg.com:5000"
|
||||||
configs:
|
configs:
|
||||||
mycustomreg:5000
|
"mycustomreg:5000":
|
||||||
auth:
|
auth:
|
||||||
username: xxxxxx # this is the registry username
|
username: xxxxxx # this is the registry username
|
||||||
password: xxxxxx # this is the registry password
|
password: xxxxxx # this is the registry password
|
||||||
@@ -116,7 +116,7 @@ configs:
|
|||||||
|
|
||||||
```
|
```
|
||||||
mirrors:
|
mirrors:
|
||||||
mycustomreg.com:5000
|
"mycustomreg.com:5000":
|
||||||
endpoint:
|
endpoint:
|
||||||
- "http://mycustomreg.com:5000"
|
- "http://mycustomreg.com:5000"
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user