{"id":15859948,"url":"https://github.com/giannisalinetti/rhacm-gitops-example","last_synced_at":"2025-10-25T10:03:00.691Z","repository":{"id":91617406,"uuid":"429043967","full_name":"giannisalinetti/rhacm-gitops-example","owner":"giannisalinetti","description":"Example repository to demonstrate the integration between Red Hat Advanced Cluster Management for Kubernetes and OpenShift GitOps (ArgoCD).","archived":false,"fork":false,"pushed_at":"2021-11-30T21:59:37.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T20:37:44.093Z","etag":null,"topics":["argocd","cd","gitops","kubernetes","kustomize","openclustermanagement","openshift","operator"],"latest_commit_sha":null,"homepage":"","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/giannisalinetti.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":"2021-11-17T12:50:29.000Z","updated_at":"2021-11-25T16:17:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"fdea5cfc-2768-494a-909c-62d13ca0948e","html_url":"https://github.com/giannisalinetti/rhacm-gitops-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/giannisalinetti/rhacm-gitops-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannisalinetti%2Frhacm-gitops-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannisalinetti%2Frhacm-gitops-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannisalinetti%2Frhacm-gitops-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannisalinetti%2Frhacm-gitops-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giannisalinetti","download_url":"https://codeload.github.com/giannisalinetti/rhacm-gitops-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannisalinetti%2Frhacm-gitops-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280936359,"owners_count":26416544,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["argocd","cd","gitops","kubernetes","kustomize","openclustermanagement","openshift","operator"],"created_at":"2024-10-05T21:40:46.807Z","updated_at":"2025-10-25T10:03:00.676Z","avatar_url":"https://github.com/giannisalinetti.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Red Hat Advanced Cluster Management and OpenShift GitOps\n\nAn effective way to manage OpenShift Gitops instances and infrastructure configuration policies with RHACM.\n\n## Why this approach is worth considering\nThis repo is designed to enhance GitOps approach leveraged by OpenShift GitOps\nin a multi-cluster environment.\n\n## How to use this repository\nThis is a boilerplate repository to quickly set up the initial resources. \\\nIt provides:\n  * Folder-based structure model\n  * RHACM objects \n  * OpenShift GitOps example objects\n\nTo start using this repo you can fork it and adapt it to your environment.\n\n## How to use Kustomize\nThis repo extensively uses [Kustomize](https://kustomize.io/) to patch resources to be applied to different environments.\nKustomize is a template-free solution for customizing Kubernetes resources based on the declarative patching of original YAML files.\nThe base files are located in **base** folders while their customizations can be defined inside **overlay** folders where users\ncan define multiple target environments and differenet customization behaviors, declared in a `kustomization.yaml` file.\n\nFor more informations about Kustomize, please refer to the following [guide](https://kubectl.docs.kubernetes.io/guides/introduction/kustomize/).\n\n## Repository structure model\nThis is a GitOps folder-based structure model.\n\n* [_rhacm-manifests_](rhacm-manifests): contains Red Hat Advanced Cluster Management manifests.\n* [_gitops-manifests_](gitops-manifests): contains Argo CD resources, such as AppProjects, Applications and ApplicationSets.\n\n### Why folder-based strategy and not branched-based\nThe folder-based approach has the following main advantages:\n* The main branch is the Single Point of Truth for data\n* Follows Git standard workflows\n* Increase collaboration and the whole team enablement\n* Avoids _independent_ branches proliferation\n* Reduces time during troubleshooting\n\n## Prerequisites\nTo use this repo you need to have in your enviroment:\n* RHACM MultiClusterHub installed on an OpenShift Cluster.\n* At least one OpenShift Cluster on which to install OpenShift Gitops operator.\n\n## How to deploy resources on RHACM Hub\n* Login into RHACM Hub cluster.\n* Deploy this repository on RHACM:\n  ```\n  clone repository\n  navigate to root folder \n  oc apply -k rhacm-gitops-example/rhacm-manifests/overlays/prod/\n  ```\n\n  This will create the following resources:\n  * Channel\n  * PlacementRules\n  * Subscription for Argo CD resources (i.e. AppProjects, Applications, ApplicationSets)\n  * ArgoCD Application\n  * Channel namespace\n  * Policy for: \n    * OpenShift GitOps Operator installation, needed cluster role binding and namespace openshift-gitops creation;\n    * HTPasswd Identity Provider configuration; \n    * Cluster Admin role binding configuration;\n    * Kubeadmin user deletion;  \n    * Monitoring stack configuration; \n    * Disable project self-provisioning.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiannisalinetti%2Frhacm-gitops-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiannisalinetti%2Frhacm-gitops-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiannisalinetti%2Frhacm-gitops-example/lists"}