{"id":14957764,"url":"https://github.com/onlydole/layered-governance","last_synced_at":"2025-04-01T23:31:07.426Z","repository":{"id":89714118,"uuid":"332923768","full_name":"onlydole/layered-governance","owner":"onlydole","description":"FOSDEM 2021 Talk ","archived":false,"fork":false,"pushed_at":"2021-02-05T01:29:54.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-11T06:43:15.481Z","etag":null,"topics":["flux","gitops","hashicorp-terraform","kubernetes","opa","open-policy-agent","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/onlydole.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-01-26T00:27:20.000Z","updated_at":"2021-02-18T03:41:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7ef9d28-bfdb-4069-8063-2e413450c919","html_url":"https://github.com/onlydole/layered-governance","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"06664c3111f3f78a4db4fc867a6f13a5c0c465cb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlydole%2Flayered-governance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlydole%2Flayered-governance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlydole%2Flayered-governance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onlydole%2Flayered-governance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onlydole","download_url":"https://codeload.github.com/onlydole/layered-governance/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222781553,"owners_count":17036782,"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":["flux","gitops","hashicorp-terraform","kubernetes","opa","open-policy-agent","terraform"],"created_at":"2024-09-24T13:15:32.947Z","updated_at":"2024-11-02T22:20:23.462Z","avatar_url":"https://github.com/onlydole.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Layered Governance\n\n\u003e Layered Governance for your Infrastructure with Kubernetes, OPA, and Terraform\n\n## Table of Contents\n\n- [Layered Governance](#layered-governance)\n  - [Table of Contents](#table-of-contents)\n  - [Requirements](#requirements)\n  - [Additional Reading](#additional-reading)\n  - [Terraform](#terraform)\n  - [Open Policy Agent](#open-policy-agent)\n  - [Flux](#flux)\n  - [Author Information](#author-information)\n  - [License](#license)\n\n## Requirements\n\nTo use the code in this repository, you will need the following applications:\n\n- [HashiCorp Terraform](https://www.terraform.io/downloads.html) `0.14.5` (or later)\n- [KIND](https://kind.sigs.k8s.io/) `0.10.0` (or later)\n\nOnce you have KIND installed and the repository downloaded, you can run the following command to start up your local Kubernetes cluster.\n\n```bash\nkind create cluster --config cluster.yaml\n```\n\n## Additional Reading\n\n### Terraform\n\n- Terraform Remote State: [learn.hashicorp.com/tutorials/terraform/azure-remote](https://learn.hashicorp.com/tutorials/terraform/azure-remote?in=terraform/azure-get-started)\n- Managing Kubernetes resources: [learn.hashicorp.com/tutorials/terraform/kubernetes-provider](https://learn.hashicorp.com/tutorials/terraform/kubernetes-provider?in=terraform/kubernetes)\n\n### Open Policy Agent\n\nThe [Open Policy Agent](https://www.openpolicyagent.org/docs/latest/) (OPA, pronounced “oh-pa”) is an open source, general-purpose policy engine that unifies policy enforcement across the stack. OPA provides a high-level declarative language that lets you specify policy as code and simple APIs to offload policy decision-making from your software. You can use OPA to enforce policies in microservices, Kubernetes, CI/CD pipelines, API gateways, and more.\n\n- [Example of Terraform Policy Enforcement with OPA](https://www.openpolicyagent.org/docs/latest/terraform/)\n\n### Flux\n\n[Flux](https://fluxcd.io/) is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy.\n\n- [Flux Provider for Terraform](https://registry.terraform.io/providers/fluxcd/flux/latest)\n\n## Author Information\n\nThis repository is maintained by [Taylor Dolezal](https://github.com/onlydole).\n\n## License\n\nLicensed under the Apache License, Version 2.0 (the \"License\").\n\nYou may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an _\"AS IS\"_ basis, without WARRANTIES or conditions of any kind, either express or implied.\n\nSee the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlydole%2Flayered-governance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonlydole%2Flayered-governance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlydole%2Flayered-governance/lists"}