snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Generated Openshift manifest contains cp argument with all dependencies when uber-jar packaging is used #260

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Describe the bug When uber-jar packaging is selected then the generated openshift manifest contains in the cp argument list of nonexisting files /deployments/lib/* like in the legacy-jar packaging case.

Expected behavior cp argument with list of dependencies is not part of the arguments when uber-jar packaging is active.

To Reproduce 'mvn clean package` on a Quarkus project where uber-jar packaking is selected then check the generated Openshift Manifests in target/kubernetes/openshift.(yml|json).

Configuration

config_suffix=-t

quarkus.package.type=uber-jar

quarkus.application.name=application-name${config_suffix}

quarkus.kubernetes.deployment-target=openshift
quarkus.openshift.env.configmaps=config-map${config_suffix}
quarkus.openshift.env.secrets=truststore-password,keystore-passwords
quarkus.openshift.mounts.keystore.path=/mnt/keystore
quarkus.openshift.mounts.truststore.path=/mnt/truststore
quarkus.openshift.secret-volumes.truststore.secret-name=some-truststore
quarkus.openshift.secret-volumes.keystore.secret-name=keystore
quarkus.openshift.service-account=default

quarkus.openshift.resources.requests.memory=100Mi
quarkus.openshift.resources.requests.cpu=50m
quarkus.openshift.resources.limits.memory=250Mi
quarkus.openshift.resources.limits.cpu=100m

Environment (please complete the following information):


https://github.com/quarkusio/quarkus/issues/14844


$upstream:14844$