mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-04 09:19:39 +02:00
controlplane: save configuration events to databroker (#2153)
* envoy: save events to databroker * controlplane: add tests for envoy configuration events * format imports
This commit is contained in:
parent
d32b8a4d8a
commit
0adbf4f24c
13 changed files with 1067 additions and 618 deletions
File diff suppressed because it is too large
Load diff
|
@ -3,8 +3,10 @@ syntax = "proto3";
|
|||
package pomerium.config;
|
||||
option go_package = "github.com/pomerium/pomerium/pkg/grpc/config";
|
||||
|
||||
import "google/protobuf/any.proto";
|
||||
import "google/protobuf/duration.proto";
|
||||
import "google/protobuf/struct.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "envoy/config/cluster/v3/cluster.proto";
|
||||
|
||||
import "crypt/crypt.proto";
|
||||
|
@ -182,3 +184,16 @@ message Settings {
|
|||
repeated string programmatic_redirect_domain_whitelist = 68;
|
||||
optional pomerium.crypt.PublicKeyEncryptionKey audit_key = 72;
|
||||
}
|
||||
|
||||
// EnvoyConfigurationEvents is a list of envoy configuration events.
|
||||
message EnvoyConfigurationEvents {
|
||||
repeated EnvoyConfigurationEvent values = 1;
|
||||
}
|
||||
|
||||
// EnvoyConfigurationEvent is an envoy configuration event.
|
||||
message EnvoyConfigurationEvent {
|
||||
google.protobuf.Timestamp time = 1;
|
||||
string message = 2;
|
||||
int32 code = 3;
|
||||
repeated google.protobuf.Any details = 4;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue