{"id":28420734,"url":"https://github.com/redhat-developer/gitops-repo-example","last_synced_at":"2026-01-30T16:02:58.241Z","repository":{"id":43894179,"uuid":"297505668","full_name":"redhat-developer/gitops-repo-example","owner":"redhat-developer","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-26T21:57:28.000Z","size":82,"stargazers_count":41,"open_issues_count":1,"forks_count":17,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-26T17:50:53.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/redhat-developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-22T01:45:07.000Z","updated_at":"2025-05-03T07:25:47.000Z","dependencies_parsed_at":"2022-09-15T18:42:06.208Z","dependency_job_id":null,"html_url":"https://github.com/redhat-developer/gitops-repo-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redhat-developer/gitops-repo-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fgitops-repo-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fgitops-repo-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fgitops-repo-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fgitops-repo-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhat-developer","download_url":"https://codeload.github.com/redhat-developer/gitops-repo-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-developer%2Fgitops-repo-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28914939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-06-05T03:49:29.401Z","updated_at":"2026-01-30T16:02:58.222Z","avatar_url":"https://github.com/redhat-developer.png","language":null,"readme":"# Sample GitOps Repo\n\n## Introduction\n\nThe given sample GitOps repo is an indication of the capability of the GitOps tool, the given repo structure constituting the entire GitOps configuration can be created by running a couple of day-1 and day-2 commands. A high level structure of the GitOps repo constitutes the config, environments folder and the pipelines.yaml file.  This git repo is generated by [kam](https://github.com/redhat-developer/kam) CLI tool.  It is for illustration purposes only.  To create your GitOps repository, use `kam` CLI instead.\n\n#### Important Note:\n\nThis repository cannot be applied to the cluster since the sealed secrets are encrypted with the private key in the cluster at the time the repository was created.\n\n### Pipelines.yaml\n\n```yaml\nconfig:\n  argocd:\n    namespace: openshift-gitops\n  pipelines:\n    name: cicd\nenvironments:\n- apps:\n  - name: app-taxi\n    services:\n    - name: taxi\n      pipelines:\n        integration:\n          bindings:\n          - dev-app-taxi-taxi-binding\n          - github-push-binding\n      source_url: https://github.com/\u003cyour organization\u003e/taxi.git\n      webhook:\n        secret:\n          name: webhook-secret-dev-taxi\n          namespace: cicd\n  name: dev\n  pipelines:\n    integration:\n      bindings:\n      - github-push-binding\n      template: app-ci-template\n- apps:\n  - name: app-bus\n    services:\n    - name: bus\n      pipelines:\n        integration:\n          bindings:\n          - stage-app-bus-bus-binding\n          - github-push-binding\n      source_url: https://github.com/\u003cyour organization\u003e/bus.git\n      webhook:\n        secret:\n          name: webhook-secret-stage-bus\n          namespace: cicd\n  name: stage\n  pipelines:\n    integration:\n      bindings:\n      - github-push-binding\n      template: app-ci-template\ngitops_url: https://github.com/\u003cyour organization\u003e/gitops.git\nversion: 1\n```\n\nThe pipelines.yaml is a representation of the current directory structure, it throws light on the essential bits of the GitOps repo. The current GitOps repo structure can be broken down based on the pipelines.yaml file.\n\n### High level directory structure\n\n```\n├── config\n│   ├── argocd\n│   │   ├── argo-app.yaml\n│   │   ├── cicd-app.yaml\n│   │   ├── dev-app-taxi-app.yaml\n│   │   ├── dev-env-app.yaml\n│   │   ├── kustomization.yaml\n│   │   ├── stage-app-bus-app.yaml\n│   │   └── stage-env-app.yaml\n│   └── cicd\n│       ├── base\n│       │   ├── 01-namespaces\n│       │   │   └── cicd-environment.yaml\n│       │   ├── 02-rolebindings\n│       │   │   ├── argocd-admin.yaml\n│       │   │   ├── internal-registry-cicd-binding.yaml\n│       │   │   ├── pipeline-service-account.yaml\n│       │   │   ├── pipeline-service-rolebinding.yaml\n│       │   │   ├── pipeline-service-role.yaml\n│       │   │   └── sealed-secrets-aggregate-to-admin.yaml\n│       │   ├── 03-secrets\n│       │   │   ├── docker-config.yaml\n│       │   │   ├── git-host-basic-auth-token.yaml\n│       │   │   ├── gitops-webhook-secret.yaml\n│       │   │   ├── webhook-secret-dev-taxi.yaml\n│       │   │   └── webhook-secret-stage-bus.yaml\n│       │   ├── 04-tasks\n│       │   │   └── deploy-from-source-task.yaml\n│       │   ├── 05-pipelines\n│       │   │   ├── app-ci-pipeline.yaml\n│       │   │   └── ci-dryrun-from-push-pipeline.yaml\n│       │   ├── 06-bindings\n│       │   │   ├── dev-app-taxi-taxi-binding.yaml\n│       │   │   ├── github-push-binding.yaml\n│       │   │   └── stage-app-bus-bus-binding.yaml\n│       │   ├── 07-templates\n│       │   │   ├── app-ci-build-from-push-template.yaml\n│       │   │   └── ci-dryrun-from-push-template.yaml\n│       │   ├── 08-eventlisteners\n│       │   │   └── cicd-event-listener.yaml\n│       │   ├── 09-routes\n│       │   │   └── gitops-webhook-event-listener.yaml\n│       │   └── kustomization.yaml\n│       └── overlays\n│           └── kustomization.yaml\n├── environments\n│   ├── dev\n│   │   ├── apps\n│   │   │   └── app-taxi\n│   │   │       ├── base\n│   │   │       │   └── kustomization.yaml\n│   │   │       ├── kustomization.yaml\n│   │   │       ├── overlays\n│   │   │       │   └── kustomization.yaml\n│   │   │       └── services\n│   │   │           └── taxi\n│   │   │               ├── base\n│   │   │               │   ├── config\n│   │   │               │   │   ├── 100-deployment.yaml\n│   │   │               │   │   ├── 200-service.yaml\n│   │   │               │   │   ├── 300-route.yaml\n│   │   │               │   │   └── kustomization.yaml\n│   │   │               │   └── kustomization.yaml\n│   │   │               ├── kustomization.yaml\n│   │   │               └── overlays\n│   │   │                   └── kustomization.yaml\n│   │   └── env\n│   │       ├── base\n│   │       │   ├── argocd-admin.yaml\n│   │       │   ├── dev-environment.yaml\n│   │       │   ├── dev-rolebinding.yaml\n│   │       │   └── kustomization.yaml\n│   │       └── overlays\n│   │           └── kustomization.yaml\n│   └── stage\n│       ├── apps\n│       │   └── app-bus\n│       │       ├── base\n│       │       │   └── kustomization.yaml\n│       │       ├── kustomization.yaml\n│       │       ├── overlays\n│       │       │   └── kustomization.yaml\n│       │       └── services\n│       │           └── bus\n│       │               ├── base\n│       │               │   ├── config\n│       │               │   └── kustomization.yaml\n│       │               ├── kustomization.yaml\n│       │               └── overlays\n│       │                   └── kustomization.yaml\n│       └── env\n│           ├── base\n│           │   ├── argocd-admin.yaml\n│           │   ├── kustomization.yaml\n│           │   ├── stage-environment.yaml\n│           │   └── stage-rolebinding.yaml\n│           └── overlays\n│               └── kustomization.yaml\n└── pipelines.yaml\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-developer%2Fgitops-repo-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhat-developer%2Fgitops-repo-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-developer%2Fgitops-repo-example/lists"}