summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorMorten Tokle <mortent@verizonmedia.com>2021-08-13 08:23:14 +0200
committerGitHub <noreply@github.com>2021-08-13 08:23:14 +0200
commitf9f97c0e1f02c9a17976ce89da778e63e02459de (patch)
tree9968ca5917331ed20387c000ce719550e195ae7e /flags
parentb4da7cb8d014b86dd218e7aa2574d7aeb9d84130 (diff)
parenta1192a089a9eba0d995af5276d5976fc0c9f617e (diff)
Merge pull request #18728 from vespa-engine/mortent/use-separate-tenant-athenz-roles
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 3bd8e686da4..dcbc2db29d0 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,