-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Knative deployments do not generate proper volume mounts for secrets volumes #12121
Comments
cc @iocanel |
Hi same issue for me the following: quarkus.knative.mounts.user-cert.path=/deployments/certs/user Does not generate the volumes statements in the knative.yaml but quarkus.openshift.mounts.es-cert.path=/deployments/certs/server Thank you |
This somehow slipped my attention. I'll have a look shortly |
It's a logical bug. All our existing volume decorators operate on |
Describe the bug
When deploying as a knative service, the kubernetes/openshift extension does not generate secrets volume mounts properly.
Expected behavior
The declared secrets are mounted in the container running as a knative service
Actual behavior
To Reproduce
Steps to reproduce the behavior:
application.properties
:Along with other necessary bits to deploy a Quarkus app as a knative service
mvn clean package -Pnative -DskipTests
target/kubernetes/knative.yml
show that the volume mount is properly declared:**But there is no corresponding
volume:
declared on theService
object. **When deploying as a regular non-knative deployment I do see the volume in
openshift.yml
:Configuration
Environment (please complete the following information):
uname -a
orver
:Darwin jfalkner-OSX 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64
java -version
:using Mandrel
Quarkus version or git rev:
1.8.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
):The text was updated successfully, but these errors were encountered: