{"id":24638060,"url":"https://github.com/upbound/olm-bundle","last_synced_at":"2025-05-08T23:45:09.401Z","repository":{"id":46213756,"uuid":"348373636","full_name":"upbound/olm-bundle","owner":"upbound","description":"A utility to build an OLM bundle from a stream of YAMLs","archived":false,"fork":false,"pushed_at":"2024-01-22T21:48:43.000Z","size":164,"stargazers_count":5,"open_issues_count":8,"forks_count":8,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-05-08T23:45:00.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/upbound.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-16T14:14:21.000Z","updated_at":"2024-04-07T11:48:53.000Z","dependencies_parsed_at":"2024-06-19T04:01:48.274Z","dependency_job_id":"6e26a232-bf62-4f42-8b71-2b594552af54","html_url":"https://github.com/upbound/olm-bundle","commit_stats":{"total_commits":26,"total_committers":3,"mean_commits":8.666666666666666,"dds":0.07692307692307687,"last_synced_commit":"19fba2e0f2914e679211a1a17e6a3dcc52f229e7"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upbound%2Folm-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upbound%2Folm-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upbound%2Folm-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upbound%2Folm-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/upbound","download_url":"https://codeload.github.com/upbound/olm-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253166473,"owners_count":21864467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-25T10:12:53.987Z","updated_at":"2025-05-08T23:45:09.378Z","avatar_url":"https://github.com/upbound.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OLM Bundle\n\nThis tool can be used to produce an [Operator Lifecycle Manager](https://docs.openshift.com/container-platform/4.7/operators/understanding/olm-packaging-format.html)\nbundle from a stream of YAMLs. You can additionally add metadata by using a Helm\n`Chart.yaml` file.\n\nExample:\n```\nhelm template \u003cchart\u003e | \\\nolm-bundle \\\n  --chart-file-path \u003cchart\u003e/Chart.yaml \\\n  --extra-resources-dir \u003cfolder containing extra YAMLs\u003e \\\n  --output-dir \u003cwhere to write the output\u003e\n```\n\nYou can use base template for the generated `ClusterServiceVersion` by having\n`clusterserviceversion.yaml.tmpl` in the given output directory. Following is an\nexample:\n```yaml\napiVersion: v1alpha1\nkind: ClusterServiceVersion\nmetadata:\n  creationTimestamp: null\nspec:\n  minKubeVersion: 1.16.0\n  maturity: stable\n  installModes:\n    - supported: false\n      type: OwnNamespace\n    - supported: false\n      type: SingleNamespace\n    - supported: false\n      type: MultiNamespace\n    - supported: true\n      type: AllNamespaces\n```\n\nSimilarly, you can have `annotations.yaml.tmpl` in the output directory to have\nit used as base. Following is an example:\n```yaml\nannotations:\n  operators.operatorframework.io.bundle.mediatype.v1: \"registry+v1\"\n  operators.operatorframework.io.bundle.manifests.v1: \"manifests/\"\n  operators.operatorframework.io.bundle.metadata.v1: \"metadata/\"\n  operators.operatorframework.io.bundle.package.v1: \"test-operator\"\n  operators.operatorframework.io.bundle.channels.v1: \"beta,stable\"\n  operators.operatorframework.io.bundle.channel.default.v1: \"stable\"\n```\n\n## Releasing\n\nTo release a new version of the tool, run the following command:\n```bash\nmake build.all\n```\n\nThis will place the binaries in `_output/bin` directory.\n\nCreate a new release with a tag and upload all the binaries as assets.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupbound%2Folm-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fupbound%2Folm-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupbound%2Folm-bundle/lists"}