snowdrop-zen / quarkus

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

Build fails when defining property quarkus.kubernetes.pvc-volumes #381

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

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:

  1. run command: ./gradlew build

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$