Before making a contribution to the charts in this repository, you will need to ensure the following steps have been done:
- Run
helm templateon the changes you're making to ensure they are correctly rendered into Kubernetes manifests. - Lint tests have been run for the Chart using the Chart Testing tool and the
ct lintcommand. - For each Chart updated, version bumped in the corresponding
Chart.yamlaccording to Semantic Versioning. - For each Chart updated, ensure variables are documented in the corresponding
values.yamlfile and the pre-commit hook has been run withpre-commit run --all-filesto generate the correspondingREADME.mddocumentation. The pre-commit Workflow will enforce this and warn you if needed. - JSON Schema template updated and re-generated the raw schema via the
pre-commithook. - If you updated the orchestrator-infra chart, make sure the versions of the Knative CRDs are aligned with the versions of the CRDs installed by the OpenShift Serverless operators declared in the values.yaml file. See Installing Knative Eventing and Knative Serving CRDs for more details.
The Lightspeed Core config files under charts/rhdh/files/intelligent-assistant are synced from the upstream redhat-developer/rhdh-intelligent-assistant-configs repository by hack/sync-lightspeed-configs.sh.
Use the default upstream branch:
./hack/sync-lightspeed-configs.shSync from a release branch or a tag:
./hack/sync-lightspeed-configs.sh --ref release-1.9
./hack/sync-lightspeed-configs.sh --ref v0.5.0Verify the vendored files are already in sync without writing changes:
./hack/sync-lightspeed-configs.sh --ref main --checkThe script copies the upstream lightspeed-stack.yaml and rhdh-profile.py files into charts/rhdh/files/intelligent-assistant. The RHDH chart does not vendor a Lightspeed Core secret.yaml; supply provider credentials with intelligentAssistant.existingSecret.
After syncing, preserve the chart-specific commented rag block and its OKP integration TODO in lightspeed-stack.yaml. This temporary downstream patch means --check reports a difference for that file.
Choose the upstream branch or tag that matches the Lightspeed Core release you want to vendor.