From 392df1ee69106346f2078a2ea23435143cdba586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCnemann?= Date: Mon, 23 Mar 2026 12:42:06 +0100 Subject: [PATCH 1/2] chore: migrate ocm legacy credentials --- test/e2e/platform/ocm/ocm.yaml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/test/e2e/platform/ocm/ocm.yaml b/test/e2e/platform/ocm/ocm.yaml index db05852..b70daf2 100644 --- a/test/e2e/platform/ocm/ocm.yaml +++ b/test/e2e/platform/ocm/ocm.yaml @@ -9,24 +9,15 @@ stringData: configurations: - type: credentials.config.ocm.software consumers: - - identity: - type: OCIRepository - scheme: https - hostname: ghcr.io + - identities: + - type: OCIRegistry + hostname: ghcr.io + path: openmcp-project/* credentials: - type: Credentials properties: username: {{.GITHUB_USERNAME}} password: {{.GITHUB_TOKEN}} - - identity: - type: OCIRepository - hostname: ghcr.io - credentials: - - type: Credentials - properties: - username: {{.GITHUB_USERNAME}} - password: {{.GITHUB_TOKEN}} - --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole From c0988a6d75215ee73e80125fe3a137c5edab739b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCnemann?= Date: Mon, 23 Mar 2026 12:51:11 +0100 Subject: [PATCH 2/2] update readme --- README.md | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 323ef2f..ca4a8b8 100644 --- a/README.md +++ b/README.md @@ -37,26 +37,18 @@ Create an OCM configuration file for accessing the component registry: # Create the OCM config with your GitHub credentials cat < .ocmconfig type: generic.config.ocm.software/v1 -configurations: - - type: credentials.config.ocm.software - consumers: - - identity: - type: OCIRepository - scheme: https - hostname: ghcr.io - credentials: - - type: Credentials - properties: - username: - password: - - identity: - type: OCIRepository - hostname: ghcr.io - credentials: - - type: Credentials - properties: - username: - password: + configurations: + - type: credentials.config.ocm.software + consumers: + - identities: + - type: OCIRegistry + hostname: ghcr.io + path: openmcp-project/* + credentials: + - type: Credentials + properties: + username: + password: EOF ```