Closed evannorstrand closed 4 years ago
@chukka @eldada
https://github.com/jfrog/charts/commit/0d1d87c729b286d25749df1eddc10df233691425
This commit broke the custom volume mounts as a whole.
My recommendation is to remove the logic from indexer and server completely, and move it to the router.
Another comment, to avoid breaking deployments that are using the server custom mounts, you'll need to leave the value as server.CustomVolumes
My Manual fix was to edit the deployment after it was released via helm, and mount the ca into the router directly. A similar fix in the yaml should resolve this ticket.
@evannorstrand Sorry for delayed response .
Can you please share the following things to investigate further
Fresh install
@evannorstrand We understand this is a breaking change. We thought about it and decided to move in this direction .
For 3.x to 3.x (breaking ) upgrades :
Please run kubectl delete statefulsets <old_statefulset_xray_name>
and run helm upgrade
I'm marking this issue as closed. Feel free to reopen if it doesn't work
Chukka, this is an issue that MULTIPLE of your clients are having. Deleting and reinstalling won't fix the problem.
It's an issue with the logic of the helm charts.
@evannorstrand Fix for broken customvolumeMounts has been released in latest chart version xray-3.4.1
Background: I had a need many months ago for custom CA certs to be added to the xray deployment, made the proper changes, and PR'd them into master.
We just made the upgrade to XRAY 3.x and the fixes we put in place are no long working as intended.
server:
Set up your volume to the CA config map
customVolumes: |
Mount the volume to the certs directory using the subPath method
customVolumeMounts: |
indexer:
Set up your volume to the CA config map
customVolumes: |
Mount the volume to the certs directory using the subPath method
customVolumeMounts: |
The above code originally mounted the custom CA into both the indexer and the server. The above logic has been replaced with just
server:
Set up your volume to the CA config map
customVolumes: |
Mount the volume to the certs directory using the subPath method
customVolumeMounts: |
This is not sufficient with the addition of the router pod.
As this code was working, I am leaving this as a bug report, with the expectation of a fix being implemented in a future release. I am also submitting a ticket to associate this request with my enterprise license.