-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Setting DisableCompression to true to disable unwanted httpclient transformation #4165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@bacongobbler This PR complies with the CLA regulations. Let me know your review comments :) |
This looks great. It's the weekend right now but give me some time to give this a spin next week just to be sure we don't accidentally break anything. Thanks so much for taking the time to fix this! |
Sure. Glad to help :) |
Hey @bacongobbler any luck testing this :) ? |
Hey sorry, I've been away traveling all week. I'll have a look this morning. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manually tested this by pushing stable/traefik to a bitbucket repository, verifying we were getting back the wrong header response, then performed a helm fetch
with this patch. The resultant tarball was fetched down as a gzipped tarball. LGTM!
><> ./bin/helm fetch https://bitbucket.org/bacongobbler/test-helm-charts/downloads/traefik-1.28.1.tgz
><> ./bin/helm install traefik-1.28.1.tgz
NAME: enervated-gorilla
LAST DEPLOYED: Mon Jun 11 15:23:18 2018
NAMESPACE: default
STATUS: DEPLOYED
RESOURCES:
==> v1/ConfigMap
NAME DATA AGE
enervated-gorilla-traefik 1 0s
==> v1/Service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
enervated-gorilla-traefik LoadBalancer 10.98.216.74 <pending> 80:32114/TCP,443:30416/TCP 0s
==> v1beta1/Deployment
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
enervated-gorilla-traefik 1 0 0 0 0s
==> v1/Pod(related)
NAME READY STATUS RESTARTS AGE
enervated-gorilla-traefik-64cbfc8d77-kzgdq 0/1 ContainerCreating 0 0s
NOTES:
1. Get Traefik's load balancer IP/hostname:
NOTE: It may take a few minutes for this to become available.
You can watch the status by running:
$ kubectl get svc enervated-gorilla-traefik --namespace default -w
Once 'EXTERNAL-IP' is no longer '<pending>':
$ kubectl describe svc enervated-gorilla-traefik --namespace default | grep Ingress | awk '{print $3}'
2. Configure DNS records corresponding to Kubernetes ingress resources to point to the load balancer IP/hostname found in step 1
><> file --mime-type -b traefik-1.28.1.tgz
application/x-gzip
Oh, and just to verify:
|
replacing PR #4164 and fixing issue #2916