{"id":19834960,"url":"https://github.com/j0hn-b/gitops_workflow","last_synced_at":"2025-09-01T04:41:57.943Z","repository":{"id":110874046,"uuid":"409165358","full_name":"J0hn-B/gitops_workflow","owner":"J0hn-B","description":"GitOps POC to showcase how terraform helm provider, flux and argocd can be used to deploy a helm chart on top of K8s","archived":false,"fork":false,"pushed_at":"2021-10-08T12:21:20.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T21:51:02.415Z","etag":null,"topics":["argocd","flux2","gitops","helm","kubernetes","terraform-helm-provider"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/J0hn-B.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-09-22T10:48:30.000Z","updated_at":"2023-01-20T05:01:42.000Z","dependencies_parsed_at":"2024-03-10T02:30:38.694Z","dependency_job_id":null,"html_url":"https://github.com/J0hn-B/gitops_workflow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/J0hn-B/gitops_workflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J0hn-B%2Fgitops_workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J0hn-B%2Fgitops_workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J0hn-B%2Fgitops_workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J0hn-B%2Fgitops_workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/J0hn-B","download_url":"https://codeload.github.com/J0hn-B/gitops_workflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J0hn-B%2Fgitops_workflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270850067,"owners_count":24656444,"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-08-17T02:00:09.016Z","response_time":129,"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","flux2","gitops","helm","kubernetes","terraform-helm-provider"],"created_at":"2024-11-12T12:06:03.501Z","updated_at":"2025-08-17T12:41:43.580Z","avatar_url":"https://github.com/J0hn-B.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitops workflow\n\nGitOps is a way to do Kubernetes cluster management and application delivery using declarative manifests that can be treated as code.\nThis example code will deploy the [openfaas](https://github.com/openfaas/faas-netes/tree/master/chart/openfaas) helm chart using a set of different tools.\n\nThis is a good starting point when first discovering how helm charts/yaml manifests can be managed through a gitops workflow.\n\nAt a glance:\n\n- terraform helm provider is used to deploy openfaas\n\n- flux operator is used to deploy openfaas\n\n- argocd operator is used to deploy openfaas\n\nFollow the \"How to\" instructions for single command deployment using `make`\n\nAccess openfaas UI in: \u003chttp://localhost:8080/\u003e\n\n![image](https://user-images.githubusercontent.com/40946247/136553779-bc34d5e8-ff7e-4e07-97eb-c821e9264dec.png)\n\n\u003e Note: Flux is installed using terraform flux provider as there is no helm chart available yet.\n\n## Prerequisites\n\n- Docker desktop\n\n- make\n\n- jq\n\n### Tools used in the workflow\n\n- terraform helm provider\n- argocd\n- flux\n\n### How to\n\n\u003e Important: A [$KUBECONFIG](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#the-kubeconfig-environment-variable) env variable is expected:\n\n`echo $KUBECONFIG`\n\nVerify prerequisites have been installed and Docker Desktop is running.\n\n`git clone https://github.com/J0hn-B/gitops_workflow`\n\n`cd ~/gitops_workflow`\n\nFor [**terraform helm provider**](https://registry.terraform.io/providers/hashicorp/helm/latest/docs):\n\n- `make terraform` to deploy\n\n- `make clean` to clean up\n\nFor [**flux_V2**](https://fluxcd.io/docs/) operator:\n\n- `make flux` to deploy\n\n- `make clean` to clean up\n\nFor [**argocd**](https://argo-cd.readthedocs.io/en/stable/) operator:\n\n- `make argocd` to deploy\n\n- `make clean` to clean up\n\nFollow the terminal for instructions on how to access openfaas ui\n\n### Access ArgoCD UI\n\nTo access argocd web ui:\n\n- `kubectl port-forward svc/argocd-server -n argocd 8090:443 \u0026`\n\n- In your browser: \u003chttp://localhost:8090/\u003e\n\n- Username: `admin`\n\n- Get argocd password:\n\n`kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath=\"{.data.password}\" | base64 -d`\n\n![image](https://user-images.githubusercontent.com/40946247/136553421-efe401c9-aa33-4246-9a54-e6bfe19d0b71.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj0hn-b%2Fgitops_workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj0hn-b%2Fgitops_workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj0hn-b%2Fgitops_workflow/lists"}