Add additional header when debug is enabled

This commit is contained in:
Manuel de Brito Fontes 2018-06-17 15:41:39 -04:00 committed by Manuel Alejandro de Brito Fontes
parent 857c3b098b
commit ef4476ecc4
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
3 changed files with 41 additions and 5 deletions

View file

@ -30,6 +30,11 @@ spec:
spec:
containers:
- name: nginx-error-server
image: quay.io/kubernetes-ingress-controller/custom-error-pages-amd64:0.2
image: quay.io/kubernetes-ingress-controller/custom-error-pages-amd64:0.3
ports:
- containerPort: 8080
# Setting the environment variable DEBUG we can see the headers sent
# by the ingress controller to the backend in the client response.
# env:
# - name: DEBUG
# value: "true"