Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ A profile is a named set of DB connection parameters stored in a configuration f

## Where profiles are stored {#location}

Profiles are stored locally in a file named `~/ydb/config/config.yaml`.
Profiles are stored locally in a file named `~/.ydb/config/config.yaml`.

{% include [location_overlay.md](location_overlay.md) %}
4 changes: 2 additions & 2 deletions ydb/docs/en/core/reference/ydbops/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ The configuration file for `ydbops` is a YAML-formatted file containing multiple

Default configuration file location follows the same convention as {{ ydb-short-name }} CLI does, it is located in the same folder in `ydbops` subdirectory. For comparison:

- default configuration file for {{ ydb-short-name }} CLI: `$HOME/ydb/config/config.yaml`
- default configuration file for `ydbops` CLI is in same folder, `ydbops` subdirectory: `$HOME/ydb/ydbops/config/config.yaml`
- default configuration file for {{ ydb-short-name }} CLI: `$HOME/.ydb/config/config.yaml`
- default configuration file for `ydbops` CLI, `ydbops` subdirectory: `$HOME/ydb/ydbops/config/config.yaml`

Certain command line options can be written in the configuration file instead of being specified directly in the `ydbops` invocation.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

## Где хранятся профили {#location}

Профили хранятся локально в файле `~/ydb/config/config.yaml`.
Профили хранятся локально в файле `~/.ydb/config/config.yaml`.

{% include [location_overlay.md](location_overlay.md) %}

Expand Down
2 changes: 1 addition & 1 deletion ydb/docs/ru/core/reference/ydbops/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

Расположение файла конфигурации по умолчанию следует той же конвенции, что и {{ ydb-short-name }} CLI, и находится в той же папке в подкаталоге `ydbops`. Для сравнения:

- файл конфигурации по умолчанию для {{ ydb-short-name }} CLI : `$HOME/ydb/config/config.yaml`
- файл конфигурации по умолчанию для {{ ydb-short-name }} CLI : `$HOME/.ydb/config/config.yaml`
- файл конфигурации по умолчанию для CLI `ydbops` находится в той же папке, в подкаталоге `ydbops`: `$HOME/ydb/ydbops/config/config.yaml`

Некоторые параметры командной строки могут быть записаны в файл конфигурации вместо того, чтобы указывать их каждый раз напрямую при вызове `ydbops`.
Expand Down
Loading