Skip to content

Commit 85f2d98

Browse files
committed
Fully remove default debug value
1 parent 8dedb6e commit 85f2d98

File tree

14 files changed

+4
-20
lines changed

14 files changed

+4
-20
lines changed

charts/nginx-gateway-fabric/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,9 @@ The following table lists the configurable parameters of the NGINX Gateway Fabri
258258

259259
| Key | Description | Type | Default |
260260
|-----|-------------|------|---------|
261-
| `nginx` | The nginx section contains the configuration for all NGINX data plane deployments installed by the NGINX Gateway Fabric control plane. | object | `{"config":{},"container":{},"debug":false,"image":{"pullPolicy":"Always","repository":"ghcr.io/nginx/nginx-gateway-fabric/nginx","tag":"edge"},"imagePullSecret":"","imagePullSecrets":[],"kind":"deployment","plus":false,"pod":{},"replicas":1,"service":{"externalTrafficPolicy":"Local","type":"LoadBalancer"},"usage":{"caSecretName":"","clientSSLSecretName":"","endpoint":"","resolver":"","secretName":"nplus-license","skipVerify":false}}` |
261+
| `nginx` | The nginx section contains the configuration for all NGINX data plane deployments installed by the NGINX Gateway Fabric control plane. | object | `{"config":{},"container":{},"image":{"pullPolicy":"Always","repository":"ghcr.io/nginx/nginx-gateway-fabric/nginx","tag":"edge"},"imagePullSecret":"","imagePullSecrets":[],"kind":"deployment","plus":false,"pod":{},"replicas":1,"service":{"externalTrafficPolicy":"Local","type":"LoadBalancer"},"usage":{"caSecretName":"","clientSSLSecretName":"","endpoint":"","resolver":"","secretName":"nplus-license","skipVerify":false}}` |
262262
| `nginx.config` | The configuration for the data plane that is contained in the NginxProxy resource. | object | `{}` |
263263
| `nginx.container` | The container configuration for the NGINX container. | object | `{}` |
264-
| `nginx.debug` | Enable debugging for NGINX. Uses the nginx-debug binary. The NGINX error log level should be set to debug in the NginxProxy resource. | bool | `false` |
265264
| `nginx.image.repository` | The NGINX image to use. | string | `"ghcr.io/nginx/nginx-gateway-fabric/nginx"` |
266265
| `nginx.imagePullSecret` | The name of the secret containing docker registry credentials. Secret must exist in the same namespace as the helm release. The control plane will copy this secret into any namespace where NGINX is deployed. | string | `""` |
267266
| `nginx.imagePullSecrets` | A list of secret names containing docker registry credentials. Secrets must exist in the same namespace as the helm release. The control plane will copy these secrets into any namespace where NGINX is deployed. | list | `[]` |

charts/nginx-gateway-fabric/templates/nginxproxy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ spec:
2323
{{- end }}
2424
image:
2525
{{- toYaml .Values.nginx.image | nindent 10 }}
26+
{{- if .Values.nginx.debug }}
2627
debug: {{ .Values.nginx.debug }}
28+
{{- end }}
2729
{{- end }}
2830
{{- if .Values.nginx.service }}
2931
service:

charts/nginx-gateway-fabric/values.schema.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,6 @@
229229
"title": "container",
230230
"type": "object"
231231
},
232-
"debug": {
233-
"default": false,
234-
"description": "Enable debugging for NGINX. Uses the nginx-debug binary. The NGINX error log level should be set to debug in the NginxProxy resource.",
235-
"required": [],
236-
"title": "debug",
237-
"type": "boolean"
238-
},
239232
"image": {
240233
"properties": {
241234
"pullPolicy": {

charts/nginx-gateway-fabric/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,4 +425,4 @@ nginx:
425425
# loadBalancerSourceRanges: []
426426

427427
# -- Enable debugging for NGINX. Uses the nginx-debug binary. The NGINX error log level should be set to debug in the NginxProxy resource.
428-
debug: false
428+
# debug: false

deploy/aws-nlb/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ spec:
301301
kubernetes:
302302
deployment:
303303
container:
304-
debug: false
305304
image:
306305
pullPolicy: Always
307306
repository: ghcr.io/nginx/nginx-gateway-fabric/nginx

deploy/azure/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ spec:
303303
kubernetes:
304304
deployment:
305305
container:
306-
debug: false
307306
image:
308307
pullPolicy: Always
309308
repository: ghcr.io/nginx/nginx-gateway-fabric/nginx

deploy/default/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ spec:
301301
kubernetes:
302302
deployment:
303303
container:
304-
debug: false
305304
image:
306305
pullPolicy: Always
307306
repository: ghcr.io/nginx/nginx-gateway-fabric/nginx

deploy/experimental-nginx-plus/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@ spec:
308308
kubernetes:
309309
deployment:
310310
container:
311-
debug: false
312311
image:
313312
pullPolicy: Always
314313
repository: private-registry.nginx.com/nginx-gateway-fabric/nginx-plus

deploy/experimental/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ spec:
306306
kubernetes:
307307
deployment:
308308
container:
309-
debug: false
310309
image:
311310
pullPolicy: Always
312311
repository: ghcr.io/nginx/nginx-gateway-fabric/nginx

deploy/nginx-plus/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ spec:
303303
kubernetes:
304304
deployment:
305305
container:
306-
debug: false
307306
image:
308307
pullPolicy: Always
309308
repository: private-registry.nginx.com/nginx-gateway-fabric/nginx-plus

deploy/nodeport/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ spec:
301301
kubernetes:
302302
deployment:
303303
container:
304-
debug: false
305304
image:
306305
pullPolicy: Always
307306
repository: ghcr.io/nginx/nginx-gateway-fabric/nginx

deploy/openshift/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ spec:
311311
kubernetes:
312312
deployment:
313313
container:
314-
debug: false
315314
image:
316315
pullPolicy: Always
317316
repository: ghcr.io/nginx/nginx-gateway-fabric/nginx

deploy/snippets-filters-nginx-plus/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ spec:
306306
kubernetes:
307307
deployment:
308308
container:
309-
debug: false
310309
image:
311310
pullPolicy: Always
312311
repository: private-registry.nginx.com/nginx-gateway-fabric/nginx-plus

deploy/snippets-filters/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ spec:
304304
kubernetes:
305305
deployment:
306306
container:
307-
debug: false
308307
image:
309308
pullPolicy: Always
310309
repository: ghcr.io/nginx/nginx-gateway-fabric/nginx

0 commit comments

Comments
 (0)