{"id":16148168,"url":"https://github.com/chanwit/gitops-api","last_synced_at":"2025-03-18T18:32:38.164Z","repository":{"id":66507541,"uuid":"267837628","full_name":"chanwit/gitops-api","owner":"chanwit","description":"GitOps-API Backend for Backstage's GitOps plugin","archived":false,"fork":false,"pushed_at":"2023-05-05T02:24:46.000Z","size":47,"stargazers_count":5,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T11:39:35.014Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chanwit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2020-05-29T11:08:46.000Z","updated_at":"2022-06-14T08:20:32.000Z","dependencies_parsed_at":"2024-06-21T15:31:18.595Z","dependency_job_id":"c1dcca77-d0f9-4722-af0b-4cd125f761a6","html_url":"https://github.com/chanwit/gitops-api","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/chanwit%2Fgitops-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanwit%2Fgitops-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanwit%2Fgitops-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanwit%2Fgitops-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chanwit","download_url":"https://codeload.github.com/chanwit/gitops-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945478,"owners_count":20372894,"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":"2024-10-10T00:31:19.130Z","updated_at":"2025-03-18T18:32:37.918Z","avatar_url":"https://github.com/chanwit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitops-api \n\nThis repository contains the source of the GitOps Backend for Backstage GitOps plugin ('gitops-profiles`).\n\n## Running with Backstage\n\nUsing Docker is the easiest way.\n\n```bash\ndocker run --init -p 3008:8080 chanwit/gitops-api\n```\nThe plugin requires this backend to run on port 3008.\n\n## Deploy on Kubernetes\n\nThis section shows am example to deploy Backstage with this gitops profiles plugin and its GitOps-API backend on Kubernetes.\nTo try this example, simply copy-n-paste the following yaml to a file named `deployment.yaml` and then run `kubectl apply -f deployment.yaml`.\n\n```yaml\napiVersion: extensions/v1beta1\nkind: Deployment\nmetadata:\n  labels:\n    app: backstage\n  name: backstage\n  namespace: default\nspec:\n  replicas: 1\n  selector:\n    matchLabels:\n      app: backstage\n  template:\n    metadata:\n      labels:\n        app: backstage\n    spec:\n      containers:\n        - image: spotify/backstage:latest\n          imagePullPolicy: Always\n          name: backstage\n---\napiVersion: extensions/v1beta1\nkind: Deployment\nmetadata:\n  labels:\n    app: gitops-api\n  name: gitops-api\n  namespace: default\nspec:\n  replicas: 1\n  selector:\n    matchLabels:\n      app: gitops-api\n  template:\n    metadata:\n      labels:\n        app: gitops-api\n    spec:\n      containers:\n        - image: chanwit/gitops-api:latest\n          imagePullPolicy: Always\n          name: gitops-api\n---\napiVersion: v1\nkind: Service\nmetadata:\n  labels:\n    app: backstage\n  name: backstage\n  namespace: default\nspec:\n  ports:\n    - port: 80\n      protocol: TCP\n      targetPort: 80\n  selector:\n    app: backstage\n  type: NodePort\n---\napiVersion: v1\nkind: Service\nmetadata:\n  labels:\n    app: gitops-api\n  name: gitops-api\n  namespace: default\nspec:\n  ports:\n    - port: 3008\n      protocol: TCP\n      targetPort: 8080\n  selector:\n    app: gitops-api\n  type: ClusterIP\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanwit%2Fgitops-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanwit%2Fgitops-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanwit%2Fgitops-api/lists"}