diff --git a/native-image-tests/src/main/scala/com/lightbend/Main.scala b/native-image-tests/src/main/scala/com/lightbend/Main.scala index 637e5b82..59f85cda 100644 --- a/native-image-tests/src/main/scala/com/lightbend/Main.scala +++ b/native-image-tests/src/main/scala/com/lightbend/Main.scala @@ -30,7 +30,9 @@ object RootBehavior { def checkK8RollingUpdate(system: ActorSystem[_]): Unit = { // this throws if not all spray-json metadata in place - new akka.rollingupdate.kubernetes.KubernetesJsonSupport {} + new akka.rollingupdate.kubernetes.KubernetesJsonSupport { + override val revisionAnnotation = "deployment.kubernetes.io/revision" + } val extensionClazzName = system.settings.config.getString("pod-cost-class") system.dynamicAccess.getObjectFor[ExtensionId[_]](extensionClazzName).get }