Điểm qua open-policy-agent/opa-envoy-plugin: 361 sao trên GitHub, viết chủ yếu bằng Go. A plugin to enforce OPA policies with Envoy
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This repository contains an extended version of OPA (OPA-Envoy) that allows you to enforce OPA policies with Envoy.
Note about the repository size: ~1 GB due to historical vendored WebAssembly binaries. For faster clones, use git clone --depth 1. See partial clone options.
Issue Management
Use GitHub Issues to request features or file bugs.
Examples with Envoy-based service meshes
The OPA-Envoy plugin can be deployed with Envoy-based service meshes such as:
Istio
Gloo Edge
Overview
OPA-Envoy extends OPA with a gRPC server that implements the Envoy External
Authorization
API.
You can use this version of OPA to enforce fine-grained, context-aware access
control policies with Envoy without modifying your microservice.
More information about the OPA-Envoy plugin including performance benchmarks, debugging tips, detailed usage examples
can be found in the OPA documentation.
Quick Start
This section assumes you are testing with Envoy v1.10.0 or later.
The quick_start.yaml manifest defines the following resources:
A ConfigMap containing an Envoy configuration with an External Authorization Filter to direct authorization checks to the OPA-Envoy sidecar.
See kubectl get configmap proxy-config for details.
OPA configuration file, and an OPA policy into ConfigMaps in the namespace where the app will be deployed, e.g., default.
A Deployment consisting an example Go application with OPA-Envoy and Envoy sidecars. The sample app provides information
about employees in a company and exposes APIs to get and create employees. More information about the app
can be found here. The deployment also includes an init container that
installs iptables rules to redirect all container traffic through the Envoy proxy sidecar. More information can be
found here.
Make the application accessible outside the cluster.
In the Quick Start section an OPA policy is loaded via a volume-mounted ConfigMap. For production
deployments, we recommend serving policy Bundles from a remote HTTP server.
Using the configuration shown below, OPA will download a sample bundle from https://www.openpolicyagent.org.
The sample bundle contains the exact same policy that was loaded into OPA via the volume-mounted ConfigMap.
You can download the bundle and inspect it yourself:
mkdir example && cd example
curl -s -L https://www.openpolicyagent.org/bundles/envoy/authz | tar xzv
In this way OPA can periodically download bundles of policy from an external server and hence loading the policy via a
volume-mounted ConfigMap would not be required. The readinessProbe to GET /health?bundles ensures that the opa-envoy
container becomes ready after the bundles are activated.
Dependencies
Dependencies are managed with Modules.
If you need to add or update dependencies, modify the go.mod file or
use go get. More information is available here.
Finally commit all changes to the repository.
Maintainers
Please see the MAINTAINERS.md file for maintainer details.
Đọc thêm về open-policy-agent/opa-envoy-plugin ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/open-policy-agent/opa-envoy-plugin là nguồn chính thức.
open-policy-agent/opa-envoy-plugin có bao nhiêu sao?
open-policy-agent/opa-envoy-plugin có 361 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/open-policy-agent/opa-envoy-plugin. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
open-policy-agent/opa-envoy-plugin có phải mã nguồn mở không?
Có — open-policy-agent/opa-envoy-plugin phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/open-policy-agent/opa-envoy-plugin.
open-policy-agent/opa-envoy-plugin còn đang phát triển không?
Commit gần nhất trên open-policy-agent/opa-envoy-plugin là 12 ngày trước (theo timestamp GitHub). Repo có 128 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
open-policy-agent/opa-envoy-plugin là gì?
open-policy-agent/opa-envoy-plugin (open-policy-agent/opa-envoy-plugin) là dự án Go trên GitHub. Theo mô tả gốc: A plugin to enforce OPA policies with Envoy
Đọc đầy đủ README ở tab phía trên.
Chưa chắc opa-envoy-plugin có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về opa-envoy-plugin.