From f546b6d57202e164470eef4ded0540a06251b45b Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Mon, 16 Sep 2024 14:21:20 +0200 Subject: [PATCH] Add secrets-validation option to docs (#9541) Follow-up of #9509 --- .../projectnessie/catalog/service/config/SmallryeConfigs.java | 4 ++++ site/in-dev/configuration.md | 2 ++ 2 files changed, 6 insertions(+) diff --git a/catalog/service/common/src/main/java/org/projectnessie/catalog/service/config/SmallryeConfigs.java b/catalog/service/common/src/main/java/org/projectnessie/catalog/service/config/SmallryeConfigs.java index 1f1b3a580fa..7fb7d31d94a 100644 --- a/catalog/service/common/src/main/java/org/projectnessie/catalog/service/config/SmallryeConfigs.java +++ b/catalog/service/common/src/main/java/org/projectnessie/catalog/service/config/SmallryeConfigs.java @@ -67,6 +67,10 @@ public interface SmallryeConfigs { @ConfigItem(section = "adls_config", sectionDocFromType = true) AdlsConfig adlsconfig(); + /** + * Optional: validate at server startup that all referenced secrets can be resolved. Startup will + * fail, it one or more secrets cannot be resolved at startup time, hence the default is `false`. + */ @WithName("validate-secrets") @WithDefault("false") boolean validateSecrets(); diff --git a/site/in-dev/configuration.md b/site/in-dev/configuration.md index 302db7ff1a2..77de839c15b 100644 --- a/site/in-dev/configuration.md +++ b/site/in-dev/configuration.md @@ -110,6 +110,8 @@ Related Quarkus settings: ### Catalog and Iceberg REST Settings +{% include './generated-docs/smallrye-nessie_catalog.md' %} + #### Warehouse defaults {% include './generated-docs/smallrye-nessie_catalog_warehouseDefaults.md' %}