Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 12 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,18 @@ Create an OCM configuration file for accessing the component registry:
# Create the OCM config with your GitHub credentials
cat <<EOF > .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: <your-github-username>
password: <your-github-token>
- identity:
type: OCIRepository
hostname: ghcr.io
credentials:
- type: Credentials
properties:
username: <your-github-username>
password: <your-github-token>
configurations:
- type: credentials.config.ocm.software
consumers:
- identities:
- type: OCIRegistry
hostname: ghcr.io
path: openmcp-project/*
credentials:
- type: Credentials
properties:
username: <your-github-username>
password: <your-github-token>
EOF
```

Expand Down
17 changes: 4 additions & 13 deletions test/e2e/platform/ocm/ocm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down