Wasmplugin support disable config (#255)

This commit is contained in:
澄潭
2023-03-25 15:51:07 +08:00
committed by GitHub
parent 07ce165661
commit ef6912e466
5 changed files with 146 additions and 42 deletions

View File

@@ -104,6 +104,8 @@ message WasmPlugin {
google.protobuf.Struct default_config = 101;
// Extended by Higress, matching rules take effect
repeated MatchRule match_rules = 102;
// diable the default config
bool default_config_disable = 103;
}
// Extended by Higress
@@ -111,6 +113,7 @@ message MatchRule {
repeated string ingress = 1;
repeated string domain = 2;
google.protobuf.Struct config = 3;
bool config_disable = 4;
}
// The phase in the filter chain where the plugin will be injected.