Commit graph

4159 commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
bab8123c1d Fix proxy_host variable configuration 2019-01-02 15:31:27 -03:00
Kevin Pullin
9de4b4e2a2 L4 config - Only send Service.Spec instead of entire Service. 2019-01-02 09:32:57 -08:00
Kubernetes Prow Robot
3d902ee108 Merge pull request #3602 from aledbf/update-image
Update nginx image
2019-01-02 07:53:06 -08:00
Kubernetes Prow Robot
66d11126a0 Merge pull request #3582 from aledbf/sort-by-creation
Sort ingresses by creation timestamp
2019-01-02 07:42:05 -08:00
Kevin Pullin
74eb1b27ea Pass k8s Service data through to the TCP balancer script.
Fixes broken L4 ExternalName services.

Details
---------

The `tcp_udp_balancer.lua` script checks if the property
`backend.service.spec["type"]` equals "ExternalName".  If so,
the script does a DNS lookup on the name in order to configure
the backend configuration.

However, before this commit, the k8s `Service` data was
_not_ set on the `Backend` struct passed into the `tcp_udp_balancer.lua`
script and therefore the ExternalName check always returned false.

This commit fixes the issue by setting the `Service` field on
the `Backend` struct. This also requires adding a new field to the
`L4Backend` struct first, so that it's available to set on the `Backend`.
2019-01-01 20:50:41 -08:00
Kubernetes Prow Robot
0f5f734c03 Merge pull request #3604 from ramnes/max-worker-open-files
Add an option to automatically set worker_connections based on worker_rlimit_nofile
2018-12-31 04:22:30 -08:00
Kubernetes Prow Robot
4cdf8d6a4c Merge pull request #3605 from ramnes/fix-cla-urls
Fix CLA URLs
2018-12-28 04:48:05 -08:00
ramnes
fcaf1761e1 Fix CLA URLs 2018-12-27 18:54:51 +01:00
ramnes
cfbbcb9c6d Add an option to automatically set worker_connections based on worker_rlimit_nofile 2018-12-27 18:36:19 +01:00
Manuel Alejandro de Brito Fontes
eb8f001890 Sort ingresses by creation timestamp 2018-12-27 10:48:01 -03:00
Manuel Alejandro de Brito Fontes
4d4f9c3128 Update nginx to 1.15.8 (#3601) 2018-12-26 19:12:21 -03:00
Manuel Alejandro de Brito Fontes
ab2145cb3a Update nginx image 2018-12-26 17:49:27 -03:00
Kubernetes Prow Robot
413898a249 Merge pull request #3240 from estaleiro/http2-push-preload
Adds support for HTTP2 Push Preload annotation
2018-12-24 12:05:47 -08:00
Anish Ramasekar
967798ff13 Adds support for HTTP2 Push Preload annotation
update test for backendprotocols

Adds support for HTTP2 Push Preload annotation

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>

Adds support for HTTP2 Push Preload annotation

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>

Adds support for HTTP2 Push Preload annotation

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>

Adds support for HTTP2 Push Preload annotation

Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>

Adds support for HTTP2 Push Preload annotation

Adds support for HTTP2 Push Preload annotation
2018-12-24 17:13:25 -02:00
Manuel Alejandro de Brito Fontes
fff4426dcc Add e2e test 2018-12-21 19:30:34 -03:00
Manuel Alejandro de Brito Fontes
a1270ed07b Add allowPrivilegeEscalation 2018-12-21 19:30:19 -03:00
Kubernetes Prow Robot
550bc24b48 Merge pull request #3594 from bboreham/metrics-per-host-optional
Add a flag to make per-host metrics optional
2018-12-21 11:55:35 -08:00
Maxime Ginters
ca3a941883 Add --disable-catch-all option to disable catch-all server 2018-12-21 13:22:26 -05:00
Bryan Boreham
2de5e37524 Add a flag to make per-host metrics optional
When serving many hosts from one nginx, the metrics may become too
numerous for Prometheus.  Add a flag to disable the host label, so
that metrics are totalled across all hosts.
2018-12-21 17:31:54 +00:00
Kubernetes Prow Robot
d3a5fe2807 Merge pull request #3548 from breunigs/integration-test-graceful-shutdown-clean
e2e test to ensure graceful shutdown does not lose requests
2018-12-21 06:33:27 -08:00
Kubernetes Prow Robot
4077c52fc1 Merge pull request #3581 from Shopify/lua-randomseed-per-worker
lua randomseed per worker
2018-12-20 05:49:39 -08:00
Kubernetes Prow Robot
0ff24cd19f Merge pull request #3575 from Shopify/document-ingress-wildcard
Add documentation for spec.rules.host format
2018-12-20 05:37:53 -08:00
Elvin Efendi
cd63f68494 lua randomseed per worker 2018-12-20 17:09:29 +04:00
Kubernetes Prow Robot
c442163be2 Merge pull request #3587 from Shopify/fix-e2e-test
adjust dind istallation
2018-12-20 05:06:41 -08:00
Elvin Efendi
0c9abb6acc fix dind-cluster executable path 2018-12-20 16:27:42 +04:00
Kubernetes Prow Robot
f1fd9d2c00 Merge pull request #3584 from aledbf/update-go-version
Update go to 1.11.4
2018-12-19 07:27:02 -08:00
Manuel Alejandro de Brito Fontes
013ddb7058 Update go to 1.11.4 2018-12-19 11:33:47 -03:00
Kubernetes Prow Robot
def3c30d45 Merge pull request #3577 from ddgenome/deploy-namespace-labels
Add standard labels to namespace specs
2018-12-18 16:46:19 -08:00
David Dooling
8950d65614 Add standard labels to namespace specs
Add standard app resource metadata labels to the namespaces specs
created when deploying nginx-ingress.

Closes kubernetes/ingress-nginx#3576
2018-12-18 16:38:42 -06:00
Kubernetes Prow Robot
c8c6ed8f4b Merge pull request #3573 from diazjf/doc-update
Update Certificate Generation Docs to not use MD5
2018-12-18 12:12:07 -08:00
Kubernetes Prow Robot
edb5e3c46c Merge pull request #3566 from diazjf/unit-locs
Add Unit Tests for getIngressInformation
2018-12-18 10:04:55 -08:00
Zenara Daley
db38da08aa add documentation 2018-12-18 12:53:54 -05:00
Fernando Diaz
6055f65c17 Update Certificate Generation Docs to not use MD5
Updates the TLS and CA certificate sections to use algorithms
better than md5. Using md5 as a digest causes nginx to fail
to load because it is not accepted by open ssl.

Closes #3571
2018-12-18 11:17:06 -06:00
Fernando Diaz
1915e2e4f1 Add Unit Tests for getIngressInformation
Adds a unit test for the getIngressInformation
function.
2018-12-18 11:10:48 -06:00
Kubernetes Prow Robot
a066c8b9f8 Merge pull request #3569 from Shopify/fix-status-updater
fix status updated: make sure ingress.status is copied
2018-12-17 09:26:55 -08:00
Elvin Efendi
68cd39d21a fix status updated: make sure ingress.status is copied 2018-12-17 16:19:02 +04:00
Kubernetes Prow Robot
c167943dc2 Merge pull request #3505 from Shopify/watch-pod-lua
Update lua configuration_data when number of controller pod change
2018-12-17 00:10:30 -08:00
Maxime Ginters
235583a307 Update lua configuration_data when number of controller pod change 2018-12-14 13:34:54 -05:00
Kubernetes Prow Robot
d035d01114 Merge pull request #3562 from gonzalesraul/patch-1
Rename nginx.yaml to nginx.json
2018-12-14 09:40:12 -08:00
Raul Gonzales
1ba83f196a Rename nginx.yaml to nginx.json 2018-12-14 11:39:12 +00:00
Zenara Daley
45b16b3bd8 Generalize Rewrite Block Creation 2018-12-13 13:02:05 -05:00
Kubernetes Prow Robot
3477adae4c Merge pull request #3551 from Shopify/nested-wildcart-certificate
Fix --enable-dynamic-certificates for nested subdomain
2018-12-12 07:33:27 -08:00
Maxime Ginters
e06205473f Fix --enable-dynamic-certificates for nested subdomain 2018-12-12 09:16:39 -05:00
Kubernetes Prow Robot
326252a735 Merge pull request #3553 from zhuguihua/handle_error_when_executing_diff
handle_error_when_executing_diff
2018-12-12 04:58:21 -08:00
Guihua Zhu
0de9c2260d handle_error_when_executing_diff
Signed-off-by: Guihua Zhu <zhuguihua@cmss.chinamobile.com>
2018-12-12 13:49:17 +08:00
Stefan Breunig
32bf4f3b00 e2e test to ensure graceful shutdown does not lose requests (see #3533 #3536) 2018-12-11 11:37:19 +01:00
Kubernetes Prow Robot
85d7cc4e69 Merge pull request #3503 from zhuguihua/compare_error_with_error_types_from_apimachinery
compare error with error types from k8s.io/apimachinery/pkg/api/errors
2018-12-11 00:41:42 -08:00
Kubernetes Prow Robot
20ae6c5d43 Merge pull request #3525 from Shopify/order_independence_canary_ann
make canary ingresses independent of the order they were applied
2018-12-10 11:14:55 -08:00
Conor Landry
79f76dadde make canary ingresses independent of the order they were applied 2018-12-10 13:17:05 -05:00
Kubernetes Prow Robot
8a2353a3be Merge pull request #3536 from aledbf/replace-entrypoint
Replace dockerfile entrypoint
2018-12-10 06:42:00 -08:00