{"id":13574646,"url":"https://github.com/keptn-sandbox/backstage-plugin-keptn","last_synced_at":"2026-01-23T15:33:55.854Z","repository":{"id":103294602,"uuid":"450181374","full_name":"keptn-sandbox/backstage-plugin-keptn","owner":"keptn-sandbox","description":"Backstage plugin for Keptn","archived":false,"fork":false,"pushed_at":"2022-01-24T14:47:41.000Z","size":425,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-05T09:45:00.577Z","etag":null,"topics":["backstage","backstage-plugin","keptn"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/keptn-sandbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-01-20T16:52:14.000Z","updated_at":"2023-11-18T01:55:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"f818894c-b7c8-4dc1-a9c9-617c825b8fa3","html_url":"https://github.com/keptn-sandbox/backstage-plugin-keptn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keptn-sandbox%2Fbackstage-plugin-keptn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keptn-sandbox%2Fbackstage-plugin-keptn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keptn-sandbox%2Fbackstage-plugin-keptn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keptn-sandbox%2Fbackstage-plugin-keptn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keptn-sandbox","download_url":"https://codeload.github.com/keptn-sandbox/backstage-plugin-keptn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247202856,"owners_count":20900852,"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":["backstage","backstage-plugin","keptn"],"created_at":"2024-08-01T15:00:53.339Z","updated_at":"2026-01-23T15:33:55.821Z","avatar_url":"https://github.com/keptn-sandbox.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","others"],"sub_categories":[],"readme":"# Backstage Plugin Keptn\n\nWelcome to the keptn plugin!\n\n## Installation steps\n\n```\nyarn add @krateo/backstage-plugin-keptn\n```\n\nAdd proxy config to the app-config.yaml file\n\n```\nproxy:\n  \"/keptn-api\":\n    target: http://\u003cyour-keptn-instance\u003e/api/v1/\n    secure: false\n    headers:\n      x-token: KEPTN_API_AUTH_TOKEN\n\n  \"/keptn\":\n    target: http:/\u003cyour-keptn-instance\u003e/bridge/api/\n    secure: false\n    headers:\n      Authorization: \"Basic KEPTN_AUTH_TOKEN\"\n```\n\n```\n// packages/app/src/plugins.ts\nexport { keptnPlugin } from '@krateo/backstage-plugin-keptn';\n```\n\nAdd keptn widget to your overview page\n\n```\nimport {\n  EntityKeptnProjectCard,\n  EntityKeptnServiceCard,\n  isKeptnProjectAvailable,\n  isKeptnServiceAvailable,\n  EntityKeptnContent,\n} from '@krateo/backstage-plugin-keptn';\n\nconst overviewContent = (\n  \u003cGrid container spacing={3} alignItems=\"stretch\"\u003e\n  ...\n    \u003cEntitySwitch\u003e\n      \u003cEntitySwitch.Case if={isKeptnServiceAvailable}\u003e\n        \u003cGrid item md={6} xs={6}\u003e\n          \u003cEntityKeptnServiceCard /\u003e\n        \u003c/Grid\u003e\n      \u003c/EntitySwitch.Case\u003e\n    \u003c/EntitySwitch\u003e\n  ...\n  \u003c/Grid\u003e\n);\n\nconst serviceEntityPage = (\n  \u003cEntityLayoutWrapper\u003e\n  ...\n    \u003cEntityLayout.Route path=\"/keptn\" title=\"Keptn\"\u003e\n      \u003cEntityKeptnContent /\u003e\n    \u003c/EntityLayout.Route\u003e\n  ...\n  \u003c/EntityLayoutWrapper\u003e\n);\n\nconst systemPage = (\n  \u003cEntityLayoutWrapper\u003e\n    \u003cEntityLayout.Route path=\"/\" title=\"Overview\"\u003e\n    ...\n      \u003cGrid container spacing={3} alignItems=\"stretch\"\u003e\n        \u003cEntitySwitch\u003e\n          \u003cEntitySwitch.Case if={isKeptnProjectAvailable}\u003e\n            \u003cGrid item md={12}\u003e\n              \u003cEntityKeptnProjectCard /\u003e\n            \u003c/Grid\u003e\n          \u003c/EntitySwitch.Case\u003e\n        \u003c/EntitySwitch\u003e\n      \u003c/Grid\u003e\n    ...\n    \u003c/EntityLayout.Route\u003e\n  \u003c/EntityLayoutWrapper\u003e\n);\n```\n\nAdd annotation to the yaml config file of a component\n\n```\nmetadata:\n  annotations:\n    keptn.sh/project: \u003cyour-keptn-project\u003e\n    keptn.sh/service: \u003cyour-keptn-service\u003e\n```\n\nGet and provide env variables in following format\n\n```\nKEPTN_API_AUTH_TOKEN: is the token that is generated by the kpetn-api\nKEPTN_AUTH_TOKEN: token for keptn ui. username:password in base64 (commonly is keptn:\u003cpassword\u003e)\n```\n\n## How it looks\n\n### System\n\n![image description](https://github.com/krateoplatformops/backstage-plugin-keptn/blob/main/docs/system.png?raw=true)\n\n### Component Overview\n\n![image description](https://github.com/krateoplatformops/backstage-plugin-keptn/blob/main/docs/overview.png?raw=true)\n\n### Keptn Tab\n\n![image description](https://github.com/krateoplatformops/backstage-plugin-keptn/blob/main/docs/tab.png?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeptn-sandbox%2Fbackstage-plugin-keptn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeptn-sandbox%2Fbackstage-plugin-keptn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeptn-sandbox%2Fbackstage-plugin-keptn/lists"}