Describe the bug
The files generated by the openshift extension is not compliant to the new knative protocol
Expected behavior
Generate files compliant with the protocol including renaming standard 8080 ports from http to http1 or h2c and remove ports from liveness and readiness probes. For reference [1]
Look at the generated file: ./target/kubernetes/knative.yml
Configuration
# Add your application.properties here, if applicable.
quarkus.knative.containers.quickstart-knative.ports.http1.container-port=8080
quarkus.openshift.containers.quickstart-knative.ports.http1.container-port=8080
Screenshots
N/A
Environment (please complete the following information):
Output of uname -a or ver: Linux mohashi-pro.local 5.5.15-200.fc31.x86_64 #1 SMP Thu Apr 2 19:16:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version: openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
GraalVM version (if different from Java):
Quarkus version or git rev: 1.3.2.Final
Build tool (ie. output of mvnw --version or gradlew --version): Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Describe the bug The files generated by the openshift extension is not compliant to the new knative protocol
Expected behavior Generate files compliant with the protocol including renaming standard 8080 ports from http to http1 or h2c and remove ports from liveness and readiness probes. For reference [1]
And this is the resulting
yaml
file:[1] https://github.com/knative/serving/blob/master/docs/runtime-contract.md#protocols-and-ports
Actual behavior The extension is generating the following
yaml
To Reproduce Steps to reproduce the behavior:
Configuration
Screenshots N/A
Environment (please complete the following information):
uname -a
orver
: Linux mohashi-pro.local 5.5.15-200.fc31.x86_64 #1 SMP Thu Apr 2 19:16:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linuxjava -version
: openjdk version "1.8.0_242" OpenJDK Runtime Environment (build 1.8.0_242-b08) OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)mvnw --version
orgradlew --version
): Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)Additional context N/A
https://github.com/quarkusio/quarkus/issues/8659
$upstream:8659$