-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Summary
Upgrade the OCM (Open Component Model) K8s Toolkit to the latest version and migrate from the current Kustomize-based deployment to the official Helm chart.
Current State
- OCM K8s Toolkit: Deployed via GitRepository/Kustomization pointing to commit
0c8ad3c6f96172bd0b7c3e5385c4f859ad4e7043 - Controller Image:
ghcr.io/open-component-model/kubernetes/controller@sha256:5e790dad020adcfd0793f249d177a28429ef22446def39c9286eab90c52175c1 - Deployment Method: Flux GitRepository + Kustomization in
local-setup/kustomize/base/ocm-k8s-toolkit/flux-sync.yaml
Tasks
1. Migrate to Official OCM Helm Chart
- Replace the GitRepository/Kustomization deployment with the official Helm chart: https://github.com/open-component-model/open-component-model/pkgs/container/charts%2Focm-k8s-toolkit
- Create a HelmRepository resource pointing to
oci://ghcr.io/open-component-model/charts - Create a HelmRelease resource for
ocm-k8s-toolkit - Migrate custom patches from
local-setup/kustomize/overlays/ocm-prerelease/ocm-k8s-toolkit-patch.yaml:- Custom CA certificate mounting
- SSL_CERT_FILE environment variable
- Controller concurrency settings
- Update
local-setup/kustomize/overlays/default/kustomization.yamlto use new Helm-based deployment - Update prerelease overlay accordingly
2. Configure Renovate for OCM K8s Toolkit Updates
Current renovate.json only tracks the platform-mesh component version. Add:
- Add custom manager for OCM Helm chart version in the new HelmRelease
3. Testing
- Run
task local-setupand verify OCM controller deploys correctly - Run
task local-setup:prereleaseand verify prerelease workflow still works - Verify OCM Component/Repository/Resource reconciliation works
- Test component transfer and deployment flow
Files to Modify
| File | Change |
|---|---|
local-setup/kustomize/base/ocm-k8s-toolkit/flux-sync.yaml |
Replace with HelmRepository + HelmRelease |
local-setup/kustomize/overlays/ocm-prerelease/ocm-k8s-toolkit-patch.yaml |
Migrate to Helm values |
renovate.json |
Add manager for Helm chart version |
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress