Skip to content

Commit

Permalink
chore(docs): update token info
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
  • Loading branch information
Fral738 committed Nov 18, 2024
1 parent 8bb2849 commit 1849b7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
. $(werf ci-env github --as-file)
werf cleanup
env:
WERF_REPO: ...
WERF_REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WERF_REPO_GITHUB_TOKEN: ${{ secrets.REGISTRY_CLEANUP_TOKEN }}
WERF_KUBE_CONFIG_BASE64: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Step `Converge` sets up an environment, and invokes the appropriate command.
```
{% endraw %}

> Environment variables **`WERF_REPO,`** **`GITHUB_TOKEN`** and **`WERF_REPO_GITHUB_TOKEN`** for converge should only be used if building images is required otherwise they can be omitted
> Environment variables **`WERF_REPO`** and **`GITHUB_TOKEN`** for converge should only be used if building images is required otherwise they can be omitted

The `kubectl` interface is already pre-installed on GitHub virtual machines, so the user only needs to:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
```
{% endraw %}

> Переменные окружения **`WERF_REPO,`** **`GITHUB_TOKEN`** и **`WERF_REPO_GITHUB_TOKEN`** должны быть использованы только в том случае, если необходима сборка образов, иначе можно их опустить
> Переменные окружения **`WERF_REPO`** и **`GITHUB_TOKEN`** должны быть использованы только в том случае, если необходима сборка образов, иначе можно их опустить

Среди предустановленного ПО на виртуальных машинах GitHub уже установлен `kubectl`, поэтому пользователю остаётся только:
* определиться с конфигурацией [kubeconfig](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/);
Expand Down

0 comments on commit 1849b7e

Please sign in to comment.