diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-08-04 09:51:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-04 09:51:26 +0200 |
commit | 6c6a10377d7d9ef5597b534076cdee9ee72bc653 (patch) | |
tree | cb283dd487c82fb247f920bc2fc9f1544031c56f /flags | |
parent | a0a8d7019cfb035b000c616c22c0589ce4ee0986 (diff) | |
parent | eb039ff41f1e612f7012af81950255933f2671b8 (diff) |
Merge branch 'master' into bjorncs/container-thread-pool
Diffstat (limited to 'flags')
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/Flags.java | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java index e1b44b326bd..2ac5969c726 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java @@ -71,7 +71,8 @@ public class Flags { public static final UnboundListFlag<String> DISABLED_HOST_ADMIN_TASKS = defineListFlag( "disabled-host-admin-tasks", List.of(), String.class, - "List of host-admin task names (as they appear in the log, e.g. root>main>UpgradeTask) that should be skipped", + "List of host-admin task names (as they appear in the log, e.g. root>main>UpgradeTask), or some node-agent " + + "functionality (see NodeAgentTask), that should be skipped", "Takes effect on next host admin tick", HOSTNAME, NODE_TYPE); @@ -247,6 +248,11 @@ public class Flags { "Whether the endpoint certificate maintainer should backfill missing certificate data from cameo", "Takes effect on next scheduled run of maintainer - set to \"disable\", \"dryrun\" or \"enable\""); + public static final UnboundBooleanFlag USE_ALTERNATIVE_ENDPOINT_CERTIFICATE_PROVIDER = defineFeatureFlag( + "use-alternative-endpoint-certificate-provider", false, + "Whether to use an alternative CA when provisioning new certificates", + "Takes effect only on initial application deployment - not on later certificate refreshes!"); + public static final UnboundStringFlag DOCKER_IMAGE_REPO = defineStringFlag( "docker-image-repo", "", "Override default docker image repo. Docker image version will be Vespa version.", @@ -264,12 +270,6 @@ public class Flags { "Takes effect on redeploy", ZONE_ID, APPLICATION_ID); - public static final UnboundBooleanFlag ALLOW_DIRECT_ROUTING = defineFeatureFlag( - "publish-direct-routing-endpoint", true, - "Whether an application should receive a directly routed endpoint in its endpoint list", - "Takes effect immediately", - APPLICATION_ID); - public static final UnboundBooleanFlag NLB_PROXY_PROTOCOL = defineFeatureFlag( "nlb-proxy-protocol", false, "Configure NLB to use proxy protocol", @@ -351,6 +351,13 @@ public class Flags { "Takes effect on next internal redeployment", APPLICATION_ID); + public static final UnboundBooleanFlag USE_CONFIG_SERVER_LOCK = defineFeatureFlag( + "use-config-server-lock", + false, + "Whether the node-repository should take the same application lock as the config server when making changes to nodes", + "Takes effect on config server restart" + ); + /** WARNING: public for testing: All flags should be defined in {@link Flags}. */ public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, String description, String modificationEffect, FetchVector.Dimension... dimensions) { |