You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the quarkus-kubernetes extension and quarkus.kubernetes.deployment-target=knative, the generated manifest cannot be applied to an Openshift Cluster with Openshift Serverless installed.
Expected behavior
The auto-generated manifests work OOTB on Openshift Serverless
Actual behavior
When applying the manifests as produced by the Kubernetes extension, we get:
Error from server (BadRequest): error when creating "target/kubernetes/knative.json": admission webhook "validation.webhook.serving.knative.dev" denied the request: validation failed: Port name http is not allowed: spec.template.spec.containers[0].ports
Name must be empty, or one of: 'h2c', 'http1'
However, if we remove the ports section inside the container, the manifest gets applied properly.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the
quarkus-kubernetes
extension andquarkus.kubernetes.deployment-target=knative
, the generated manifest cannot be applied to an Openshift Cluster with Openshift Serverless installed.Expected behavior
The auto-generated manifests work OOTB on Openshift Serverless
Actual behavior
When applying the manifests as produced by the Kubernetes extension, we get:
However, if we remove the
ports
section inside thecontainer
, the manifest gets applied properly.The text was updated successfully, but these errors were encountered: