summaryrefslogtreecommitdiffstats
path: root/config-model-api/src
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2022-03-15 10:53:00 +0100
committerHarald Musum <musum@yahooinc.com>2022-03-15 10:53:00 +0100
commit31ce004fc2092e5d3dac251f595a66bba0dd140e (patch)
tree9370193d25f6cff2ceda6e7a4e11200dc939b4e4 /config-model-api/src
parentd6f599c41830a79614197158b13cdfb86e3b9777 (diff)
Add feature flag for node architecture for admin clusters
Flag value will be used for implicitly created nodes in admin clusters (cluster controllers only for now)
Diffstat (limited to 'config-model-api/src')
-rw-r--r--config-model-api/src/main/java/com/yahoo/config/model/api/ModelContext.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/config-model-api/src/main/java/com/yahoo/config/model/api/ModelContext.java b/config-model-api/src/main/java/com/yahoo/config/model/api/ModelContext.java
index 956ba2fdcf7..e3446002888 100644
--- a/config-model-api/src/main/java/com/yahoo/config/model/api/ModelContext.java
+++ b/config-model-api/src/main/java/com/yahoo/config/model/api/ModelContext.java
@@ -118,6 +118,7 @@ public interface ModelContext {
@ModelFeatureFlag(owners = {"arnej"}) default boolean avoidRenamingSummaryFeatures() { return false; }
@ModelFeatureFlag(owners = {"bjorncs", "baldersheim"}) default boolean mergeGroupingResultInSearchInvoker() { return false; }
@ModelFeatureFlag(owners = {"arnej"}) default boolean experimentalSdParsing() { return false; }
+ @ModelFeatureFlag(owners = {"hmusum"}) default String adminClusterNodeArchitecture() { return "x86_64"; } // TODO: Cluster controllers only for now
}
/** Warning: As elsewhere in this package, do not make backwards incompatible changes that will break old config models! */