aboutsummaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@oath.com>2019-01-15 11:17:23 +0100
committerBjørn Christian Seime <bjorncs@oath.com>2019-01-15 11:18:19 +0100
commit6f96e28520ea01645c2999c0e4d926ad593ff2b7 (patch)
tree961bfd1d114a68e4f7ac314eb16d66e28908a6ac /flags
parenta15edd8e33143960b390dfc7f700983b296ff4a2 (diff)
Introduce feature flags for the 'tls-insecure' configuration
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java13
1 files changed, 13 insertions, 0 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 64112a29a59..9cbd81e4825 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -10,6 +10,7 @@ import java.util.TreeMap;
import static com.yahoo.vespa.flags.FetchVector.Dimension.APPLICATION_ID;
import static com.yahoo.vespa.flags.FetchVector.Dimension.HOSTNAME;
+import static com.yahoo.vespa.flags.FetchVector.Dimension.ZONE_ID;
/**
* @author hakonhall
@@ -51,6 +52,18 @@ public class Flags {
"Takes effect on next node agent tick. Change is orchestrated, but does NOT require container restart",
HOSTNAME, APPLICATION_ID);
+ public static final UnboundStringFlag TLS_INSECURE_MIXED_MODE = defineStringFlag(
+ "tls-insecure-mixed-mode", "plaintext_client_mixed_server",
+ "TLS insecure mixed mode",
+ "Takes effect on restart of Docker container",
+ ZONE_ID, APPLICATION_ID, HOSTNAME);
+
+ public static final UnboundStringFlag TLS_INSECURE_AUTHORIZATION_MODE = defineStringFlag(
+ "tls-insecure-authorization-mode", "log_only",
+ "TLS insecure authorization mode",
+ "Takes effect on restart of Docker container",
+ ZONE_ID, APPLICATION_ID, HOSTNAME);
+
/** 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) {