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 ``` 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