You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ingress/nginx_gateway_fabric_legacy/1.0/facets.yaml
+24-6Lines changed: 24 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -298,22 +298,32 @@ spec:
298
298
type: string
299
299
title: Path
300
300
description: Path of the application (required for HTTP routes)
301
-
pattern: ^(/[^/]+)*(/)?$
302
-
x-ui-placeholder: Enter path (e.g., / or /api)
303
-
x-ui-error-message: "Value doesn't match pattern, eg: / or /api"
301
+
pattern: ^(/[^\s{};^]*)$
302
+
x-ui-placeholder: "Enter path (e.g., / or /api or /api/v[0-9]+)"
303
+
x-ui-error-message: "Path must start with /"
304
304
x-ui-visible-if:
305
305
field: spec.rules.{{this}}.grpc_config.enabled
306
306
values:
307
307
- false
308
308
- null
309
+
disable_auth:
310
+
type: boolean
311
+
title: Disable Auth for this Route
312
+
description: Disable basic authentication for this specific route (only relevant when basic_auth is enabled)
313
+
default: false
314
+
x-ui-visible-if:
315
+
field: spec.basic_auth
316
+
values:
317
+
- true
309
318
path_type:
310
319
type: string
311
320
title: Path Type
312
-
description: "Path matching type. PathPrefix (default) matches paths starting with the specified prefix. Use Exact for exact path matching."
321
+
description: "Path matching type. RegularExpression (default) matches paths using regex for ingress-nginx parity. Use PathPrefix for prefix matching or Exact for exact path matching."
313
322
enum:
314
-
- Exact
323
+
- RegularExpression
315
324
- PathPrefix
316
-
default: PathPrefix
325
+
- Exact
326
+
default: RegularExpression
317
327
x-ui-visible-if:
318
328
field: spec.rules.{{this}}.grpc_config.enabled
319
329
values:
@@ -778,6 +788,7 @@ spec:
778
788
- namespace
779
789
x-ui-order:
780
790
- disable
791
+
- disable_auth
781
792
- domain_prefix
782
793
- service_name
783
794
- namespace
@@ -800,6 +811,11 @@ spec:
800
811
type: boolean
801
812
title: Force SSL Redirection
802
813
description: Force HTTP to HTTPS redirection
814
+
basic_auth:
815
+
type: boolean
816
+
title: Basic Authentication
817
+
description: Enable/disable basic auth for all routes (individual routes can opt out with disable_auth)
0 commit comments