@@ -46,6 +46,7 @@ func TestAnnotations(t *testing.T) {
46
46
"a/allowed_idp_claims" : `key: ["val1", "val2"]` ,
47
47
"a/allowed_users" : `["a"]` ,
48
48
"a/cors_allow_preflight" : "true" ,
49
+ "a/description" : "DESCRIPTION" ,
49
50
"a/health_checks" : `[{"timeout": "10s", "interval": "1m", "healthy_threshold": 1, "unhealthy_threshold": 2, "http_health_check": {"path": "/"}}]` ,
50
51
"a/host_path_regex_rewrite_pattern" : "rewrite-pattern" ,
51
52
"a/host_path_regex_rewrite_substitution" : "rewrite-sub" ,
@@ -54,6 +55,7 @@ func TestAnnotations(t *testing.T) {
54
55
"a/idle_timeout" : `60s` ,
55
56
"a/kubernetes_service_account_token_secret" : "k8s_token" ,
56
57
"a/lb_policy" : "LEAST_REQUEST" ,
58
+ "a/logo_url" : "LOGO_URL" ,
57
59
"a/least_request_lb_config" : `{"choice_count":3,"active_request_bias":{"default_value":4,"runtime_key":"key"},"slow_start_config":{"slow_start_window":"3s","aggression":{"runtime_key":"key"}}}` ,
58
60
"a/pass_identity_headers" : "true" ,
59
61
"a/policy" : testPPL ,
@@ -187,9 +189,12 @@ func TestAnnotations(t *testing.T) {
187
189
AllowedIdpClaims : map [string ]* structpb.ListValue {
188
190
"key" : {Values : []* structpb.Value {structpb .NewStringValue ("val1" ), structpb .NewStringValue ("val2" )}},
189
191
},
192
+ SourcePpl : proto .String (`{"allow":{"or":[{"domain":{"is":"pomerium.com"}}]}}` ),
190
193
}},
191
194
TlsSkipVerify : true ,
192
195
TlsServerName : "my.server.name" ,
196
+ Description : "DESCRIPTION" ,
197
+ LogoUrl : "LOGO_URL" ,
193
198
}, cmpopts .IgnoreUnexported (
194
199
pb.Route {},
195
200
pb.RouteRewriteHeader {},
0 commit comments