[bitnami/contour]: Add contour debug level option. (#9749)

Signed-off-by: lou-lan <loulan@loulan.me>
This commit is contained in:
lou-lan
2022-04-11 13:24:24 +02:00
committed by GitHub
parent 0264ab422b
commit 4a94de4eaf
4 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -27,4 +27,4 @@ sources:
- https://github.com/envoyproxy/envoy
- https://github.com/bitnami/bitnami-docker-contour
- https://projectcontour.io
version: 7.6.0
version: 7.7.0
+5 -3
View File
@@ -170,6 +170,8 @@ $ helm uninstall my-release
| `contour.ingressClass.name` | Name of the ingress class to route through this controller. | `""` |
| `contour.ingressClass.create` | Whether to create or not the IngressClass resource | `true` |
| `contour.ingressClass.default` | Mark IngressClass resource as default for cluster | `true` |
| `contour.debug` | Enable Contour debug log level | `false` |
| `contour.kubernetesDebug` | Contour kubernetes debug log level, Default 0, minimum 0, maximum 9. | `0` |
### Envoy parameters
@@ -352,7 +354,7 @@ $ helm uninstall my-release
| `ingress.enabled` | Ingress configuration enabled | `false` |
| `ingress.certManager` | Add annotations for cert-manager | `false` |
| `ingress.annotations` | Annotations to be added to the web ingress. | `{}` |
| `ingress.hostname` | Hostename for the Ingress object | `contour.local` |
| `ingress.hostname` | Hostname for the Ingress object | `contour.local` |
| `ingress.path` | The Path to Concourse | `/` |
| `ingress.rulesOverride` | Ingress rules override | `[]` |
| `ingress.selfSigned` | Create a TLS secret for this ingress record using self-signed certificates generated by Helm | `false` |
@@ -487,7 +489,7 @@ configInline:
### Deploying Contour with an AWS NLB
By default, Contour is launched with a AWS Classic ELB. To launch contour backed by a NLB, please set [these settings](https://github.com/projectcontour/contour/tree/master/examples/contour#deploying-with-host-networking-enabled-for-envoy):
By default, Contour is launched with an AWS Classic ELB. To launch contour backed by a NLB, please set [these settings](https://github.com/projectcontour/contour/tree/master/examples/contour#deploying-with-host-networking-enabled-for-envoy):
```yaml
envoy:
@@ -623,7 +625,7 @@ $ kubectl apply -f backup.yaml
Most important changes are:
- Using helm hooks to generate new TLS certificates for gRPC calls between Contour and Envoy. This enables us to use the same container image for the contour controller and the certgen job without upgrade issues due to JobSpec immutablility.
- Using helm hooks to generate new TLS certificates for gRPC calls between Contour and Envoy. This enables us to use the same container image for the contour controller and the certgen job without upgrade issues due to JobSpec immutability.
- Rename parameter `contour.createCustomResource` to `contour.installCRDs`
- Sync CRDs with [upstream project examples](https://github.com/projectcontour/contour/tree/main/examples/contour). Please remember that helm does not touch existing CRDs. As of today, the most reliable way to update the CRDs is, to do it outside helm (Use `--skip-crds` when using helm v3 and `--set contour.installCRDs=false` when using helm v2). Read [Upgrading Contour](https://projectcontour.io/resources/upgrading/) and execute the following `kubectl` command before helm upgrade:
@@ -96,6 +96,10 @@ spec:
- --contour-cert-file=/certs/tls.crt
- --contour-key-file=/certs/tls.key
- --config-path=/config/contour.yaml
{{- if .Values.contour.debug }}
- --debug
{{- end }}
- --kubernetes-debug={{ .Values.contour.kubernetesDebug }}
{{- if (include "contour.isIngressClassNameDefined" .) }}
- --ingress-class-name={{ include "contour.ingressClassName" . }}
{{- end }}
+8 -1
View File
@@ -403,6 +403,13 @@ contour:
create: true
default: true
## @param contour.debug Enable Contour debug log level
##
debug: false
## @param contour.kubernetesDebug Contour kubernetes debug log level, Default 0, minimum 0, maximum 9.
kubernetesDebug: 0
## @section Envoy parameters
##
@@ -1075,7 +1082,7 @@ ingress:
## Either `hosts` or `rulesOverride` must be provided if Ingress is enabled.
## `hosts` sets up the Ingress with default rules per provided hostname.
## @param ingress.hostname Hostename for the Ingress object
## @param ingress.hostname Hostname for the Ingress object
##
hostname: contour.local