summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorMorten Tokle <mortent@verizonmedia.com>2020-04-22 09:01:09 +0200
committerMorten Tokle <mortent@verizonmedia.com>2020-04-22 09:32:43 +0200
commit68762b3f1dfbf94063f8206a281e6eab5b055274 (patch)
treefd53714d6e58e343f92b0a6071f233733f2f1975 /flags
parent693c666d37d1edb50759dde4d06c4833ebb00386 (diff)
Create flag for rolling out nlb proxy protocol
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java9
1 files changed, 8 insertions, 1 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 779d4e80056..76206996207 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -241,7 +241,14 @@ public class Flags {
public static final UnboundBooleanFlag NGINX_UPSTREAM_PROXY_PROTOCOL = defineFeatureFlag(
"nginx-upstream-proxy-protocol", false,
"Whether the nginx should enable proxy-protocol for all upstreams",
- "Takes effect immediately");
+ "Takes effect immediately",
+ ZONE_ID, APPLICATION_ID);
+
+ public static final UnboundBooleanFlag NLB_PROXY_PROTOCOL = defineFeatureFlag(
+ "nlb-proxy-protocol", false,
+ "Configure NLB to use proxy protocol",
+ "Takes effect on next application redeploy",
+ APPLICATION_ID);
/** WARNING: public for testing: All flags should be defined in {@link Flags}. */
public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, String description,