Skip to content

Commit

Permalink
Apply formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
mcruzdev committed Oct 4, 2024
1 parent b5232a4 commit 60bec76
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class KubernetesWithKindIngress {
.setApplicationName("kind-ingress")
.setApplicationVersion("0.1-SNAPSHOT")
.setLogFileName("k8s.log")
// Configuration provided by issue: https://github.com/quarkusio/quarkus/issues/42294
// Configuration provided by issue: https://github.com/quarkusio/quarkus/issues/42294
.overrideConfigKey("quarkus.kubernetes.ingress.expose", "true")
.overrideConfigKey("quarkus.kubernetes.ingress.annotations.\"nginx.ingress.kubernetes.io/rewrite-target\"", "/$2")
.overrideConfigKey("quarkus.kubernetes.ingress.rules.1.host", LOCALHOST)
Expand Down Expand Up @@ -78,8 +78,10 @@ void shouldCreateKindResourcesWithIngressAnnotationsCorrectly() throws IOExcepti

softly.assertThat(path.getPathType()).isEqualTo("ImplementationSpecific");
softly.assertThat(path.getPath()).isEqualTo("/game(/|$)(.*)");
softly.assertThat(path.getBackend().getService().getPort().getName()).isEqualTo("http");
softly.assertThat(path.getBackend().getService().getName()).isEqualTo("kind-ingress");
softly.assertThat(path.getBackend().getService().getPort().getName())
.isEqualTo("http");
softly.assertThat(path.getBackend().getService().getName())
.isEqualTo("kind-ingress");

});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class KubernetesWithMinikubeIngress {
.setApplicationName("kind-ingress")
.setApplicationVersion("0.1-SNAPSHOT")
.setLogFileName("k8s.log")
// Configuration provided by issue: https://github.com/quarkusio/quarkus/issues/42294
// Configuration provided by issue: https://github.com/quarkusio/quarkus/issues/42294
.overrideConfigKey("quarkus.kubernetes.ingress.expose", "true")
.overrideConfigKey("quarkus.kubernetes.ingress.annotations.\"nginx.ingress.kubernetes.io/rewrite-target\"", "/$2")
.overrideConfigKey("quarkus.kubernetes.ingress.rules.1.host", LOCALHOST)
Expand Down Expand Up @@ -78,8 +78,10 @@ void shouldCreateKindResourcesWithIngressAnnotationsCorrectly() throws IOExcepti

softly.assertThat(path.getPathType()).isEqualTo("ImplementationSpecific");
softly.assertThat(path.getPath()).isEqualTo("/game(/|$)(.*)");
softly.assertThat(path.getBackend().getService().getPort().getName()).isEqualTo("http");
softly.assertThat(path.getBackend().getService().getName()).isEqualTo("kind-ingress");
softly.assertThat(path.getBackend().getService().getPort().getName())
.isEqualTo("http");
softly.assertThat(path.getBackend().getService().getName())
.isEqualTo("kind-ingress");

});
});
Expand Down

0 comments on commit 60bec76

Please sign in to comment.