Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable refresh and add some warning to documentation #363

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ Configurable properties :

### Catalogs configuration :

| Key | Default | Description |
| --------------------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `catalogs` | see [onyxia-api/src/main/resources/catalogs.json](onyxia-api/src/main/resources/catalogs.json) | List of helm catalogs. |
| `catalogs.refresh.ms` | `300000` (5 minutes) | The rate at which the catalogs should be refreshed. `<= 0` means no refreshs after initial loading |
| Key | Default | Description |
| --------------------- |------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `catalogs` | see [onyxia-api/src/main/resources/catalogs.json](onyxia-api/src/main/resources/catalogs.json) | List of helm catalogs. |
| `catalogs.refresh.ms` | `0` (disabled) | The rate (in milliseconds) at which the catalogs should be refreshed. `<= 0` means no refreshs after initial loading. Note that this refresh comes with some caveats, especially if you have multiple API pods. See https://github.com/InseeFrLab/onyxia-api/issues/360 for more details. |

### HTTP configuration
| Key | Default | Description |
Expand Down
2 changes: 1 addition & 1 deletion onyxia-api/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ oidc.audience=
oidc.username-claim=preferred_username
oidc.groups-claim=groups
# Catalogs
catalogs.refresh.ms=300000
catalogs.refresh.ms=0
# Security
security.cors.allowed_origins=
# Proxy configuration
Expand Down