{"id":30657655,"url":"https://github.com/slashnephy/infrastructure","last_synced_at":"2025-10-12T05:36:54.979Z","repository":{"id":65266169,"uuid":"582246807","full_name":"SlashNephy/infrastructure","owner":"SlashNephy","description":"Infrastructure as Code that are running at my home!","archived":false,"fork":false,"pushed_at":"2025-08-25T16:27:24.000Z","size":23549,"stargazers_count":10,"open_issues_count":17,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-25T17:35:21.855Z","etag":null,"topics":["cloudflare","gitops","infrastructure-as-code","kubernetes","terraform"],"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/SlashNephy.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,"zenodo":null}},"created_at":"2022-12-26T07:55:30.000Z","updated_at":"2025-08-25T16:27:27.000Z","dependencies_parsed_at":"2025-04-16T22:29:51.138Z","dependency_job_id":"02504b7a-e905-4af8-9e49-0fa4779381a2","html_url":"https://github.com/SlashNephy/infrastructure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SlashNephy/infrastructure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlashNephy%2Finfrastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlashNephy%2Finfrastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlashNephy%2Finfrastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlashNephy%2Finfrastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SlashNephy","download_url":"https://codeload.github.com/SlashNephy/infrastructure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SlashNephy%2Finfrastructure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272971557,"owners_count":25024100,"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-31T02:00:09.071Z","response_time":79,"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":["cloudflare","gitops","infrastructure-as-code","kubernetes","terraform"],"created_at":"2025-08-31T11:16:27.920Z","updated_at":"2025-10-12T05:36:49.935Z","avatar_url":"https://github.com/SlashNephy.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# infrastructure\n\n- k8s\n  - [/slashnephy/k8s](https://scrapbox.io/slashnephy/k8s)\n- terraform\n  - Managed with Terraform Cloud\n\n## Setup k8s Cluster\n\nEnsure the contents of `1password-credentials.json` are Base64-encoded before applying the manifest.\n\n```console\n$ kubectl kustomize --enable-helm k8s/init/${ENV_NAME} | kubectl apply -f -\n```\n\n## Useful Commands\n\n- Generate long-lived bearer token for kubernetes-dashboard\n\n```console\n$ kubectl create token admin-user -n kubernetes-dashboard --duration=4294967296s\n```\n\n- Obtain Argo CD initial password\n\n```console\n$ kubectl get secret argocd-initial-admin-secret \\\n    -n argo-cd \\\n    -o jsonpath=\"{.data.password}\" | base64 -d; echo\n```\n\n- Format / Lint manifest files\n\n```console\n$ yarn format\n$ yarn lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashnephy%2Finfrastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslashnephy%2Finfrastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashnephy%2Finfrastructure/lists"}