feat: add runtimeType and customArgs to ResolvedContainerConfig and ConfigMerger
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -30,7 +30,9 @@ public final class ConfigMerger {
|
|||||||
intVal(appConfig, envConfig, "replicas", 1),
|
intVal(appConfig, envConfig, "replicas", 1),
|
||||||
stringVal(appConfig, envConfig, "deploymentStrategy", "blue-green"),
|
stringVal(appConfig, envConfig, "deploymentStrategy", "blue-green"),
|
||||||
boolVal(appConfig, envConfig, "routeControlEnabled", true),
|
boolVal(appConfig, envConfig, "routeControlEnabled", true),
|
||||||
boolVal(appConfig, envConfig, "replayEnabled", true)
|
boolVal(appConfig, envConfig, "replayEnabled", true),
|
||||||
|
stringVal(appConfig, envConfig, "runtimeType", "auto"),
|
||||||
|
stringVal(appConfig, envConfig, "customArgs", "")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,9 @@ public record ResolvedContainerConfig(
|
|||||||
int replicas,
|
int replicas,
|
||||||
String deploymentStrategy,
|
String deploymentStrategy,
|
||||||
boolean routeControlEnabled,
|
boolean routeControlEnabled,
|
||||||
boolean replayEnabled
|
boolean replayEnabled,
|
||||||
|
String runtimeType,
|
||||||
|
String customArgs
|
||||||
) {
|
) {
|
||||||
public long memoryLimitBytes() {
|
public long memoryLimitBytes() {
|
||||||
return (long) memoryLimitMb * 1024 * 1024;
|
return (long) memoryLimitMb * 1024 * 1024;
|
||||||
|
|||||||
Reference in New Issue
Block a user