quarkus: Quarkus kubernetes sidecars configs do not work

Describe the bug Hi,

I am trying to generate sidecar configs using quarkus application.properties. I have below in my application.properties.

quarkus.kubernetes.sidecars.abc.image=def/abc quarkus.kubernetes.sidecars.abc.ports[0].containerPort=3000 quarkus.kubernetes.sidecars.abc.arguments[0]=–config=/etc/abc/abc.conf quarkus.kubernetes.sidecars.abc.mount[0].path=/etc/abc

It is supposed to configure abc sidecontainer in kubernetes.yml. But it is not. Main app container is correctly there along with other manifests (e.g. Service, ServiceAccount etc.) in the kubernetes.yml Is there any issue with my properties? or it is not supported in Quarkus.

Reference: https://quarkus.io/guides/deploying-to-kubernetes

Expected behavior Sidecar container should be created in kubernetes.yml

Actual behavior No sidecar container is created in kubernetes.yml

To Reproduce Steps to reproduce the behavior:

  1. Copy below configs in application.properties of a quarkus kubernetes project

quarkus.kubernetes.sidecars.abc.image=def/abc quarkus.kubernetes.sidecars.abc.ports[0].containerPort=3000 quarkus.kubernetes.sidecars.abc.arguments[0]=–config=/etc/abc/abc.conf quarkus.kubernetes.sidecars.abc.mount[0].path=/etc/abc

2.Build the project

Configuration


quarkus.kubernetes.sidecars.abc.image=def/abc
quarkus.kubernetes.sidecars.abc.ports[0].containerPort=3000
quarkus.kubernetes.sidecars.abc.arguments[0]=--config=/etc/abc/abc.conf
quarkus.kubernetes.sidecars.abc.mount[0].path=/etc/abc

Screenshots (If applicable, add screenshots to help explain your problem.)

Environment (please complete the following information):

  • Output of uname -a or ver:
  • Output of java -version:
  • GraalVM version (if different from Java):
  • Quarkus version or git rev:
  • Build tool (ie. output of mvnw --version or gradlew --version):

Additional context (Add any other context about the problem here.)

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Should be early August if all goes well

On Fri, Jun 26, 2020, 22:39 vishalgoel1988 notifications@github.com wrote:

Ok. Is there any expected release date for 1.7?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quarkusio/quarkus/issues/10308#issuecomment-650362159, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBMDP273HLZGTQFP2P7OKLRYT2O7ANCNFSM4OJM3VQQ .

Ok.

Is it possible to have it in next release. This is quite helpful.