Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-software-pl committed Jan 20, 2025
1 parent 0f685a1 commit f31b6bf
Showing 1 changed file with 23 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,39 +135,35 @@ class K8sDeploymentManagerKafkaTest

test("should deploy scenario with env, resources and replicas count from k8sDeploymentConfig") {
val runtimeContainerConfig = baseRuntimeContainerConfig
.withValue(
"env",
fromIterable(
List(
fromMap(
Map(
"name" -> "ENV_VARIABLE",
"value" -> "VALUE"
).asJava
)
).asJava
)
)
.withValue(
"resources",
fromMap(
Map(
"requests" -> fromMap(Map("memory" -> "256Mi", "cpu" -> "800m").asJava),
"limits" -> fromMap(Map("memory" -> "256Mi", "cpu" -> "800m").asJava)
).asJava
)
)
// .withValue(
// "env",
// fromIterable(
// List(
// fromMap(
// Map(
// "name" -> "ENV_VARIABLE",
// "value" -> "VALUE"
// ).asJava
// )
// ).asJava
// )
// )
// .withValue(
// "resources",
// fromMap(
// Map(
// "requests" -> fromMap(Map("memory" -> "256Mi", "cpu" -> "800m").asJava),
// "limits" -> fromMap(Map("memory" -> "256Mi", "cpu" -> "800m").asJava)
// ).asJava
// )
// )
.root()
val f = createKafkaFixture(
deployConfig = kafkaDeployConfig
// .withValue("k8sDeploymentConfig.spec.replicas", fromAnyRef(3))
.withValue(
"k8sDeploymentConfig.spec.template.spec.containers",
fromIterable(
List(
runtimeContainerConfig
).asJava
)
fromIterable(List(runtimeContainerConfig).asJava)
)
)
f.withRunningScenario {
Expand Down

0 comments on commit f31b6bf

Please sign in to comment.