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
`controller.setAsDefaultIngress` | New Ingresses without an `"ingressClassName"` field specified will be assigned the class specified in `controller.ingressClass`. Only for kubernetes versions >= 1.18. | false
171
171
`controller.watchNamespace` | Namespace to watch for Ingress resources. By default the Ingress controller watches all namespaces. | ""
172
172
`controller.enableCustomResources` | Enable the custom resources. | true
`controller.globalConfiguration.spec` | The spec of the GlobalConfiguration for defining the global configuration parameters of the Ingress Controller. | {}
Copy file name to clipboardExpand all lines: docs-web/configuration/global-configuration/command-line-arguments.md
+4
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,10 @@ Below we describe the available command-line arguments:
33
33
34
34
Enables custom resources. (default true)
35
35
36
+
.. option:: -enable-preview-policies
37
+
38
+
Enables preview policies. (default false)
39
+
36
40
.. option:: -enable-leader-election
37
41
38
42
Enables Leader election to avoid multiple replicas of the controller reporting the status of Ingress, VirtualServer and VirtualServerRoute resources -- only one replica will report status. (default true)
Copy file name to clipboardExpand all lines: docs-web/configuration/policy-resource.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -138,7 +138,7 @@ policies:
138
138
139
139
### RateLimit
140
140
141
-
> **Feature Status**: Rate-Limiting is available as a preview feature: it is suitable for experimenting and testing; however, it must be used with caution in production environments. Additionally, while the feature is in preview status, we might introduce some backward-incompatible changes to the resource specification in the next releases.
141
+
> **Feature Status**: Rate-Limiting is available as a preview feature: it is suitable for experimenting and testing; however, it must be used with caution in production environments. Additionally, while the feature is in preview status, we might introduce some backward-incompatible changes to the resource specification in the next releases. The feature is disabled by default. To enable it, set the [enable-preview-policies](/nginx-ingress-controller/configuration/global-configuration/command-line-arguments/#cmdoption-enable-preview-policies) command-line argument of the Ingress Controller.
142
142
143
143
The rate limit policy configures NGINX to limit the processing rate of requests.
144
144
@@ -212,7 +212,7 @@ When you reference more than one rate limit policy, the Ingress Controller will
212
212
213
213
### JWT
214
214
215
-
> **Feature Status**: JWT is available as a preview feature: it is suitable for experimenting and testing; however, it must be used with caution in production environments. Additionally, while the feature is in preview status, we might introduce some backward-incompatible changes to the resource specification in the next releases.
215
+
> **Feature Status**: JWT is available as a preview feature: it is suitable for experimenting and testing; however, it must be used with caution in production environments. Additionally, while the feature is in preview status, we might introduce some backward-incompatible changes to the resource specification in the next releases. The feature is disabled by default. To enable it, set the [enable-preview-policies](/nginx-ingress-controller/configuration/global-configuration/command-line-arguments/#cmdoption-enable-preview-policies) command-line argument of the Ingress Controller.
216
216
217
217
> Note: This feature is only available in NGINX Plus.
218
218
@@ -279,7 +279,7 @@ In this example the Ingress Controller will use the configuration from the first
279
279
280
280
### IngressMTLS
281
281
282
-
> **Feature Status**: IngressMTLS is available as a preview feature: it is suitable for experimenting and testing; however, it must be used with caution in production environments. Additionally, while the feature is in preview status, we might introduce some backward-incompatible changes to the resource specification in the next releases.
282
+
> **Feature Status**: IngressMTLS is available as a preview feature: it is suitable for experimenting and testing; however, it must be used with caution in production environments. Additionally, while the feature is in preview status, we might introduce some backward-incompatible changes to the resource specification in the next releases. The feature is disabled by default. To enable it, set the [enable-preview-policies](/nginx-ingress-controller/configuration/global-configuration/command-line-arguments/#cmdoption-enable-preview-policies) command-line argument of the Ingress Controller.
283
283
284
284
The IngressMTLS policy configures client certificate verification.
285
285
@@ -347,7 +347,7 @@ In this example the Ingress Controller will use the configuration from the first
347
347
348
348
### EgressMTLS
349
349
350
-
> **Feature Status**: EgressMTLS is available as a preview feature: it is suitable for experimenting and testing; however, it must be used with caution in production environments. Additionally, while the feature is in preview status, we might introduce some backward-incompatible changes to the resource specification in the next releases.
350
+
> **Feature Status**: EgressMTLS is available as a preview feature: it is suitable for experimenting and testing; however, it must be used with caution in production environments. Additionally, while the feature is in preview status, we might introduce some backward-incompatible changes to the resource specification in the next releases. The feature is disabled by default. To enable it, set the [enable-preview-policies](/nginx-ingress-controller/configuration/global-configuration/command-line-arguments/#cmdoption-enable-preview-policies) command-line argument of the Ingress Controller.
351
351
352
352
The EgressMTLS policy configures upstreams authentication and certificate verification.
0 commit comments