{"id":13393298,"url":"https://github.com/hasheddan/crossflux","last_synced_at":"2025-03-21T02:42:59.277Z","repository":{"id":52939168,"uuid":"354973838","full_name":"hasheddan/crossflux","owner":"hasheddan","description":"@crossplane and @fluxcd","archived":false,"fork":false,"pushed_at":"2021-04-13T03:47:44.000Z","size":52,"stargazers_count":3,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-22T00:37:19.747Z","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/hasheddan.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}},"created_at":"2021-04-05T21:10:21.000Z","updated_at":"2023-01-12T03:43:43.000Z","dependencies_parsed_at":"2022-08-26T01:42:18.393Z","dependency_job_id":null,"html_url":"https://github.com/hasheddan/crossflux","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/hasheddan%2Fcrossflux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrossflux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrossflux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasheddan%2Fcrossflux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasheddan","download_url":"https://codeload.github.com/hasheddan/crossflux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244728194,"owners_count":20500023,"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-07-30T17:00:49.542Z","updated_at":"2025-03-21T02:42:59.246Z","avatar_url":"https://github.com/hasheddan.png","language":null,"funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# crossflux\n\nCrossflux is an example of managing an entire organization from a single\nrepository using GitOps on [Crossplane](https://crossplane.io/),\n[Flux](https://fluxcd.io/), and [Kubernetes](https://kubernetes.io/).\n\n## Repository Layout\n\n- `clusters`: sources and reconciliations for Flux\n    - Controls how Flux will reconcile changes in this repo\n- `packages`: source for Crossplane configuration packages\n- `platform`: manifests for building platform on Crossplane\n    - Controls what platform APIs are offered to developers in the cluster\n    - Installs configurations from `packages`\n- `teams`: team-specific manifests for applications and infrastructure\n    - See the [teams documentation](./docs/teams.md) for more information\n\n## Setup\n\nThe following steps assume a running Kubernetes cluster and a `kubeconfig`\ncontext that points to it.\n\n1. Install Flux CLI\n\n```\ncurl -s https://toolkit.fluxcd.io/install.sh | sudo bash\n```\n\n2. Install Latest Flux Version\n\n```\nflux install --version=latest --namespace=flux-system\n```\n\n3. Create Github Deploy Key Secret\n\n```\nflux create secret git git-deploy-key \\\n    --url=ssh://git@github.com/hasheddan/crossflux \\\n    --namespace=flux-system \\\n    --export \u003e git-deploy-key.yaml\n```\n\nAdd public key as a deploy key in your repo by following the steps in [the\nGitHub\ndocumentation](https://docs.github.com/en/developers/overview/managing-deploy-keys#deploy-keys),\nthen create the `Secret` in the cluster.\n\n```\nkubectl apply -f credentials/git-deploy-key.yaml\n```\n\n4. Create Provider Credential Secrets\n\n```\nkubectl create secret generic aws-creds -n crossplane-system --from-file=creds=./credentials/aws-creds.conf\n```\n\n5. Bootstrap Crossflux Cluster\n\n```\nkubectl apply -f clusters/controlplane\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasheddan%2Fcrossflux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasheddan%2Fcrossflux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasheddan%2Fcrossflux/lists"}