Skip to content

Commit f3fe64b

Browse files
committed
Kubernetes resource name no longer depends on container image name
1 parent 2ab9278 commit f3fe64b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

020-quarkus-http-non-application-endpoints/src/main/resources/application.properties

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
quarkus.container-image.group=qe
12
quarkus.container-image.name=demo
3+
quarkus.container-image.tag=1.0.0
24
quarkus.application.name=non-application endpoints
35
quarkus.http.root-path=/api
46
quarkus.http.non-application-root-path=/q

020-quarkus-http-non-application-endpoints/src/test/java/io/quarkus/qe/openshift/OpenShiftYamlHealthProbesIT.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ public void testOpenShiftYamlHealthProbesWithCustomImageName() throws FileNotFou
3737

3838
// finalMap.entrySet().forEach(System.out::println);
3939

40-
assertEquals("demo", finalMap.get("name"), "Deployment name is not expected 'demo'");
40+
assertEquals("non-application endpoints", finalMap.get("name"),
41+
"Deployment name is different than expected 'non-application endpoints'");
42+
assertEquals("qe/demo:1.0.0", finalMap.get("image"),
43+
"Deployment image is different than expected 'qe/demo:1.0.0'");
4144
assertTrue(finalMap.containsKey("livenessProbe"), "livenessProbe is not defined");
4245
assertTrue(finalMap.containsKey("readinessProbe"), "readinessProbe is not defined");
4346
}

0 commit comments

Comments
 (0)