jfrog / charts

JFrog official Helm Charts
https://jfrog.com/integration/helm-repository/
Apache License 2.0
254 stars 439 forks source link

[Artifactory-HA] Metadata service does not respect customVolumeMounts for DB CAs #1815

Closed Atchuu closed 11 months ago

Atchuu commented 12 months ago

Is this a request for help?: No


Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug

Version of Helm and Kubernetes:

Helm 3.11.0 / Kubernetes 1.24.9

Which chart:

Artifactory-HA 107.63.14

Which product license (Enterprise/Pro/oss):

Enterprise

JFrog support reference (if already raised with support team):

What happened:

It appears the metadata container within the primary statefulset makes a connection to the database but does not support customVolumeMounts for when a Database's CA is needed, nor does there appear to be any other way to get the Database's CA into that container.

What you expected to happen:

The metadata container should respect the customVolumeMounts variable so that a trusted database Certificate Authorities (CA) can be set when making it's database connection

How to reproduce it (as minimally and precisely as possible):

Could not initialize database (db config: ...snip... : Failed to configure TLS (unable to read CA file: open /tmp/mydbca.crt: no such file or directory)

Anything else we need to know:

Opinion: There should be little to no harm in adding customVolumeMounts support to every container within the various pods specs, whether they utilize this mount point or not

Logeshwarsn commented 11 months ago

@Atchuu Thanks for reporting this issue. Currently we are working on this issue , and will update you soon.

Logeshwarsn commented 11 months ago

@Atchuu We have released a new version of artifactory chart. Could you please test it and send us feedback ?