{"id":16119847,"url":"https://github.com/piomin/kubernetes-config-argocd","last_synced_at":"2025-03-17T19:30:59.864Z","repository":{"id":176951576,"uuid":"659690742","full_name":"piomin/kubernetes-config-argocd","owner":"piomin","description":"Kubernetes YAML manifests in configuration repository managed by Argo CD","archived":false,"fork":false,"pushed_at":"2024-05-13T12:32:58.000Z","size":39,"stargazers_count":15,"open_issues_count":0,"forks_count":17,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T03:23:00.172Z","etag":null,"topics":["argocd","argocd-applicationsets","gitops","helm","kubernetes","vcluster"],"latest_commit_sha":null,"homepage":"https://piotrminkowski.com","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/piomin.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":"2023-06-28T11:00:04.000Z","updated_at":"2024-11-13T17:43:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"6737b4b1-4670-4574-bdca-f18fc9ad4aed","html_url":"https://github.com/piomin/kubernetes-config-argocd","commit_stats":null,"previous_names":["piomin/kubernetes-config-argocd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fkubernetes-config-argocd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fkubernetes-config-argocd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fkubernetes-config-argocd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fkubernetes-config-argocd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piomin","download_url":"https://codeload.github.com/piomin/kubernetes-config-argocd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243878439,"owners_count":20362432,"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":["argocd","argocd-applicationsets","gitops","helm","kubernetes","vcluster"],"created_at":"2024-10-09T20:55:17.946Z","updated_at":"2025-03-17T19:30:59.526Z","avatar_url":"https://github.com/piomin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Kubernetes GitOps Configuration Example with Argo CD  [![Twitter](https://img.shields.io/twitter/follow/piotr_minkowski.svg?style=social\u0026logo=twitter\u0026label=Follow%20Me)](https://twitter.com/piotr_minkowski)\n\nHere's the current structure of the repo (will be modified soon):\n```shell\n├── apps\n│   └── cert-manager\n│       ├── secrets.yaml\n│       ├── certificates.yaml\n│       └── cluster-issuer.yaml\n└── bootstrap\n    ├── Chart.yaml\n    ├── templates\n    │   ├── cert-manager.yaml\n    │   ├── postgresql.yaml\n    │   ├── projects.yaml\n    │   ├── vault.yaml\n    │   └── vault-config-operator.yaml\n    └── values.yaml\n```\n\nFor now, it shows how to install and use in the GitOps way:\n1. [cert-manager](https://cert-manager.io/) via Helm chart\n\nFor more information you can refer to the articles:\n1. [Testing GitOps on Virtual Kubernetes Clusters with ArgoCD](https://piotrminkowski.com/2023/06/29/testing-gitops-on-virtual-kubernetes-clusters-with-argocd/)\n\n## Getting Started\n\nYou can test the configuration on the virtual Kubernetes cluster using the [vcluster](https://www.vcluster.com/) tool. In order to that create the ArgoCD `ApplicationSet` based on the cluster generator:\n```yaml\napiVersion: argoproj.io/v1alpha1\nkind: ApplicationSet\nmetadata:\n  name: config\n  namespace: argocd\nspec:\n  generators:\n    - clusters: # (1)\n        selector:\n          matchLabels:\n            argocd.argoproj.io/secret-type: cluster\n  template:\n    metadata:\n      name: '{{name}}-config-test'\n    spec:\n      destination:\n        namespace: argocd\n        server: https://kubernetes.default.svc\n      project: default\n      source:\n        helm:\n          parameters:\n            - name: server\n              value: '{{server}}'\n            - name: project\n              value: '{{metadata.labels.loft.sh/vcluster-instance-name}}'\n        path: bootstrap\n        repoURL: https://github.com/piomin/kubernetes-config-argocd.git\n        targetRevision: '{{metadata.labels.loft.sh/vcluster-instance-name}}'\n      syncPolicy:\n        automated: {}\n        syncOptions:\n          - CreateNamespace=true\n```\n\nIf you just want to test on the single cluster managed by ArgoCD you can create the following ArgoCD `Application`:\n```yaml\napiVersion: argoproj.io/v1alpha1\nkind: Application\nmetadata:\n  name: config\n  namespace: argocd\nspec:\n  destination:\n    namespace: argocd\n    server: https://kubernetes.default.svc\n  project: default\n  source:\n    path: bootstrap\n    repoURL: https://github.com/piomin/kubernetes-config-argocd.git\n    targetRevision: HEAD\n  syncPolicy:\n    automated: {}\n    syncOptions:\n      - CreateNamespace=true\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiomin%2Fkubernetes-config-argocd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiomin%2Fkubernetes-config-argocd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiomin%2Fkubernetes-config-argocd/lists"}