Skip to content

Commit

Permalink
Update docs about enabling snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
pleshakov committed Mar 29, 2021
1 parent b4d604f commit 46eb301
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/nginx-ingress/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ var (
"Enable preview policies")

enableSnippets = flag.Bool("enable-snippets", false,
"Enable custom NGINX configuration snippets in VirtualServer and VirtualServerRoute resources.")
"Enable custom NGINX configuration snippets in VirtualServer, VirtualServerRoute and TransportServer resources.")

globalConfiguration = flag.String("global-configuration", "",
`A GlobalConfiguration resource for global configuration of the Ingress Controller. Requires -enable-custom-resources. If the flag is set,
Expand Down
2 changes: 1 addition & 1 deletion deployments/helm-chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Parameter | Description | Default
`controller.enableTLSPassthrough` | Enable TLS Passthrough on port 443. Requires `controller.enableCustomResources`. | false
`controller.globalConfiguration.create` | Creates the GlobalConfiguration custom resource. Requires `controller.enableCustomResources`. | false
`controller.globalConfiguration.spec` | The spec of the GlobalConfiguration for defining the global configuration parameters of the Ingress Controller. | {}
`controller.enableSnippets` | Enable custom NGINX configuration snippets in VirtualServer and VirtualServerRoute resources. | false
`controller.enableSnippets` | Enable custom NGINX configuration snippets in VirtualServer, VirtualServerRoute and TransportServer resources. | false
`controller.healthStatus` | Add a location "/nginx-health" to the default server. The location responds with the 200 status code for any request. Useful for external health-checking of the Ingress controller. | false
`controller.healthStatusURI` | Sets the URI of health status location in the default server. Requires `controller.healthStatus`. | "/nginx-health"
`controller.nginxStatus.enable` | Enable the NGINX stub_status, or the NGINX Plus API. | true
Expand Down
2 changes: 1 addition & 1 deletion deployments/helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ controller:
# port: 5353
# protocol: TCP

## Enable custom NGINX configuration snippets in VirtualServer and VirtualServerRoute resources.
## Enable custom NGINX configuration snippets in VirtualServer, VirtualServerRoute and TransportServer resources.
enableSnippets: false

## Add a location based on the value of health-status-uri to the default server. The location responds with the 200 status code for any request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Below we describe the available command-line arguments:
```eval_rst
.. option:: -enable-snippets
Enable custom NGINX configuration snippets in VirtualServer and VirtualServerRoute resources. (default false)
Enable custom NGINX configuration snippets in VirtualServer, VirtualServerRoute and TransportServer resources. (default false)
.. option:: -default-server-tls-secret <string>
Expand Down
2 changes: 1 addition & 1 deletion docs-web/installation/installation-with-helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ The following tables lists the configurable parameters of the NGINX Ingress cont
- The spec of the GlobalConfiguration for defining the global configuration parameters of the Ingress Controller.
- {}
* - ``controller.enableSnippets``
- Enable custom NGINX configuration snippets in VirtualServer and VirtualServerRoute resources.
- Enable custom NGINX configuration snippets in VirtualServer, VirtualServerRoute and TransportServer resources.
- false
* - ``controller.healthStatus``
- Add a location "/nginx-health" to the default server. The location responds with the 200 status code for any request. Useful for external health-checking of the Ingress controller.
Expand Down

0 comments on commit 46eb301

Please sign in to comment.