Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: refactor secret sourcing | Alex Auvolat | 2024-01-15 | 1 | -213/+7 |
| | |||||
* | Add allow_world_readable_secrets option to config file | Félix Baylac Jacqué | 2023-10-26 | 1 | -5/+77 |
| | | | | | | | | | | | | | | | | | | | Sometimes, the secret files permissions checks gets in the way. It's by no mean complete, it doesn't take the Posix ACLs into account among other things. Correctly checking the ACLs would be too involving (see https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/658#issuecomment-7102) and would likely still fail in some weird chmod settings. We're adding a new configuration file key allowing the user to disable this permission check altogether. The (already existing) env variable counterpart always take precedence to this config file option. That's useful in cases where the configuration file is static and cannot be easily altered. Fixes https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/658 Co-authored-by: Florian Klink <flokli@flokli.de> | ||||
* | util: move reading secret file into seperate helper | networkException | 2023-10-19 | 1 | -16/+19 |
| | | | | | | this patch moves the logic to read a secret file (and check for correct permissions) from `secret_from_file` into a new `read_secret_file` helper. | ||||
* | config: allow using paths for unix domain sockets in various places | networkException | 2023-09-29 | 1 | -4/+5 |
| | | | | | | | this patch updates the config format to also allow paths in bind addresses for unix domain sockets. this has been added to all apis except rpc. | ||||
* | util: add helper sum type for unix and tcp socket addresses | networkException | 2023-09-29 | 2 | -0/+45 |
| | | | | | this patch introduces a new sum type that can represent either a tcp socket address or a unix domain socket path. | ||||
* | config: make block_size and sled_cache_capacity expressable as strings | Alex Auvolat | 2023-09-11 | 2 | -8/+58 |
| | |||||
* | make lmdb's map_size configurable (fix #628) | Alex Auvolat | 2023-09-11 | 1 | -0/+4 |
| | |||||
* | update version to 0.8.4v0.8.4hold-netapp-0.5.2 | Alex Auvolat | 2023-09-05 | 1 | -1/+1 |
| | |||||
* | bump version to 0.8.3v0.8.3-rc1 | Alex Auvolat | 2023-08-28 | 1 | -1/+1 |
| | |||||
* | src/util: fix typo | Florian Klink | 2023-07-14 | 1 | -1/+1 |
| | |||||
* | set default for [consul-services] api | Roberto Hidalgo | 2023-05-22 | 1 | -0/+1 |
| | |||||
* | simplify code according to feedback | Roberto Hidalgo | 2023-05-22 | 1 | -10/+5 |
| | |||||
* | rename mode to consul_http_api | Roberto Hidalgo | 2023-05-22 | 1 | -8/+8 |
| | |||||
* | follow feedback, fold into existing feature | Roberto Hidalgo | 2023-05-22 | 1 | -20/+19 |
| | |||||
* | allow additional ServiceMeta, docs | Roberto Hidalgo | 2023-05-22 | 1 | -0/+3 |
| | |||||
* | register consul services against local agent instead of catalog api | Roberto Hidalgo | 2023-05-22 | 1 | -2/+23 |
| | |||||
* | Split format_table into separate crate and reduce k2v-client dependenciesformat_table-v0.1.0 | Alex Auvolat | 2023-05-17 | 2 | -33/+0 |
| | |||||
* | *: apply clippy recommendations. | Jonathan Davies | 2023-05-09 | 2 | -2/+2 |
| | |||||
* | move git-version dependency to main crate to reduce rebuilds | Alex Auvolat | 2023-05-09 | 2 | -9/+4 |
| | |||||
* | Declare garage crates using workspace.dependencies | Jakub Jirutka | 2023-05-09 | 1 | -1/+1 |
| | | | | | | | | This will allow to really disable "sled" feature without declaring `default-features = false` in every Cargo.toml where garage_db and garage_model is used. See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table | ||||
* | Prepare for v0.8.2 | Alex Auvolat | 2023-03-13 | 1 | -2/+2 |
| | |||||
* | rpc/system_metrics.rs: Added rustversion label to garage_build_info metric. | Jonathan Davies | 2023-03-10 | 3 | -0/+15 |
| | |||||
* | util/forwarded_headers.rs: Generalized handle_forwarded_for_headers() | Jonathan Davies | 2023-03-03 | 2 | -0/+64 |
| | | | | here. | ||||
* | fixes for pr 499config-files-env | Alex Auvolat | 2023-02-06 | 1 | -4/+4 |
| | |||||
* | secrets can be passed directly in config, as file, or as env | Alex Auvolat | 2023-02-03 | 1 | -46/+70 |
| | |||||
* | Cargo.toml: Loosen tracing dependency to just 0.1. | Jonathan Davies | 2023-01-26 | 1 | -1/+1 |
| | |||||
* | {model,util}/Cargo.toml: Updated blake2 from 0.9 to 0.10. | Jonathan Davies | 2023-01-26 | 2 | -3/+3 |
| | |||||
* | {db,util}/Cargo.toml: Updated mktemp from 0.4 to 0.5. | Jonathan Davies | 2023-01-26 | 1 | -1/+1 |
| | |||||
* | {garage,util}/Cargo.toml: Updated toml from 0.5 to 0.6. | Jonathan Davies | 2023-01-26 | 1 | -1/+1 |
| | |||||
* | util/time.rs: Updated deprecated associated function to timestamp_opt(). | Jonathan Davies | 2023-01-26 | 1 | -1/+1 |
| | |||||
* | Add tests for `rpc_secret_file` | Felix Scheinost | 2023-01-07 | 2 | -0/+122 |
| | |||||
* | Error on both `rpc_secret` and `rpc_secret_file` | Felix Scheinost | 2023-01-07 | 1 | -1/+7 |
| | |||||
* | Implement `rpc_secret_file` | Felix Scheinost | 2023-01-04 | 1 | -2/+24 |
| | |||||
* | bg var operation on all nodes at onceworker-get | Alex Auvolat | 2023-01-04 | 1 | -0/+6 |
| | |||||
* | Uniform framework for bg variable management | Alex Auvolat | 2023-01-04 | 3 | -0/+142 |
| | |||||
* | Remove token_bucket.rs | Alex Auvolat | 2023-01-04 | 2 | -41/+0 |
| | |||||
* | use impossible enum type | Alex Auvolat | 2023-01-03 | 1 | -1/+1 |
| | |||||
* | more idiomatic and shorter | Alex Auvolat | 2023-01-03 | 1 | -1/+1 |
| | |||||
* | fix doc and add tests for migrate.rsformat-migration | Alex Auvolat | 2023-01-03 | 1 | -6/+91 |
| | |||||
* | move debug_serialize to garage_util::encode | Alex Auvolat | 2023-01-03 | 3 | -16/+17 |
| | |||||
* | Make it explicit when using nonversioned encoding | Alex Auvolat | 2023-01-03 | 4 | -23/+34 |
| | |||||
* | Refactor how things are migrated | Alex Auvolat | 2023-01-03 | 4 | -12/+103 |
| | |||||
* | Merge branch 'main' into internals-reworkinternals-rework | Alex Auvolat | 2023-01-02 | 1 | -2/+2 |
|\ | |||||
| * | Bump everything to v0.8.1 | Alex Auvolat | 2023-01-02 | 1 | -2/+2 |
| | | |||||
* | | Get rid of background::spawn | Alex Auvolat | 2022-12-14 | 1 | -16/+0 |
| | | |||||
* | | Simplified and more aggressive worker exit logic | Alex Auvolat | 2022-12-14 | 1 | -50/+23 |
| | | |||||
* | | Refactor background runner and get rid of job worker | Alex Auvolat | 2022-12-14 | 2 | -99/+13 |
|/ | |||||
* | cli: prettier table in garage stats | Alex Auvolat | 2022-12-13 | 1 | -2/+6 |
| | |||||
* | Prettier worker list table; remove useless CLI log messages | Alex Auvolat | 2022-12-12 | 2 | -7/+18 |
| | |||||
* | Fix issue with 'http(s)://' prefixconsul-tls | Alex Auvolat | 2022-10-18 | 1 | -2/+2 |
| |