You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT.
Version of Helm and Kubernetes:
$ helm version
version.BuildInfo{Version:"v3.11.0", GitCommit:"472c5736ab01133de504a826bd9ee12cbe4e7904", GitTreeState:"clean", GoVersion:"go1.18.10"}
Kubernetes version: 1.29
Which chart:
xray.
Which product license (Enterprise/Pro/oss):
Enterprise.
JFrog support reference (if already raised with support team):
Haven't raised.
What happened:
When attempting to install the xray chart when using custom volumes, I encountered the following error:
Error: INSTALLATION FAILED: YAML parse error on xray/templates/xray-statefulset.yaml: error converting YAML to JSON: yaml: line 475: did not find expected key
What you expected to happen:
I expected the following output:
NAME: xray
LAST DEPLOYED: Mon Jul 1 16:51:42 2024
NAMESPACE: jfrog
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Congratulations! JFrog Xray services are deployed!
How to reproduce it (as minimally and precisely as possible):
Create EKS cluster with secrets-store CSI driver.
Create secret containing the trusted certificate for RDS.
NOTE: We use RDS in our deployment, but any additional volume mount will cause the xray deployment to fail.
This seems to have been fixed according to the CHANGELOG.md for xray chart; however, I am running into the same issue when using the jfrog-platform chart version 10.19.6 which uses xray chart 103.104.17 (see Chart.yaml).
Is this a request for help?:
Yes, I will submit a PR shortly.
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT.
Version of Helm and Kubernetes:
Kubernetes version: 1.29
Which chart:
xray.
Which product license (Enterprise/Pro/oss):
Enterprise.
JFrog support reference (if already raised with support team):
Haven't raised.
What happened:
When attempting to install the
xray
chart when using custom volumes, I encountered the following error:What you expected to happen:
I expected the following output:
How to reproduce it (as minimally and precisely as possible):
Create EKS cluster with secrets-store CSI driver.
Create secret containing the trusted certificate for RDS.
NOTE: We use RDS in our deployment, but any additional volume mount will cause the xray deployment to fail.
Create
values.yaml
file.Install
xray
.Anything else we need to know:
I've narrowed down the issue to Line 1039 in
xray-statefulset.yaml
. The initial volume mount is out of alignment compared to the custom volume mounts.To identify that formatting error:
Debug the xray chart output.
$ helm template xray jfrog/xray -f values.yaml -f sizing/xray-xsmall.yaml --debug > output.yaml
Run
yamllint
against the outputted YAML file.Show the error.
Recommended change:
Original
Fixed
The text was updated successfully, but these errors were encountered: