diff --git a/pkg/config/authservice.go b/pkg/config/authservice.go index 8175a2f..2e0c7e1 100644 --- a/pkg/config/authservice.go +++ b/pkg/config/authservice.go @@ -86,6 +86,11 @@ func authserviceConfig() []Option { Description: "comma separated list of public urls for the server TLS certificates (e.g. https://auth.example.com,https://auth.us1.example.com)", Default: "", }, + { + Name: "STORJ_RETRIEVE_PUBLIC_PROJECT_ID", + Description: "retrieve and store public project ID when registering access grant", + Default: "true", + }, { Name: "STORJ_CERT_MAGIC_ENABLED", Description: "use CertMagic to handle TLS certificates", diff --git a/pkg/config/linksharing.go b/pkg/config/linksharing.go index be7f6b5..9f2601e 100644 --- a/pkg/config/linksharing.go +++ b/pkg/config/linksharing.go @@ -61,6 +61,16 @@ func linksharingConfig() []Option { Description: "", Default: "", }, + { + Name: "STORJ_HANDLER_ASSETS", + Description: "", + Default: "", + }, + { + Name: "STORJ_HANDLER_DYNAMIC_ASSETS", + Description: "", + Default: "", + }, { Name: "STORJ_HANDLER_URLBASES", Description: "", diff --git a/pkg/config/satellite-admin.go b/pkg/config/satellite-admin.go index d24e754..7596aa4 100644 --- a/pkg/config/satellite-admin.go +++ b/pkg/config/satellite-admin.go @@ -491,6 +491,21 @@ func satelliteadminConfig() []Option { Description: "max bucket count for a project.", Default: "100", }, + { + Name: "STORJ_METAINFO_SUCCESS_TRACKER_KIND", + Description: "success tracker kind, bitshift or percent", + Default: "percent", + }, + { + Name: "STORJ_METAINFO_SUCCESS_TRACKER_TICK_DURATION", + Description: "how often to bump the generation in the node success tracker", + Default: "10m", + }, + { + Name: "STORJ_METAINFO_SUCCESS_TRACKER_TRUSTED_UPLINKS", + Description: "list of trusted uplinks for success tracker", + Default: "", + }, { Name: "STORJ_METAINFO_SERVER_SIDE_COPY", Description: "enable code for server-side copy, deprecated. please leave this to true.", @@ -506,6 +521,11 @@ func satelliteadminConfig() []Option { Description: "switch to iterator based implementation.", Default: "false", }, + { + Name: "STORJ_METAINFO_NODE_ALIAS_CACHE_FULL_REFRESH", + Description: "node alias cache does a full refresh when a value is missing", + Default: "false", + }, { Name: "STORJ_METAINFO_USE_BUCKET_LEVEL_OBJECT_VERSIONING", Description: "enable the use of bucket level object versioning", @@ -516,11 +536,36 @@ func satelliteadminConfig() []Option { Description: "list of projects which will have UseBucketLevelObjectVersioning feature flag enabled", Default: "", }, + { + Name: "STORJ_METAINFO_USE_BUCKET_LEVEL_OBJECT_LOCK", + Description: "enable the use of bucket-level Object Lock", + Default: "false", + }, + { + Name: "STORJ_METAINFO_USE_BUCKET_LEVEL_OBJECT_LOCK_PROJECTS", + Description: "list of project IDs for which bucket-level Object Lock functionality is enabled", + Default: "", + }, { Name: "STORJ_METAINFO_TEST_LISTING_QUERY", Description: "test the new query for non-recursive listing", Default: "false", }, + { + Name: "STORJ_METAINFO_TEST_COMMIT_SEGMENT_MODE", + Description: "which code path use for commit segment step, empty means default. Other options: transaction, no-pending-object-check", + Default: "", + }, + { + Name: "STORJ_METAINFO_TEST_OPTIMIZED_INLINE_OBJECT_UPLOAD", + Description: "enables optimization for uploading objects with single inline segment", + Default: "false", + }, + { + Name: "STORJ_METAINFO_TESTING_PRECOMMIT_DELETE_MODE", + Description: "which code path to use for precommit delete step for unversioned objects, 1 is the default (old) code path.", + Default: "1", + }, { Name: "STORJ_ORDERS_ENCRYPTION_KEYS_DEFAULT_ID", Description: "", @@ -1251,11 +1296,6 @@ func satelliteadminConfig() []Option { Description: "whether to use idempotency for create/update requests", Default: "false", }, - { - Name: "STORJ_PAYMENTS_STRIPE_COIN_PAYMENTS_ENABLE_FREE_TRIAL_LOGIC", - Description: "whether to use users upgrade time and skip free tier status in billing process", - Default: "false", - }, { Name: "STORJ_PAYMENTS_STRIPE_COIN_PAYMENTS_RETRIES_INITIAL_BACKOFF", Description: "the duration of the first retry interval", @@ -1591,6 +1631,11 @@ func satelliteadminConfig() []Option { Description: "whether new application setup flow should be used", Default: "false", }, + { + Name: "STORJ_CONSOLE_NO_LIMITS_UI_ENABLED", + Description: "whether to show unlimited-limits UI for pro users", + Default: "false", + }, { Name: "STORJ_CONSOLE_OAUTH_CODE_EXPIRY", Description: "how long oauth authorization codes are issued for", @@ -1716,11 +1761,6 @@ func satelliteadminConfig() []Option { Description: "indicates whether invitation emails can be sent to unregistered email addresses", Default: "true", }, - { - Name: "STORJ_CONSOLE_CONFIG_FREE_TIER_INVITES_ENABLED", - Description: "indicates whether free tier users can send project invitations", - Default: "false", - }, { Name: "STORJ_CONSOLE_CONFIG_USER_BALANCE_FOR_UPGRADE", Description: "amount of base units of US micro dollars needed to upgrade user's tier status", @@ -1786,6 +1826,21 @@ func satelliteadminConfig() []Option { Description: "indicates if billing information tab should be enabled", Default: "false", }, + { + Name: "STORJ_CONSOLE_CONFIG_SATELLITE_MANAGED_ENCRYPTION_ENABLED", + Description: "indicates whether satellite managed encryption projects can be created.", + Default: "false", + }, + { + Name: "STORJ_CONSOLE_CONFIG_EMAIL_CHANGE_FLOW_ENABLED", + Description: "whether change user email flow is enabled", + Default: "false", + }, + { + Name: "STORJ_CONSOLE_CONFIG_SELF_SERVE_ACCOUNT_DELETE_ENABLED", + Description: "whether self-serve account delete flow is enabled", + Default: "false", + }, { Name: "STORJ_CONSOLE_CONFIG_USAGE_LIMITS_STORAGE_FREE", Description: "the default free-tier storage usage limit", @@ -2141,6 +2196,21 @@ func satelliteadminConfig() []Option { Description: "whether to exclude storjscan-paying users from automatic warn/freeze", Default: "false", }, + { + Name: "STORJ_ACCOUNT_FREEZE_EMAILS_ENABLED", + Description: "whether to freeze event emails from this chore", + Default: "false", + }, + { + Name: "STORJ_ACCOUNT_FREEZE_BILLING_WARNING_EMAIL_INTERVALS", + Description: "how long to wait between the billing freeze warning emails", + Default: "240h,96h", + }, + { + Name: "STORJ_ACCOUNT_FREEZE_BILLING_FREEZE_EMAIL_INTERVALS", + Description: "how long to wait between the billing freeze emails", + Default: "720h,480h,216h", + }, { Name: "STORJ_VERSION_CLIENT_CONFIG_SERVER_ADDRESS", Description: "server address to check its version against", @@ -2301,6 +2371,21 @@ func satelliteadminConfig() []Option { Description: "the default timeout for the hubspot http client", Default: "10s", }, + { + Name: "STORJ_ANALYTICS_HUB_SPOT_EVENT_PREFIX", + Description: "the prefix for the event name", + Default: "", + }, + { + Name: "STORJ_ANALYTICS_HUB_SPOT_SIGNUP_FORM_ID", + Description: "the hubspot form ID for signup", + Default: "", + }, + { + Name: "STORJ_ANALYTICS_HUB_SPOT_LIFE_CYCLE_STAGE", + Description: "the hubspot lifecycle stage for new accounts", + Default: "", + }, { Name: "STORJ_ANALYTICS_PLAUSIBLE_DOMAIN", Description: "the domain set up on plausible for the satellite", @@ -2331,6 +2416,36 @@ func satelliteadminConfig() []Option { Description: "whether to enable durability report (rangedloop observer)", Default: "true", }, + { + Name: "STORJ_KEY_MANAGEMENT_KEY_INFOS_VALUES", + Description: "", + Default: "", + }, + { + Name: "STORJ_KEY_MANAGEMENT_DEFAULT_MASTER_KEY", + Description: "the key ID to use for passphrase encryption.", + Default: "1", + }, + { + Name: "STORJ_KEY_MANAGEMENT_TEST_MASTER_KEY", + Description: "[DEPRECATED] For testing, use --kms.mock-client and --kms.key-infos. A fake master key to be used for the purpose of testing.", + Default: "", + }, + { + Name: "STORJ_KEY_MANAGEMENT_MOCK_CLIENT", + Description: "whether to use mock google secret manager service.", + Default: "", + }, + { + Name: "STORJ_HEALTH_CHECK_ENABLED", + Description: "Whether the health check server is enabled", + Default: "false", + }, + { + Name: "STORJ_HEALTH_CHECK_ADDRESS", + Description: "The address to listen on for health check server", + Default: ":10500", + }, { Name: "STORJ_TAG_AUTHORITIES", Description: "comma-separated paths of additional cert files, used to validate signed node tags", diff --git a/pkg/config/satellite-api.go b/pkg/config/satellite-api.go index 91ba20d..543ea6f 100644 --- a/pkg/config/satellite-api.go +++ b/pkg/config/satellite-api.go @@ -491,6 +491,21 @@ func satelliteapiConfig() []Option { Description: "max bucket count for a project.", Default: "100", }, + { + Name: "STORJ_METAINFO_SUCCESS_TRACKER_KIND", + Description: "success tracker kind, bitshift or percent", + Default: "percent", + }, + { + Name: "STORJ_METAINFO_SUCCESS_TRACKER_TICK_DURATION", + Description: "how often to bump the generation in the node success tracker", + Default: "10m", + }, + { + Name: "STORJ_METAINFO_SUCCESS_TRACKER_TRUSTED_UPLINKS", + Description: "list of trusted uplinks for success tracker", + Default: "", + }, { Name: "STORJ_METAINFO_SERVER_SIDE_COPY", Description: "enable code for server-side copy, deprecated. please leave this to true.", @@ -506,6 +521,11 @@ func satelliteapiConfig() []Option { Description: "switch to iterator based implementation.", Default: "false", }, + { + Name: "STORJ_METAINFO_NODE_ALIAS_CACHE_FULL_REFRESH", + Description: "node alias cache does a full refresh when a value is missing", + Default: "false", + }, { Name: "STORJ_METAINFO_USE_BUCKET_LEVEL_OBJECT_VERSIONING", Description: "enable the use of bucket level object versioning", @@ -516,11 +536,36 @@ func satelliteapiConfig() []Option { Description: "list of projects which will have UseBucketLevelObjectVersioning feature flag enabled", Default: "", }, + { + Name: "STORJ_METAINFO_USE_BUCKET_LEVEL_OBJECT_LOCK", + Description: "enable the use of bucket-level Object Lock", + Default: "false", + }, + { + Name: "STORJ_METAINFO_USE_BUCKET_LEVEL_OBJECT_LOCK_PROJECTS", + Description: "list of project IDs for which bucket-level Object Lock functionality is enabled", + Default: "", + }, { Name: "STORJ_METAINFO_TEST_LISTING_QUERY", Description: "test the new query for non-recursive listing", Default: "false", }, + { + Name: "STORJ_METAINFO_TEST_COMMIT_SEGMENT_MODE", + Description: "which code path use for commit segment step, empty means default. Other options: transaction, no-pending-object-check", + Default: "", + }, + { + Name: "STORJ_METAINFO_TEST_OPTIMIZED_INLINE_OBJECT_UPLOAD", + Description: "enables optimization for uploading objects with single inline segment", + Default: "false", + }, + { + Name: "STORJ_METAINFO_TESTING_PRECOMMIT_DELETE_MODE", + Description: "which code path to use for precommit delete step for unversioned objects, 1 is the default (old) code path.", + Default: "1", + }, { Name: "STORJ_ORDERS_ENCRYPTION_KEYS_DEFAULT_ID", Description: "", @@ -1251,11 +1296,6 @@ func satelliteapiConfig() []Option { Description: "whether to use idempotency for create/update requests", Default: "false", }, - { - Name: "STORJ_PAYMENTS_STRIPE_COIN_PAYMENTS_ENABLE_FREE_TRIAL_LOGIC", - Description: "whether to use users upgrade time and skip free tier status in billing process", - Default: "false", - }, { Name: "STORJ_PAYMENTS_STRIPE_COIN_PAYMENTS_RETRIES_INITIAL_BACKOFF", Description: "the duration of the first retry interval", @@ -1591,6 +1631,11 @@ func satelliteapiConfig() []Option { Description: "whether new application setup flow should be used", Default: "false", }, + { + Name: "STORJ_CONSOLE_NO_LIMITS_UI_ENABLED", + Description: "whether to show unlimited-limits UI for pro users", + Default: "false", + }, { Name: "STORJ_CONSOLE_OAUTH_CODE_EXPIRY", Description: "how long oauth authorization codes are issued for", @@ -1716,11 +1761,6 @@ func satelliteapiConfig() []Option { Description: "indicates whether invitation emails can be sent to unregistered email addresses", Default: "true", }, - { - Name: "STORJ_CONSOLE_CONFIG_FREE_TIER_INVITES_ENABLED", - Description: "indicates whether free tier users can send project invitations", - Default: "false", - }, { Name: "STORJ_CONSOLE_CONFIG_USER_BALANCE_FOR_UPGRADE", Description: "amount of base units of US micro dollars needed to upgrade user's tier status", @@ -1786,6 +1826,21 @@ func satelliteapiConfig() []Option { Description: "indicates if billing information tab should be enabled", Default: "false", }, + { + Name: "STORJ_CONSOLE_CONFIG_SATELLITE_MANAGED_ENCRYPTION_ENABLED", + Description: "indicates whether satellite managed encryption projects can be created.", + Default: "false", + }, + { + Name: "STORJ_CONSOLE_CONFIG_EMAIL_CHANGE_FLOW_ENABLED", + Description: "whether change user email flow is enabled", + Default: "false", + }, + { + Name: "STORJ_CONSOLE_CONFIG_SELF_SERVE_ACCOUNT_DELETE_ENABLED", + Description: "whether self-serve account delete flow is enabled", + Default: "false", + }, { Name: "STORJ_CONSOLE_CONFIG_USAGE_LIMITS_STORAGE_FREE", Description: "the default free-tier storage usage limit", @@ -2141,6 +2196,21 @@ func satelliteapiConfig() []Option { Description: "whether to exclude storjscan-paying users from automatic warn/freeze", Default: "false", }, + { + Name: "STORJ_ACCOUNT_FREEZE_EMAILS_ENABLED", + Description: "whether to freeze event emails from this chore", + Default: "false", + }, + { + Name: "STORJ_ACCOUNT_FREEZE_BILLING_WARNING_EMAIL_INTERVALS", + Description: "how long to wait between the billing freeze warning emails", + Default: "240h,96h", + }, + { + Name: "STORJ_ACCOUNT_FREEZE_BILLING_FREEZE_EMAIL_INTERVALS", + Description: "how long to wait between the billing freeze emails", + Default: "720h,480h,216h", + }, { Name: "STORJ_VERSION_CLIENT_CONFIG_SERVER_ADDRESS", Description: "server address to check its version against", @@ -2301,6 +2371,21 @@ func satelliteapiConfig() []Option { Description: "the default timeout for the hubspot http client", Default: "10s", }, + { + Name: "STORJ_ANALYTICS_HUB_SPOT_EVENT_PREFIX", + Description: "the prefix for the event name", + Default: "", + }, + { + Name: "STORJ_ANALYTICS_HUB_SPOT_SIGNUP_FORM_ID", + Description: "the hubspot form ID for signup", + Default: "", + }, + { + Name: "STORJ_ANALYTICS_HUB_SPOT_LIFE_CYCLE_STAGE", + Description: "the hubspot lifecycle stage for new accounts", + Default: "", + }, { Name: "STORJ_ANALYTICS_PLAUSIBLE_DOMAIN", Description: "the domain set up on plausible for the satellite", @@ -2331,6 +2416,36 @@ func satelliteapiConfig() []Option { Description: "whether to enable durability report (rangedloop observer)", Default: "true", }, + { + Name: "STORJ_KEY_MANAGEMENT_KEY_INFOS_VALUES", + Description: "", + Default: "", + }, + { + Name: "STORJ_KEY_MANAGEMENT_DEFAULT_MASTER_KEY", + Description: "the key ID to use for passphrase encryption.", + Default: "1", + }, + { + Name: "STORJ_KEY_MANAGEMENT_TEST_MASTER_KEY", + Description: "[DEPRECATED] For testing, use --kms.mock-client and --kms.key-infos. A fake master key to be used for the purpose of testing.", + Default: "", + }, + { + Name: "STORJ_KEY_MANAGEMENT_MOCK_CLIENT", + Description: "whether to use mock google secret manager service.", + Default: "", + }, + { + Name: "STORJ_HEALTH_CHECK_ENABLED", + Description: "Whether the health check server is enabled", + Default: "false", + }, + { + Name: "STORJ_HEALTH_CHECK_ADDRESS", + Description: "The address to listen on for health check server", + Default: ":10500", + }, { Name: "STORJ_TAG_AUTHORITIES", Description: "comma-separated paths of additional cert files, used to validate signed node tags", diff --git a/pkg/config/satellite-core.go b/pkg/config/satellite-core.go index c88a1c7..a6ba3cc 100644 --- a/pkg/config/satellite-core.go +++ b/pkg/config/satellite-core.go @@ -491,6 +491,21 @@ func satellitecoreConfig() []Option { Description: "max bucket count for a project.", Default: "100", }, + { + Name: "STORJ_METAINFO_SUCCESS_TRACKER_KIND", + Description: "success tracker kind, bitshift or percent", + Default: "percent", + }, + { + Name: "STORJ_METAINFO_SUCCESS_TRACKER_TICK_DURATION", + Description: "how often to bump the generation in the node success tracker", + Default: "10m", + }, + { + Name: "STORJ_METAINFO_SUCCESS_TRACKER_TRUSTED_UPLINKS", + Description: "list of trusted uplinks for success tracker", + Default: "", + }, { Name: "STORJ_METAINFO_SERVER_SIDE_COPY", Description: "enable code for server-side copy, deprecated. please leave this to true.", @@ -506,6 +521,11 @@ func satellitecoreConfig() []Option { Description: "switch to iterator based implementation.", Default: "false", }, + { + Name: "STORJ_METAINFO_NODE_ALIAS_CACHE_FULL_REFRESH", + Description: "node alias cache does a full refresh when a value is missing", + Default: "false", + }, { Name: "STORJ_METAINFO_USE_BUCKET_LEVEL_OBJECT_VERSIONING", Description: "enable the use of bucket level object versioning", @@ -516,11 +536,36 @@ func satellitecoreConfig() []Option { Description: "list of projects which will have UseBucketLevelObjectVersioning feature flag enabled", Default: "", }, + { + Name: "STORJ_METAINFO_USE_BUCKET_LEVEL_OBJECT_LOCK", + Description: "enable the use of bucket-level Object Lock", + Default: "false", + }, + { + Name: "STORJ_METAINFO_USE_BUCKET_LEVEL_OBJECT_LOCK_PROJECTS", + Description: "list of project IDs for which bucket-level Object Lock functionality is enabled", + Default: "", + }, { Name: "STORJ_METAINFO_TEST_LISTING_QUERY", Description: "test the new query for non-recursive listing", Default: "false", }, + { + Name: "STORJ_METAINFO_TEST_COMMIT_SEGMENT_MODE", + Description: "which code path use for commit segment step, empty means default. Other options: transaction, no-pending-object-check", + Default: "", + }, + { + Name: "STORJ_METAINFO_TEST_OPTIMIZED_INLINE_OBJECT_UPLOAD", + Description: "enables optimization for uploading objects with single inline segment", + Default: "false", + }, + { + Name: "STORJ_METAINFO_TESTING_PRECOMMIT_DELETE_MODE", + Description: "which code path to use for precommit delete step for unversioned objects, 1 is the default (old) code path.", + Default: "1", + }, { Name: "STORJ_ORDERS_ENCRYPTION_KEYS_DEFAULT_ID", Description: "", @@ -1251,11 +1296,6 @@ func satellitecoreConfig() []Option { Description: "whether to use idempotency for create/update requests", Default: "false", }, - { - Name: "STORJ_PAYMENTS_STRIPE_COIN_PAYMENTS_ENABLE_FREE_TRIAL_LOGIC", - Description: "whether to use users upgrade time and skip free tier status in billing process", - Default: "false", - }, { Name: "STORJ_PAYMENTS_STRIPE_COIN_PAYMENTS_RETRIES_INITIAL_BACKOFF", Description: "the duration of the first retry interval", @@ -1591,6 +1631,11 @@ func satellitecoreConfig() []Option { Description: "whether new application setup flow should be used", Default: "false", }, + { + Name: "STORJ_CONSOLE_NO_LIMITS_UI_ENABLED", + Description: "whether to show unlimited-limits UI for pro users", + Default: "false", + }, { Name: "STORJ_CONSOLE_OAUTH_CODE_EXPIRY", Description: "how long oauth authorization codes are issued for", @@ -1716,11 +1761,6 @@ func satellitecoreConfig() []Option { Description: "indicates whether invitation emails can be sent to unregistered email addresses", Default: "true", }, - { - Name: "STORJ_CONSOLE_CONFIG_FREE_TIER_INVITES_ENABLED", - Description: "indicates whether free tier users can send project invitations", - Default: "false", - }, { Name: "STORJ_CONSOLE_CONFIG_USER_BALANCE_FOR_UPGRADE", Description: "amount of base units of US micro dollars needed to upgrade user's tier status", @@ -1786,6 +1826,21 @@ func satellitecoreConfig() []Option { Description: "indicates if billing information tab should be enabled", Default: "false", }, + { + Name: "STORJ_CONSOLE_CONFIG_SATELLITE_MANAGED_ENCRYPTION_ENABLED", + Description: "indicates whether satellite managed encryption projects can be created.", + Default: "false", + }, + { + Name: "STORJ_CONSOLE_CONFIG_EMAIL_CHANGE_FLOW_ENABLED", + Description: "whether change user email flow is enabled", + Default: "false", + }, + { + Name: "STORJ_CONSOLE_CONFIG_SELF_SERVE_ACCOUNT_DELETE_ENABLED", + Description: "whether self-serve account delete flow is enabled", + Default: "false", + }, { Name: "STORJ_CONSOLE_CONFIG_USAGE_LIMITS_STORAGE_FREE", Description: "the default free-tier storage usage limit", @@ -2141,6 +2196,21 @@ func satellitecoreConfig() []Option { Description: "whether to exclude storjscan-paying users from automatic warn/freeze", Default: "false", }, + { + Name: "STORJ_ACCOUNT_FREEZE_EMAILS_ENABLED", + Description: "whether to freeze event emails from this chore", + Default: "false", + }, + { + Name: "STORJ_ACCOUNT_FREEZE_BILLING_WARNING_EMAIL_INTERVALS", + Description: "how long to wait between the billing freeze warning emails", + Default: "240h,96h", + }, + { + Name: "STORJ_ACCOUNT_FREEZE_BILLING_FREEZE_EMAIL_INTERVALS", + Description: "how long to wait between the billing freeze emails", + Default: "720h,480h,216h", + }, { Name: "STORJ_VERSION_CLIENT_CONFIG_SERVER_ADDRESS", Description: "server address to check its version against", @@ -2301,6 +2371,21 @@ func satellitecoreConfig() []Option { Description: "the default timeout for the hubspot http client", Default: "10s", }, + { + Name: "STORJ_ANALYTICS_HUB_SPOT_EVENT_PREFIX", + Description: "the prefix for the event name", + Default: "", + }, + { + Name: "STORJ_ANALYTICS_HUB_SPOT_SIGNUP_FORM_ID", + Description: "the hubspot form ID for signup", + Default: "", + }, + { + Name: "STORJ_ANALYTICS_HUB_SPOT_LIFE_CYCLE_STAGE", + Description: "the hubspot lifecycle stage for new accounts", + Default: "", + }, { Name: "STORJ_ANALYTICS_PLAUSIBLE_DOMAIN", Description: "the domain set up on plausible for the satellite", @@ -2331,6 +2416,36 @@ func satellitecoreConfig() []Option { Description: "whether to enable durability report (rangedloop observer)", Default: "true", }, + { + Name: "STORJ_KEY_MANAGEMENT_KEY_INFOS_VALUES", + Description: "", + Default: "", + }, + { + Name: "STORJ_KEY_MANAGEMENT_DEFAULT_MASTER_KEY", + Description: "the key ID to use for passphrase encryption.", + Default: "1", + }, + { + Name: "STORJ_KEY_MANAGEMENT_TEST_MASTER_KEY", + Description: "[DEPRECATED] For testing, use --kms.mock-client and --kms.key-infos. A fake master key to be used for the purpose of testing.", + Default: "", + }, + { + Name: "STORJ_KEY_MANAGEMENT_MOCK_CLIENT", + Description: "whether to use mock google secret manager service.", + Default: "", + }, + { + Name: "STORJ_HEALTH_CHECK_ENABLED", + Description: "Whether the health check server is enabled", + Default: "false", + }, + { + Name: "STORJ_HEALTH_CHECK_ADDRESS", + Description: "The address to listen on for health check server", + Default: ":10500", + }, { Name: "STORJ_TAG_AUTHORITIES", Description: "comma-separated paths of additional cert files, used to validate signed node tags", diff --git a/pkg/config/storagenode.go b/pkg/config/storagenode.go index ea7951c..060e814 100644 --- a/pkg/config/storagenode.go +++ b/pkg/config/storagenode.go @@ -366,6 +366,11 @@ func storagenodeConfig() []Option { Description: "how frequently expired pieces are collected", Default: "1h0m0s", }, + { + Name: "STORJ_COLLECTOR_EXPIRATION_GRACE_PERIOD", + Description: "how long should the collector wait before deleting expired pieces. Should not be less than 30 min since nodes are allowed to be 30 mins out of sync with the satellite.", + Default: "1h0m0s", + }, { Name: "STORJ_FILESTORE_WRITE_BUFFER_SIZE", Description: "in-memory buffer for uploads", @@ -376,6 +381,11 @@ func storagenodeConfig() []Option { Description: "if true, force disk synchronization and atomic writes", Default: "false", }, + { + Name: "STORJ_PIECES_FILE_STAT_CACHE", + Description: "optional type of file stat cache. Might be useful for slow disk and limited memory. Available options: badger (EXPERIMENTAL)", + Default: "", + }, { Name: "STORJ_PIECES_WRITE_PREALLOC_SIZE", Description: "deprecated", @@ -404,7 +414,7 @@ func storagenodeConfig() []Option { { Name: "STORJ_RETAIN_CONCURRENCY", Description: "how many concurrent retain requests can be processed at the same time.", - Default: "5", + Default: "1", }, { Name: "STORJ_RETAIN_CACHE_PATH",