{"id":33605860,"url":"https://github.com/hyperspike/pivot","last_synced_at":"2026-03-06T18:03:09.527Z","repository":{"id":267848530,"uuid":"902548798","full_name":"hyperspike/pivot","owner":"hyperspike","description":"Pivot from bootstrapping to GitOps","archived":false,"fork":false,"pushed_at":"2026-01-29T11:00:30.000Z","size":343,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-29T16:48:29.132Z","etag":null,"topics":["argocd","ci-cd","gitops","kubernetes"],"latest_commit_sha":null,"homepage":"https://hyperspike.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperspike.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-12T19:33:43.000Z","updated_at":"2026-01-29T11:00:37.000Z","dependencies_parsed_at":"2024-12-12T20:36:26.313Z","dependency_job_id":"a429006d-3a88-4303-91ce-15996e11d91c","html_url":"https://github.com/hyperspike/pivot","commit_stats":null,"previous_names":["hyperspike/pivot"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/hyperspike/pivot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperspike%2Fpivot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperspike%2Fpivot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperspike%2Fpivot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperspike%2Fpivot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperspike","download_url":"https://codeload.github.com/hyperspike/pivot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperspike%2Fpivot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30189483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T17:33:53.563Z","status":"ssl_error","status_checked_at":"2026-03-06T17:33:51.678Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["argocd","ci-cd","gitops","kubernetes"],"created_at":"2025-11-30T15:04:56.611Z","updated_at":"2026-03-06T18:03:09.520Z","avatar_url":"https://github.com/hyperspike.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pivot\n\npivot from cluster-bootstraping to GitOps, Self-hosted, and self-managed, with a single command. Using [Gitea](https://github.com/hyperspike/gitea-operator) and [ArgoCD](https://argo-cd.readthedocs.io/en/stable/).\n\nskip to the tutorial: [here](./TUTORIAL.md)\n\n## Usage\n\n```bash\n$ pivot --help\nPivot is a tool for pivoting from bootstrap to GitOps\n\nUsage:\n  pivot [command]\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  run         start pivoting\n\nFlags:\n  -h, --help   help for pivot\n\nUse \"pivot [command] --help\" for more information about a command.\n```\n\n```bash\n$ pivot run --help\nstart pivoting\n\nUsage:\n  pivot run [flags]\n\nFlags:\n  -c, --context string     use an explicit Kubernetes context [env PIVOT_CONTEXT]\n  -d, --dry-run            dry run\n  -h, --help               help for run\n  -n, --namespace string   namespace (context default if not set) [env PIVOT_NAMESPACE]\n  -p, --password string    remote password (generated if not set) [env PIVOT_PASSWD]\n  -r, --remote string      remote repository [env PIVOT_REMOTE] (default \"git.local.net\")\n  -u, --user string        remote user [env PIVOT_USER] (default \"pivot\")\n\n```\n\n## How it works\n\nPivot builds a local `infra' repository with all the necessary files to bootstrap a Gitea Instance, and ArgoCD.\n\nIt then applies the manifests to the cluster, and pushes the `infra` repository to the remote repository.\n\nFinally it wires up the now cluster local `infra` repository to ArgoCD for continuous deployment.\n\n### GitOps Repository\n\nThe `infra` repository is a GitOps repository that contains the manifests for bootstrapping bare Cluster to self-hosted, self-managed, GitOps.\n\n```bash\n$ tree infra/\ninfra/\n├── argocd\n│   ├── argocd.yaml\n│   ├── kustomization.yaml\n│   └── namespace.yaml\n├── cert-manager\n│   ├── cert-manager.yaml\n│   └── kustomization.yaml\n├── gitea\n│   ├── gitea.yaml\n│   └── kustomization.yaml\n├── gitea-operator\n│   ├── gitea-operator.yaml\n│   └── kustomization.yaml\n├── init\n│   ├── init.yaml\n│   └── kustomization.yaml\n├── postgres-operator\n│   ├── kustomization.yaml\n│   └── postgres-operator.yaml\n├── README.md\n└── valkey-operator\n    ├── kustomization.yaml\n    └── valkey-operator.yaml\n```\n\n## Making Changes\n\nThe `infra` directory generated by `pivot` is a fully functional Git repository. To make changes to your infrastructure (e.g., adding new applications, changing configurations):\n\n1.  **Edit Files**: Make your desired changes within the `infra/` directory.\n2.  **Commit**: Commit your changes to the local git repository.\n    ```bash\n    cd infra\n    git add .\n    git commit -m \"Update configuration\"\n    ```\n3.  **Proxy**: Open a tunnel to the in-cluster Gitea instance.\n    ```bash\n    pivot proxy\n    ```\n    *Note: This command runs in the foreground. Keep this terminal open and use a new terminal for the next steps.*\n4.  **Password**: Retrieve the generated Gitea password (if you didn't specify one).\n    ```bash\n    pivot password\n    ```\n5.  **Push**: Push your changes to the cluster.\n    ```bash\n    git push local main\n    ```\n    Use `pivot` (default) or your configured username, and the password from the previous step.\n\n## Installation\n\n```bash\n$ go install github.com/hyperspike/pivot/cmd@latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperspike%2Fpivot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperspike%2Fpivot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperspike%2Fpivot/lists"}