Skip to content

Comments

chore: upgrade ocm to 0.0.0-7e5db44#968

Open
nexus49 wants to merge 2 commits intomainfrom
chore/upgrade-ocm
Open

chore: upgrade ocm to 0.0.0-7e5db44#968
nexus49 wants to merge 2 commits intomainfrom
chore/upgrade-ocm

Conversation

@nexus49
Copy link
Contributor

@nexus49 nexus49 commented Jan 27, 2026

No description provided.

Signed-off-by: Bastian Echterhölter <bastian.echterhoelter@sap.com>
On-behalf-of: @SAP <bastian.echterhoelter@sap.com>
@Skarlso
Copy link

Skarlso commented Feb 2, 2026

Reproduced this locally.

@Skarlso
Copy link

Skarlso commented Feb 3, 2026

Copying in from the issue:

Finally figured this out after talking a bit more with Bastian and it became obvious to me that the image is set up such that old OCM was using some guess work to figure out that it was a docker repo.

The original opnefga was reconciled from https://hub.docker.com/layers/openfga/openfga/v1.11.2/images/sha256-dca767f21cbdf72fd7a8ec91b040c1844a4c2c4976d854e25e6c7204ac8f7f9c. And that's what's supposed to happen. So the "fix" is basically just making this imageReference here:

resource:
    access:
      imageReference: openfga/openfga:v1.11.2

explicit:

resource:
    access:
      imageReference: docker.io/openfga/openfga:v1.11.2

Also, optionally, if you would like to use the latest version of the controller, we switch the helm chart. So change local-setup/kustomize/base/ocm-k8s-toolkit/flux-sync.yaml to:

apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
  name: ocm-k8s-toolkit
  namespace: default
spec:
  interval: 1m
  url: https://github.com/open-component-model/open-component-model
  ref:
    commit: 2a57af1b9a829f8d563113fcc157e4afeb53561e
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: ocm-k8s-toolkit
  namespace: default
spec:
  interval: 1m
  targetNamespace: ocm-system
  chart:
    spec:
      chart: ./kubernetes/controller/chart
      sourceRef:
        kind: GitRepository
        name: ocm-k8s-toolkit
  values:
    manager:
      image:
        repository: ghcr.io/open-component-model/kubernetes/controller
        tag: "0.0.0-2a57af1"
      concurrency:
        resource: 21
      logging:
        level: "debug"
      healthProbe:
        bindAddress: ":8081"

And the version is 0.0.0-2a57af1 and the SHA is 2a57af1b9a829f8d563113fcc157e4afeb53561e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants