Skip to content

Commit

Permalink
[docs] Changing the path in examples for modules (#9636)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Kovalkov <[email protected]>
  • Loading branch information
unreturned authored Sep 11, 2024
1 parent 6ba5a15 commit 19d0c9f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions docs/documentation/pages/DECKHOUSE-FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,8 @@ Follow these steps for manual loading images of modules, connected from the modu
1. Create an authentication string for `registry.deckhouse.io` using the following command (provide the license key):

```shell
LICENSE_KEY="LICENSE_KEY" base64 -w0 <<EOF
LICENSE_KEY='<LICENSE_KEY>'
base64 -w0 <<EOF
{
"auths": {
"registry.deckhouse.io": {
Expand Down Expand Up @@ -616,11 +617,11 @@ Follow these steps for manual loading images of modules, connected from the modu

```shell
d8 mirror modules push \
-d /tmp/d8-modules --registry='corp.company.com:5000/deckhouse/modules' \
-d /tmp/d8-modules --registry='corp.company.com:5000/sys/deckhouse/modules' \
--registry-login='<USER>' --registry-password='<PASSWORD>'
```

> Before pushing images, make sure that the path for loading into the registry exists (`/deckhouse/modules` in the example above), and the account being used has write permissions.
> Before pushing images, make sure that the path for loading into the registry exists (`/sys/deckhouse/modules` in the example above), and the account being used has write permissions.

1. After uploading the images to the air-gapped registry, edit the `ModuleSource` YAML manifest prepared in step 3:

Expand All @@ -638,7 +639,7 @@ Follow these steps for manual loading images of modules, connected from the modu
registry:
# Specify the authentication string for your registry.
dockerCfg: <BASE64_REGISTRY_CREDENTIALS>
repo: 'corp.company.com:5000/deckhouse/modules'
repo: 'corp.company.com:5000/sys/deckhouse/modules'
scheme: HTTPS
# Select the appropriate release channel: Alpha, Beta, EarlyAccess, Stable, or RockSolid
releaseChannel: "Stable"
Expand Down
9 changes: 5 additions & 4 deletions docs/documentation/pages/DECKHOUSE-FAQ_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,8 @@ Deckhouse поддерживает работу только с Bearer token-с
1. Создайте строку аутентификации для официального хранилища образов `registry.deckhouse.ru`, выполнив следующую команду (укажите лицензионный ключ):

```shell
LICENSE_KEY='<LICENSE_KEY>' base64 -w0 <<EOF
LICENSE_KEY='<LICENSE_KEY>'
base64 -w0 <<EOF
{
"auths": {
"registry.deckhouse.ru": {
Expand Down Expand Up @@ -617,11 +618,11 @@ Deckhouse поддерживает работу только с Bearer token-с

```shell
d8 mirror modules push \
-d /tmp/d8-modules --registry='corp.company.com:5000/deckhouse/modules' \
-d /tmp/d8-modules --registry='corp.company.com:5000/sys/deckhouse/modules' \
--registry-login='<USER>' --registry-password='<PASSWORD>'
```

> Перед загрузкой образов убедитесь, что путь для загрузки в хранилище образов существует (в примере — `/deckhouse/modules`) и у используемой учетной записи есть права на запись.
> Перед загрузкой образов убедитесь, что путь для загрузки в хранилище образов существует (в примере — `/sys/deckhouse/modules`) и у используемой учетной записи есть права на запись.

1. Отредактируйте YAML-манифест `ModuleSource`, подготовленный на шаге 3:

Expand All @@ -639,7 +640,7 @@ Deckhouse поддерживает работу только с Bearer token-с
registry:
# Укажите строку аутентификации для вашего хранилища образов.
dockerCfg: <BASE64_REGISTRY_CREDENTIALS>
repo: 'corp.company.com:5000/deckhouse/modules'
repo: 'corp.company.com:5000/sys/deckhouse/modules'
scheme: HTTPS
# Выберите подходящий канал обновлений: Alpha, Beta, EarlyAccess, Stable, RockSolid
releaseChannel: "Stable"
Expand Down

0 comments on commit 19d0c9f

Please sign in to comment.