Closed snowdrop-bot closed 3 years ago
Build fails when application.properties contains the property quarkus.kubernetes.pvc-volumes
build task should add the persistent volume claim info inside the kubernetes deploy script.
build fails with error java.lang.NoSuchMethodError: 'io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSourceFluent io.fabric8.kubernetes.api.model.VolumeFluent$PersistentVolumeClaimNested.withNewReadOnly(boolean)'
java.lang.NoSuchMethodError: 'io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSourceFluent io.fabric8.kubernetes.api.model.VolumeFluent$PersistentVolumeClaimNested.withNewReadOnly(boolean)'
https://github.com/iompo/quarkus-error-kubernetes-pvc
Steps to reproduce the behavior:
Quarkus 2.0.0 Gradle 6.8.3 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
https://github.com/quarkusio/quarkus/issues/18294
$upstream:18294$
Describe the bug
Build fails when application.properties contains the property quarkus.kubernetes.pvc-volumes
Expected behavior
build task should add the persistent volume claim info inside the kubernetes deploy script.
Actual behavior
build fails with error
java.lang.NoSuchMethodError: 'io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSourceFluent io.fabric8.kubernetes.api.model.VolumeFluent$PersistentVolumeClaimNested.withNewReadOnly(boolean)'
To Reproduce
https://github.com/iompo/quarkus-error-kubernetes-pvc
Steps to reproduce the behavior:
Environment:
Quarkus 2.0.0 Gradle 6.8.3 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
https://github.com/quarkusio/quarkus/issues/18294
$upstream:18294$