{"id":30508252,"url":"https://github.com/osinfra-io/opentofu-kubernetes-opa-gatekeeper","last_synced_at":"2026-02-28T00:55:38.690Z","repository":{"id":260910616,"uuid":"868240652","full_name":"osinfra-io/opentofu-kubernetes-opa-gatekeeper","owner":"osinfra-io","description":"OpenTofu example module for Kubernetes Open Policy Agent (OPA) Gatekeeper.","archived":false,"fork":false,"pushed_at":"2025-08-19T20:28:07.000Z","size":57,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-25T17:01:52.647Z","etag":null,"topics":["gatekeeper","helm","infrastructure-as-code","kubernetes","opa","opentofu","opentofu-child-module","osinfra"],"latest_commit_sha":null,"homepage":"https://www.osinfra.io","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osinfra-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"osinfra-io"}},"created_at":"2024-10-05T20:58:01.000Z","updated_at":"2025-08-19T20:28:09.000Z","dependencies_parsed_at":"2025-06-22T15:33:52.295Z","dependency_job_id":"d25c593d-1a6a-4c91-99b3-874216f0d4c7","html_url":"https://github.com/osinfra-io/opentofu-kubernetes-opa-gatekeeper","commit_stats":null,"previous_names":["osinfra-io/terraform-kubernetes-opa-gatekeeper","osinfra-io/opentofu-kubernetes-opa-gatekeeper"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/osinfra-io/opentofu-kubernetes-opa-gatekeeper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fopentofu-kubernetes-opa-gatekeeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fopentofu-kubernetes-opa-gatekeeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fopentofu-kubernetes-opa-gatekeeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fopentofu-kubernetes-opa-gatekeeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osinfra-io","download_url":"https://codeload.github.com/osinfra-io/opentofu-kubernetes-opa-gatekeeper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osinfra-io%2Fopentofu-kubernetes-opa-gatekeeper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272140338,"owners_count":24880493,"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-25T02:00:12.092Z","response_time":1107,"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":["gatekeeper","helm","infrastructure-as-code","kubernetes","opa","opentofu","opentofu-child-module","osinfra"],"created_at":"2025-08-25T22:16:19.089Z","updated_at":"2026-02-28T00:55:38.685Z","avatar_url":"https://github.com/osinfra-io.png","language":"HCL","funding_links":["https://github.com/sponsors/osinfra-io"],"categories":[],"sub_categories":[],"readme":"# \u003cimg align=\"left\" width=\"45\" height=\"45\" src=\"https://github.com/user-attachments/assets/9e7982fb-5f76-4e95-a4f2-f6bf4b458693\"\u003e Kubernetes - Open Policy Agent Gatekeeper OpenTofu Module\n\n[![OpenTofu Tests](https://img.shields.io/github/actions/workflow/status/osinfra-io/opentofu-kubernetes-opa-gatekeeper/test.yml?style=for-the-badge\u0026logo=opentofu\u0026color=FEDA15\u0026label=OpenTofu%20Tests)](https://github.com/osinfra-io/opentofu-kubernetes-opa-gatekeeper/actions/workflows/test.yml) [![Dependabot](https://img.shields.io/github/actions/workflow/status/osinfra-io/opentofu-kubernetes-opa-gatekeeper/dependabot.yml?style=for-the-badge\u0026logo=github\u0026color=2088FF\u0026label=Dependabot)](https://github.com/osinfra-io/opentofu-kubernetes-opa-gatekeeper/actions/workflows/dependabot.yml)\n\n## Repository Description\n\nOpenTofu **example** module for Open Policy Agent Gatekeeper on Google Kubernetes Engine (GKE).\n\n\u003e [!NOTE]\n\u003e We do not recommend consuming this module like you might a [public module](https://search.opentofu.org). It is a baseline, something you can fork, potentially maintain, and modify to fit your organization's needs. Using public modules vs. writing your own has various [drivers and trade-offs](https://docs.osinfra.io/fundamentals/architecture-decision-records/adr-0003) that your organization should evaluate.\n\n## 🔩 Usage\n\n\u003e [!TIP]\n\u003e You can check the [tests/fixtures](tests/fixtures) directory for example configurations. These fixtures set up the system for testing by providing all the necessary initial code, thus creating good examples on which to base your configurations.\n\n## \u003cimg align=\"left\" width=\"35\" height=\"35\" src=\"https://github.com/osinfra-io/github-organization-management/assets/1610100/39d6ae3b-ccc2-42db-92f1-276a5bc54e65\"\u003e Development\n\nOur focus is on the core fundamental practice of platform engineering, Infrastructure as Code.\n\n\u003eOpen Source Infrastructure (as Code) is a development model for infrastructure that focuses on open collaboration and applying relative lessons learned from software development practices that organizations can use internally at scale. - [Open Source Infrastructure (as Code)](https://www.osinfra.io)\n\nTo avoid slowing down stream-aligned teams, we want to open up the possibility for contributions. The Open Source Infrastructure (as Code) model allows team members external to the platform team to contribute with only a slight increase in cognitive load. This section is for developers who want to contribute to this repository, describing the tools used, the skills, and the knowledge required, along with OpenTofu documentation.\n\nSee the [documentation](https://docs.osinfra.io/fundamentals/development-setup) for setting up a local development environment.\n\n### 🛠️ Tools\n\n- [helm](https://github.com/helm/helm)\n- [osinfra-pre-commit-hooks](https://github.com/osinfra-io/pre-commit-hooks)\n- [pre-commit](https://github.com/pre-commit/pre-commit)\n\n### 📋 Skills and Knowledge\n\nLinks to documentation and other resources required to develop and iterate in this repository successfully.\n\n- [open-policy-agent](https://www.openpolicyagent.org/docs/latest/)\n- [gatekeeper](https://open-policy-agent.github.io/gatekeeper/website)\n\n### 🔍 Tests\n\nAll tests are [mocked](https://opentofu.org/docs/cli/commands/test/#the-mock_provider-blocks) allowing us to test the module without creating infrastructure or requiring credentials. The trade-offs are acceptable in favor of speed and simplicity. In an OpenTofu test, a mocked provider or resource will generate fake data for all computed attributes that would normally be provided by the underlying provider APIs.\n\n```none\ntofu init\n```\n\n```none\ntofu test\n```\n\n### 📦 Release\n\nTo release a new version, simply push a new tag to the repository. The tag should be in the format `vX.Y.Z` where `X`, `Y`, and `Z` are integers.\n\n```none\ngit tag vX.Y.Z\ngit push origin vX.Y.Z\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosinfra-io%2Fopentofu-kubernetes-opa-gatekeeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosinfra-io%2Fopentofu-kubernetes-opa-gatekeeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosinfra-io%2Fopentofu-kubernetes-opa-gatekeeper/lists"}