Configuring JFrog Catalog Central for the First Time in helm insallation

CURATION: How to enable curation for self-hosted with Helm installation

AuthorFullName__c
Shashwath Rai
articleNumber
000006156
ft:sourceType
Salesforce
FirstPublishedDate
2024-07-21T08:22:29Z
lastModifiedDate
2024-07-21
VersionNumber
2
We need to make configuration changes in the Xray system.yaml file. Hence we override the existing system.yaml in the values.yaml file. Adding the steps below to achieve the same.

1. Exec into the Xray pod using the below command and copy the system.yaml file.
kubectl exec -it <pod-name>  -n  <namespace>  bash -c xray-server

2. Create an external system.yaml file locally and add the complete content copied in the previous step ( adding sample from my local) and add the catalog section mentioned below. Rename the filename to - xray-cus-sy.yaml
configVersion: 1
shared:
    logging:
        consoleLog:
            enabled: true
    jfrogUrl: "http://artifactory-artifactory.rt:8082"
    database:
        type: "postgresql"
        driver: "org.postgresql.Driver"
        username: "xray"
        url: "postgres://xray-postgresql:5432/xraydb?sslmode=disable"
catalog:
  enabled: true
  central:
    enabled: true
    url: https://jfrogxraycatalog.jfrog.io/xray
    username: <USERNAME>
    password: <PASSWORD>

3. Create a Kubernetes secret for the updates system.yaml file with new file created
kubectl create secret generic sy --from-file ./xray-cus-sy.yaml

4. Now, pass that secret in the values.yaml under the systemYamlOverride section.
systemYamlOverride:
  existingSecret: sy
  dataKey: xray-cus-sy.yaml

5. Perfrom the helm upgrade. The new system.yaml file in the server container should have catalog configuration.
6. Validate the Catalog and curation from UI.