Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kuma-cp): enrich policies endpoint #4791

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 54 additions & 41 deletions api/mesh/options.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion api/mesh/options.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ message KumaResourceOptions {

// The name of the policy showed as plural to be displayed in the UI and maybe
// CLI
string display_name = 15;
string plural_display_name = 15;

// Is Experimental indicates if a policy is in experimental state (might not
// be production ready).
bool is_experimental = 16;
}

message KumaWsOptions {
Expand Down
20 changes: 10 additions & 10 deletions api/mesh/v1alpha1/gateway.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api/mesh/v1alpha1/gateway.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ message MeshGateway {
option (kuma.mesh.resource).name = "MeshGatewayResource";
option (kuma.mesh.resource).type = "MeshGateway";
option (kuma.mesh.resource).package = "mesh";
option (kuma.mesh.resource).is_experimental = true;

option (kuma.mesh.resource).kds.send_to_zone = true;
option (kuma.mesh.resource).ws.name = "meshgateway";
Expand Down
23 changes: 12 additions & 11 deletions api/mesh/v1alpha1/gateway_route.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api/mesh/v1alpha1/gateway_route.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ message MeshGatewayRoute {
option (kuma.mesh.resource).name = "MeshGatewayRouteResource";
option (kuma.mesh.resource).type = "MeshGatewayRoute";
option (kuma.mesh.resource).package = "mesh";
option (kuma.mesh.resource).is_experimental = true;

option (kuma.mesh.resource).kds.send_to_zone = true;
option (kuma.mesh.resource).ws.name = "meshgatewayroute";
Expand Down
Loading