{"id":20882053,"url":"https://github.com/weaveworks/weave-gitops-clusters","last_synced_at":"2026-04-25T06:31:47.830Z","repository":{"id":222348174,"uuid":"465911571","full_name":"weaveworks/weave-gitops-clusters","owner":"weaveworks","description":"Configuration for the staging k8s clusters used by weave-gitops.","archived":false,"fork":false,"pushed_at":"2023-12-30T16:32:23.000Z","size":1417,"stargazers_count":1,"open_issues_count":6,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-01-19T10:10:07.798Z","etag":null,"topics":["gitops","kubernetes","terraform","weave-gitops"],"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/weaveworks.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}},"created_at":"2022-03-03T23:00:14.000Z","updated_at":"2024-03-05T09:25:29.000Z","dependencies_parsed_at":"2024-02-13T18:56:12.243Z","dependency_job_id":null,"html_url":"https://github.com/weaveworks/weave-gitops-clusters","commit_stats":null,"previous_names":["weaveworks/weave-gitops-clusters"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveworks%2Fweave-gitops-clusters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveworks%2Fweave-gitops-clusters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveworks%2Fweave-gitops-clusters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaveworks%2Fweave-gitops-clusters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weaveworks","download_url":"https://codeload.github.com/weaveworks/weave-gitops-clusters/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243258506,"owners_count":20262300,"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":["gitops","kubernetes","terraform","weave-gitops"],"created_at":"2024-11-18T07:28:50.099Z","updated_at":"2025-12-26T06:50:17.134Z","avatar_url":"https://github.com/weaveworks.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# weave-gitops-clusters\nConfiguration for the staging k8s clusters used by weave-gitops.\n\n## WARNING\n\nThe clusters created by this repo are for testing/staging purposes only. They\nare not production-worthy.\n\n\u003c!--\nTo update the TOC, install https://github.com/kubernetes-sigs/mdtoc\nand run: mdtoc -inplace README.md\n--\u003e\n\n\u003c!-- toc --\u003e\n- [Repo layout](#repo-layout)\n- [Usage](#usage)\n  - [Tools](#tools)\n  - [Sops](#sops)\n  - [Pre-commit hooks [optional]](#pre-commit-hooks-optional)\n\u003c!-- /toc --\u003e\n\n## Repo layout\n\nThe bulk of the important configuration is in these two directories:\n* [gke-cluster](gke-cluster/) -- create [Google GKE clusters](https://cloud.google.com/kubernetes-engine/)\n\nThe [setup](setup/) directory contains small bits of terraform for shared resources\n(e.g. container registries, terraform state buckets). You probably don't need to\nmake changes here.\n\n## Usage\n\nEach directory contains a README describing how that section of the project\nshould be deployed/used.\n\n### Tools\n\nRequired\n\n* [Terraform](https://www.terraform.io/downloads)\n* [gcloud](https://cloud.google.com/sdk/docs/install)\n* [flux](https://fluxcd.io/)\n* [sops](https://github.com/mozilla/sops)\n\nNice to have:\n\n* [pre-commit hooks](https://pre-commit.com/)\n\n### Sops\n\nWe use [sops](https://github.com/mozilla/sops) to encrypt secrets such that they\ncan be accessed by flux and turned into kubernetes secrets in the relevant\ncluster.\n\nThe `.sops.yaml` file defines creation rules that will automatically encrypt\nnew files added to any directory that matches `k8s/secrets/gke-*`.\n\nIt is recommended that any files you decrypt you add a `*.dec` or `*.dec.*`\nsuffix to (e.g. `foo.dec.yaml`) so git will automatically ignore them.\n\n```bash\n# Create or update a secret\n$ sops k8s/secrets/gke-europe-west1/new-secret.yaml\n# Decrypt a secret to the terminal\n$ sops -d k8s/secrets/gke-europe-west1/old-secret.yaml\n# Decrypt a secret to a file\n$ sops -d k8s/secrets/gke-europe-west1/old-secret.yaml \u003e k8s/secrets/gke-europe-west1/old-secret.dec.yaml\n```\n\n\n### Pre-commit hooks [optional]\n\nThis repository uses [pre-commit hooks](https://pre-commit.com/)\nto run various linting tasks. They pre-commit program can be installed via\n`pip` or `brew`:\n\n```bash\n$ pip install pre-commit\n# or\n$ brew install pre-commit\n```\n\nThe hooks themselves are then added to your `.git/hooks` directory:\n```bash\n$ pre-commit install\n```\n\nThe first time the hooks run will take a little longer than usual as the scripts\nget installed.\n\nThey can be run manually:\n```bash\n$ pre-commit run --all\n```\n\nor they will run automatically whenever you run commit, e.g.:\n```bash\n$ git commit -m \"Frobulate the changes\"\nTrim Trailing Whitespace.................................................Passed\nFix End of Files.........................................................Passed\nCheck Yaml...............................................................Passed\nCheck for added large files..............................................Passed\nTerraform fmt........................................(no files to check)Skipped\nTerraform validate...................................(no files to check)Skipped\n[setup eda4e7a] Frobulate the changes\n 1 file changed, 42 insertions(+), 69 deletions(-)\n rewrite .pre-commit-config.yaml (64%)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaveworks%2Fweave-gitops-clusters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweaveworks%2Fweave-gitops-clusters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaveworks%2Fweave-gitops-clusters/lists"}