Commit graph

1205 commits

Author SHA1 Message Date
Joao Morais
29c43ad755 Create or delete ingress based on class annotation 2017-06-07 13:16:34 -03:00
Manuel de Brito Fontes
3271e0bfd4 Update nginx-slim to 0.18 2017-06-07 11:33:13 -04:00
Manuel de Brito Fontes
e010591240 Release nginx-slim 0.18 2017-06-07 11:07:12 -04:00
Manuel de Brito Fontes
f299ea70a7 Release ubuntu-slim 0.11 2017-06-07 10:38:03 -04:00
Nick Sardo
8128b2afde Merge pull request #786 from aledbf/update-echoheaders
Update echoserver image version in examples
2017-06-06 16:38:48 -07:00
Nick Sardo
5aa37f8ff6 Merge pull request #818 from nicksardo/gce-fix-backendStatus
[GLBC] Fix backend status out of bounds error
2017-06-06 13:06:26 -07:00
Nick Sardo
d109e9d377 Fix backend status out of bounds 2017-06-06 13:02:57 -07:00
Nick Sardo
a29fb123b9 Merge pull request #817 from nicksardo/gce-fix-mapsEqual
[GCLB] Fix mapsEqual out of bounds error
2017-06-06 12:50:46 -07:00
Nick Sardo
add0792565 Fix mapsEqual out of bounds error 2017-06-06 12:40:37 -07:00
Manuel Alejandro de Brito Fontes
6d89388112 Merge pull request #813 from olvesh/externalauth_client_max_body_size_811
Added client_max_body_size to authPath location
2017-06-06 11:11:46 -04:00
Manuel Alejandro de Brito Fontes
e45657e8d3 Merge pull request #814 from arno01/nginx-ingress-controller-rbac-fix1
rbac-nginx: resourceNames cannot filter create verb
2017-06-04 12:41:31 -04:00
Andrey Arapov
a85cc0a365 rbac-nginx: resourceNames cannot filter create verb 2017-06-03 11:28:28 +02:00
Olve Sæther Hansen
dac7e5a2b7 Added client_max_body_size to authPath location
Seems like nginx denies the request because it would be over the max body size,
event if `proxy_pass_request_body` is `off`.

This fixes 811
2017-06-02 22:40:29 +02:00
Manuel Alejandro de Brito Fontes
f258913a52 Merge pull request #806 from puja108/patch-1
fix ingress rbac roles
2017-06-02 12:02:14 -04:00
Manuel Alejandro de Brito Fontes
40b0cc38f1 Merge pull request #809 from aledbf/fix-variables-map
Fix dynamic variable name
2017-06-02 11:59:32 -04:00
Jan Weitz
c068e4efe0 Fix #798 - RBAC for leader election
Using gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.7
the nginx-controller needs to handle leader-election via configmaps.

To perform the leader-election the nginx-controller needs to have the
appropiate RBAC permissions.

Previously to this fix, the following errors occured:

-  cannot get configmaps in the namespace "NAMESPACE_PLACEHOLDER". (get configmaps ingress-controller-leader-nginx)
- initially creating leader election record: User "system:serviceaccount:NAMESPACE_PLACEHOLDER" cannot create configmaps in the namespace "NAMESPACE_PLACEHOLDER". (post configmaps)

fix ingress rbac roles

There was 2 things that the current IC (0.9 beta7) needs.

The ClusterRole was missing `get nodes`:

```
RBAC DENY: user "system:serviceaccount:kube-system:nginx-ingress-controller" groups [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] cannot "get" resource "nodes" named "xxx" cluster-wide
```

The Role was missing `update configmaps`:

```RBAC DENY: user "system:serviceaccount:kube-system:nginx-ingress-controller" groups [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] cannot "update" resource "configmaps" named "ingress-controller-leader-nginx" in namespace "kube-system"```

removed update configmap because of #798

rebased on master, moved get nodes to own rule

added get nodes to cluster permissions
2017-06-02 17:57:15 +02:00
Manuel de Brito Fontes
3a6399810f Fix dynamic variable name 2017-06-02 11:12:02 -04:00
Manuel Alejandro de Brito Fontes
bb08098fca Merge pull request #804 from weitzj/fix/798
Fix #798 - RBAC for leader election
2017-06-01 20:18:36 -04:00
Jan Weitz
b3a462c6a7 Fix #798 - RBAC for leader election
Using gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.7
the nginx-controller needs to handle leader-election via configmaps.

To perform the leader-election the nginx-controller needs to have the
appropiate RBAC permissions.

Previously to this fix, the following errors occured:

