You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Example for a signed component descriptor containing three resources and one referencemeta:
configuredSchemaVersion: v2# schema version component:
name: github.com/open-component-model/ocmechoserver # name of this componentversion: 0.1.0-dev # version of this componentprovider: # provider of this componentname: open-component-modelrepositoryContexts: # origin of this document
- baseUrl: ghcr.iocomponentNameMapping: urlPathsubPath: jensh007/ctftype: OCIRegistrycomponentReferences: # components referenced by this component
- componentName: github.com/mandelsoft/ocmhelminstaller # name of referenced componentname: installer # name of reference in this component descriptorversion: 0.1.0-dev # version of referenced componentdigest: # digest used for signing this referenced componenthashAlgorithm: sha256normalisationAlgorithm: jsonNormalisation/v1value: d1871d98a6b9ec11b562895efccdcb8b8f87d8dcb81eabc40cad4d9b68f0ea36resources: # resources making this component
- name: image # name of this resourceversion: "1.0"# version of this resourcetype: ociImage # type of the resource (here indicating a container image)relation: external # resource is provided by a different entity than the componentaccess: # access information how to locate this resourceimageReference: gcr.io/google_containers/echoserver:1.10type: ociArtifactdigest: # digest of this resource used for signinghashAlgorithm: sha256normalisationAlgorithm: ociArtifactDigest/v1value: cb5c1bddd1b5665e1867a7fa1b5fa843a47ee433bbb75d4293888b71def53229
- name: chart # name of this resourceversion: 0.1.0-dev # version of this resourcetype: helmChart # type of the resource (here indicating a helm chart)relation: local # resource is provided by the same entity as the componentaccess: # access information how to locate this resourceimageReference: ghcr.io/jensh007/ctf/github.com/open-component-model/ocmechoserver/echoserver:0.1.0type: ociArtifactdigest: # digest of this resource used for signinghashAlgorithm: sha256normalisationAlgorithm: ociArtifactDigest/v1value: 385531bf40fc2b93e1693c0270250deb8da488a8f6f8dcaa79b0ab2bf1041c0b
- name: package # name of this resourceversion: 0.1.0-dev # version of this resourcetype: toiPackage # type of the resource (here indicating a custom tyoe)relation: local # resource is provided by the same entity as the componentaccess: # access information how to locate this resourceglobalAccess:
digest: sha256:57563cb451bb79eb1c4bf0e71c66fdad1daf44fe55e128f12eae5f7e5496a188mediaType: application/vnd.toi.ocm.software.package.v1+yamlref: ghcr.io/jensh007/ctf/component-descriptors/github.com/open-component-model/ocmechoserversize: 615type: ociBloblocalReference: sha256:57563cb451bb79eb1c4bf0e71c66fdad1daf44fe55e128f12eae5f7e5496a188mediaType: application/vnd.toi.ocm.software.package.v1+yamltype: localBloblabels: # labels on this resource as key-value pairs
- name: commitvalue: 9b2cf6ced322c7b938533caa22d5a5f48105b3abdigest: # digest of this resource used for signinghashAlgorithm: sha256normalisationAlgorithm: genericBlobDigest/v1value: 57563cb451bb79eb1c4bf0e71c66fdad1daf44fe55e128f12eae5f7e5496a188sources: # information about the origin (source code) of this component
- name: echoserver_source # name of the sourceversion: 0.1.0-dev # version of this sourcetype: git # type of the source (here Git repository)access: # access information how to locate this resourcecommit: 9b2cf6ced322c7b938533caa22d5a5f48105b3abref: refs/heads/mainrepoUrl: github.com/open-component-model/ocmtype: githubsignatures: # signing information using cryptographic signatures
- name: mysig # name of this signaturedigest: # digest of this signature including used algorithmhashAlgorithm: sha256normalisationAlgorithm: jsonNormalisation/v1value: cf08abae08bb874597630bc0573d941b1becc92b4916cbe3bef9aa0e89aec3f6signature: # signature including used algorithmalgorithm: RSASSA-PKCS1-V1_5mediaType: application/vnd.ocm.signature.rsavalue: 390157b7311538bc50e31d126b413b49e2ec85a6bc16a4fe6a27fbc9f9b6f89bc9ac48091beff3d091a9eb0a62a35e0eb2b6f5ab35c3cdde6cfad3437d660894ecc9a4e42cc4664ade28e74c478d69fe791d18b81fb31ee6c5633a9ea2543e868281dd6de6d29b68200ba135fd5718b3fc0ac1cd437910d06c9a88753e00b7e5b778bf52d668a5e20e0f857702c5c03abc42933af2af00b701722c50835bc5f9d85fd523654647e49dccdede1e17f20e4a6b30037d3d151e08c58c2aabe638028dbfddbd4a63e4efb07983631e1cb98902677e7e17b9e5192d4a6c178ec694eaa260f7a7845378019ce3368082c466a4ff54d823191f44db61b7aa75ab2705d6