summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorMorten Tokle <mortent@verizonmedia.com>2021-08-12 15:00:29 +0200
committerMorten Tokle <mortent@verizonmedia.com>2021-08-12 15:00:29 +0200
commita1192a089a9eba0d995af5276d5976fc0c9f617e (patch)
tree37c4c093b0547e727b6eeaf7af9d9989cb5a857f /flags
parent8a3e08ba7291a512f028f973899666f9404350dd (diff)
Add flag for using separate roles
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/Flags.java7
1 files changed, 7 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 ffc903a309d..82b15a70ea9 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/Flags.java
@@ -14,6 +14,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.TENANT_ID;
import static com.yahoo.vespa.flags.FetchVector.Dimension.VESPA_VERSION;
import static com.yahoo.vespa.flags.FetchVector.Dimension.ZONE_ID;
@@ -267,6 +268,12 @@ public class Flags {
"Apis allowed to proxy through the service view api",
"Takes effect immediately");
+ public static final UnboundBooleanFlag SEPARATE_TENANT_IAM_ROLES = defineFeatureFlag(
+ "separate-tenant-iam-roles", false,
+ List.of("mortent"), "2021-08-12", "2021-11-01",
+ "Create separate iam roles for tenant",
+ "Takes effect on redeploy",
+ TENANT_ID);
/** WARNING: public for testing: All flags should be defined in {@link Flags}. */
public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, List<String> owners,