Skip to content

Commit

Permalink
fix: init revisionAnnotation in KubernetesJsonSupport in native spec (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-alfers authored Aug 8, 2024
1 parent b0b2e1b commit 2e9502c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion native-image-tests/src/main/scala/com/lightbend/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2e9502c

Please sign in to comment.