Skip to content

Commit

Permalink
fix k8s by adding new field in dataplane
Browse files Browse the repository at this point in the history
Signed-off-by: Lukasz Dziedziak <[email protected]>
  • Loading branch information
lukidzi committed Nov 8, 2024
1 parent e3896ef commit 811c7be
Show file tree
Hide file tree
Showing 84 changed files with 1,130 additions and 490 deletions.
622 changes: 320 additions & 302 deletions api/mesh/v1alpha1/dataplane.pb.go

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions api/mesh/v1alpha1/dataplane.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ option go_package = "github.com/kumahq/kuma/api/mesh/v1alpha1";
import "api/mesh/options.proto";
import "api/mesh/v1alpha1/metrics.proto";
import "api/mesh/v1alpha1/envoy_admin.proto";
import "api/mesh/v1alpha1/envoy.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/wrappers.proto";
import "validate/validate.proto";
Expand Down Expand Up @@ -369,4 +370,7 @@ message Dataplane {
// Deprecated: this feature will be removed for Universal; on Kubernetes, it's
// not needed anymore.
Probes probes = 3;

// EnvoyConfiguration provides additional configuration for the Envoy sidecar.
EnvoyConfiguration envoy = 4;
}
215 changes: 215 additions & 0 deletions api/mesh/v1alpha1/envoy.pb.go

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

19 changes: 19 additions & 0 deletions api/mesh/v1alpha1/envoy.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
syntax = "proto3";

package kuma.mesh.v1alpha1;

option go_package = "github.com/kumahq/kuma/api/mesh/v1alpha1";

message EnvoyConfiguration {
enum XdsTransportProtocolVariant {
// This value defines default control-plane variant.
DEFAULT = 0;
// Enables incremental xDS between control-plane and the Envoy.
DELTA_GRPC = 1;
// Enables state of the world xDS between control-plane and the Envoy.
GRPC = 2;
}
// xDSTransportProtocol provides information about protocol used for
// configuration exchange between control-plane and Envoy sidecar.
XdsTransportProtocolVariant xds_transport_protocol_variant = 1;
}
Loading

0 comments on commit 811c7be

Please sign in to comment.