Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Increase default large-client-header-buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocsf committed Oct 26, 2022
1 parent 77519e5 commit 65b456e
Show file tree
Hide file tree
Showing 3 changed files with 442 additions and 3 deletions.
5 changes: 3 additions & 2 deletions addons/ingress-nginx/addon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ spec:
manifest: v1.6.0.yaml
kubernetesVersion: "<1.21.0"
# Generated using the official helm chart: ./generate-manifest
- version: 2.0.0
- version: 2.0.1
selector:
k8s-addon: ingress-nginx.addons.k8s.io
manifest: v2.0.0.yaml
manifest: v2.0.1.yaml
manifestHash: a043108065680468fd9e9da2c371c2a4a6904dbf42f532a9a7bd083286822cee
kubernetesVersion: ">=1.21.0"
3 changes: 2 additions & 1 deletion addons/ingress-nginx/generate-manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ controller:
config:
enable-real-ip: true
use-forwarded-headers: true
large-client-header-buffers: 4 16k
"

echo "Adding ingress-nginx to chart repositories"
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx

echo "Generating manifest"
OUTPUT_FILE="${DIR}/v2.0.0.yaml"
OUTPUT_FILE="${DIR}/v2.0.1.yaml"
echo "$NAMESPACE_VAR" > "$OUTPUT_FILE"
echo "$SETTINGS" | helm template $RELEASE_NAME ingress-nginx/ingress-nginx --namespace $NAMESPACE --values - | grep -v -i "helm" | tee -a "$OUTPUT_FILE"

Expand Down
Loading

0 comments on commit 65b456e

Please sign in to comment.