-  cannot get configmaps in the namespace "NAMESPACE_PLACEHOLDER". (get configmaps ingress-controller-leader-nginx)
- initially creating leader election record: User "system:serviceaccount:NAMESPACE_PLACEHOLDER" cannot create configmaps in the namespace "NAMESPACE_PLACEHOLDER". (post configmaps)
2017-06-01 21:30:21 +02:00
Nick Sardo
8650d69a7c Merge pull request #785 from aledbf/echoheaders
Publish echoheader image
2017-05-30 11:01:43 -07:00
Manuel de Brito Fontes
016780193b Publish echoheader image 2017-05-30 13:51:32 -04:00
Manuel Alejandro de Brito Fontes
df32efe4de Merge pull request #792 from aledbf/refactor-has-synced
Avoid checking if the controllers are synced
2017-05-29 20:38:30 -04:00
Manuel Alejandro de Brito Fontes
f6da636645 Merge pull request #753 from jcmoraisjr/jm-secret-tracker
Move secretTracker updating to GetAuthCertificate()
2017-05-29 17:01:40 -04:00
Manuel de Brito Fontes
2847d266fd Avoid checking if the controllers are synced 2017-05-29 12:22:30 -04:00
Manuel Alejandro de Brito Fontes
22a91a04ca Merge pull request #791 from mingyang91/patch-1
typo
2017-05-29 10:56:49 -04:00
明扬
1cfdde28c6 typo 2017-05-29 22:32:48 +08:00
Manuel Alejandro de Brito Fontes
5f8ca41c5f Merge pull request #790 from arjanschaaf/duplicate-real-ip
#789 removing duplicate X-Real-IP header
2017-05-29 08:06:21 -04:00
Arjan Schaaf
9e003943f0 #789 removing duplicate X-Real-IP header introduced e3fca6a192 2017-05-29 11:43:05 +02:00
Manuel Alejandro de Brito Fontes
1d89d6ebaa Merge pull request #787 from aledbf/pass-server-header
Add setting to allow returning the Server header from the backend
2017-05-28 19:16:58 -04:00
Manuel de Brito Fontes
420462abf4 Add setting to allow returning the Server header from the backend 2017-05-28 17:40:25 -04:00
Manuel Alejandro de Brito Fontes
9d68a62030 Merge pull request #784 from aledbf/variable-hash-size
Allow customization of variables hash tables
2017-05-28 17:25:05 -04:00
Manuel de Brito Fontes
04a0492ceb Update echoserver image version in examples 2017-05-28 17:19:34 -04:00
Manuel de Brito Fontes
3ccb66801d Allow customization of variables hash tables 2017-05-28 16:05:49 -04:00
Manuel Alejandro de Brito Fontes
58e0c742d0 Merge pull request #783 from unixwitch/nginx-app-root
nginx/README.md: clarify app-root and fix example hyperlink
2017-05-28 15:43:51 -04:00
Liss Tarnell
32c002cffc nginx/README.md: clarify app-root and fix example hyperlink 2017-05-28 20:41:00 +01:00
Manuel Alejandro de Brito Fontes
8c8a8aa58e Merge pull request #776 from unixwitch/annotations-list
docs/annotations.md: add list of known annotations
2017-05-28 14:54:57 -04:00
Liss Tarnell
77c1257a86 docs/annotations.md: fix app-root and clean up haproxy 2017-05-28 19:47:24 +01:00
Manuel Alejandro de Brito Fontes
f574c02c32 Merge pull request #774 from aledbf/fix-tcp-upd-listen
Add IPv6 support in TCP and UDP stream section
2017-05-28 13:11:05 -04:00
Manuel Alejandro de Brito Fontes
dbfa3b2e1a Merge pull request #780 from xeor/patch-1
Correcting image version link
2017-05-27 15:29:15 -04:00
Lars Solberg
f3f6f5ffe7 Correcting image version link 2017-05-27 21:04:40 +02:00
Manuel Alejandro de Brito Fontes
aef3e4e74f Merge pull request #773 from aknuds1/fix-readme
Fix README WRT. building nginx-ingress-controller
2017-05-27 08:06:33 -04:00
Nick Sardo
13830eb1ff Merge pull request #779 from nicksardo/recorder-scheme
Change recorder event scheme for GCE
2017-05-26 15:39:06 -07:00
Nick Sardo
1c60ae7212 Use scheme package 2017-05-26 14:43:35 -07:00
Nick Sardo
a055a1381a Merge pull request #778 from aledbf/fix-beta-6
Release nginx ingress controller 0.9-beta.7
2017-05-26 12:58:28 -07:00
Manuel de Brito Fontes
034f86bfef Release nginx ingress controller 0.9-beta.7 2017-05-26 15:10:07 -04:00
Nick Sardo
2c5b4ab733 Merge pull request #777 from aledbf/fix-ssl-proxy
Update sniff parser to fix index out of bound error
2017-05-26 11:59:33 -07:00
Manuel de Brito Fontes
a44b98408c Update sniff parser to fix index out of bound error 2017-05-26 14:25:06 -04:00
Liss Tarnell
ca6930f7f0 docs/annotations.md: add list of known annotations
Per discussion in #770 and on Slack, create a list of known annotations across
various Ingress controller implementations.  This will (hopefully) increase
compatibility across implementations and reduce the need for users to change
all their annotations when changing Ingress controllers.
2017-05-26 18:51:32 +01:00
Manuel de Brito Fontes
5b2625fec8 Add support for IPv6 in TCP and UDP stream section 2017-05-26 12:19:54 -04:00
Arve Knudsen
d6da0bb56c Fix README wrt. building nginx-ingress-controller 2017-05-26 16:20:21 +02:00