Manuel de Brito Fontes
ad24784700
Only update Ingress status for the configured class
2017-03-09 22:04:03 -03:00
Cole Mickens
09e6aabce4
Add auth-signin annotation
2017-03-08 20:24:01 -03:00
Gorka Lerchundi Osa
e1c1dfadc7
allow specifying custom dh param
...
fixes #162
2017-03-08 15:32:32 +01:00
Manuel de Brito Fontes
9ed7bc6ad1
Remove special check in sort server by name
2017-03-07 20:07:43 -03:00
Manuel de Brito Fontes
7f73916715
External auth method is optional
2017-03-07 19:45:54 -03:00
Manuel de Brito Fontes
91904de4a1
Fix RateLimit comment
2017-03-07 11:41:05 -03:00
Ricardo Pchevuzinske Katz
e107e2b87f
Temporary PEM Files cleanup
2017-03-06 16:33:44 -03:00
Ricardo Pchevuzinske Katz
51235a38e8
Removes wrong secret enqueing and improve the Fake Cert generation
2017-03-06 16:29:33 -03:00
Ricardo Pchevuzinske Katz
6c1b45a663
Generates a Self signed certificate for default vhost if the secret doesn't exists
...
Generates a Self signed certificate for default vhost if the secret doesn't exists
modified: core/pkg/ingress/controller/backend_ssl.go
modified: core/pkg/ingress/controller/controller.go
modified: core/pkg/net/ssl/ssl.go
2017-03-06 09:21:08 -03:00
Manuel Alejandro de Brito Fontes
6cd21f7dea
Merge pull request #362 from gianrubio/fix-ingress-class
...
Fix ingress class
2017-03-03 09:49:59 -03:00
Peter Wilson
1a72b3f775
add ForceSSLRedirect ingress annotation
2017-03-03 16:44:29 +11:00
caiyixiang
248f6ade75
add judgment
2017-03-03 08:39:18 +08:00
rsafronov
d5ede33f88
test fix
2017-03-02 15:48:36 -05:00
rsafronov
05526e4a66
Merge remote-tracking branch 'upstream/master' into nginx/extauth_headers
...
# Conflicts:
# controllers/nginx/pkg/template/template.go
2017-03-02 14:46:18 -05:00
Giancarlo Rubio
2ddba72baa
Fix ingress class
2017-03-02 16:50:31 +01:00
Ricardo Pchevuzinske Katz
02fbf00fcb
Checks if the TLS secret contains a valid keypair structure, with 'CERTIFICATE' before the Private Key
2017-03-01 15:44:39 -03:00
electroma
c8eda8f17f
Merge branch 'master' into nginx/extauth_headers
2017-02-27 16:28:11 -05:00
Manuel Alejandro de Brito Fontes
fb8e2d7373
Merge pull request #351 from danielqsj/master
...
Enable custom election id for status sync.
2017-02-27 09:19:15 -03:00
shijunqian
2d526b213c
Enable custom election id for status sync.
2017-02-27 15:35:04 +08:00
Ricardo Pchevuzinske Katz
a342c0bce3
Adds correct support for TLS Muthual autentication and depth verification
...
modified: controllers/nginx/configuration.md
modified: controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl
modified: core/pkg/ingress/annotations/authtls/main.go
modified: core/pkg/ingress/controller/backend_ssl.go
modified: core/pkg/ingress/controller/controller.go
modified: core/pkg/ingress/controller/util_test.go
modified: core/pkg/ingress/resolver/main.go
modified: core/pkg/ingress/types.go
modified: core/pkg/net/ssl/ssl.go
modified: examples/PREREQUISITES.md
new file: examples/auth/client-certs/nginx/README.md
new file: examples/auth/client-certs/nginx/nginx-tls-auth.yaml
2017-02-24 22:49:01 -03:00
Manuel de Brito Fontes
a44130f7f5
Fix lint error
2017-02-24 21:54:47 -03:00
Manuel de Brito Fontes
84324af140
Refactoring of TCP and UDP services
2017-02-24 20:14:43 -03:00
Manuel Alejandro de Brito Fontes
33ab550290
Merge pull request #332 from aledbf/snippets
...
Add annotation to customize nginx configuration
2017-02-24 18:39:45 -03:00
Manuel de Brito Fontes
c6dd2db550
Fix node lister when --watch-namespace is used
2017-02-24 14:18:10 -03:00
Giancarlo Rubio
704a18cec9
Add support for proxy cookie path/proxy cookie domain
2017-02-24 16:06:30 +01:00
Marcin Owsiany
5159afad2a
Fix for vet complaints: #335 .
2017-02-24 11:56:31 +01:00
Manuel de Brito Fontes
a20c287614
Add annotation to customize nginx location configuration
2017-02-23 16:48:59 -03:00
fate-grand-order
3d0e374f9e
fix misspell "affinity" in main.go
2017-02-23 21:59:09 +08:00
Manuel de Brito Fontes
7013a52ee5
Return sorted endpoints
2017-02-22 14:41:44 -03:00
Manuel Alejandro de Brito Fontes
05235588ff
Merge pull request #281 from andrewstuart/master
...
Add chmod up directory tree for world read/execute on directories
2017-02-18 09:33:08 -03:00
Manuel Alejandro de Brito Fontes
a9d68545ef
Merge pull request #286 from aledbf/cleanup
...
Add logs to help debugging and simplify default upstream configuration
2017-02-18 09:32:27 -03:00
Prashanth B
698c08402a
Merge pull request #258 from rikatz/nginx-sticky-annotations
...
Nginx sticky annotations
2017-02-17 05:27:18 +05:30
Manuel de Brito Fontes
8bebfbecaf
Add logs to help debugging and simplify default upstream configuration
2017-02-16 14:26:58 -03:00
Kraig Amador
0d05db2d66
Added a Node StoreLister type to support writing ingress controllers that use NodePorts
2017-02-16 09:51:57 -07:00
Manuel Alejandro de Brito Fontes
b5819d8f4d
Merge pull request #246 from aledbf/set-headers
...
Add support for custom proxy headers using a ConfigMap
2017-02-16 07:35:57 -03:00
Manuel Alejandro de Brito Fontes
111f338fa3
Merge pull request #272 from aledbf/refactor-annotation-parsers
...
Fix error getting class information from Ingress annotations
2017-02-16 07:35:34 -03:00
Andrew Stuart
2b02ea6530
Add chmod up directory tree for world read/execute on directories
2017-02-15 12:29:27 -07:00
Ricardo Pchevuzinske Katz
b06ead1ea3
Corrects the affinity test
2017-02-15 11:50:10 -02:00
Manuel de Brito Fontes
5c9bf12648
Fix error getting class information from Ingress annotations
2017-02-14 11:02:23 -03:00
Ricardo Pchevuzinske Katz
0161ae43d9
Improve in documentation and naming case
2017-02-14 08:49:10 -02:00
Ricardo Pchevuzinske Katz
a158e5fc5a
Improve the session affinity feature
2017-02-12 21:13:39 -02:00
Manuel de Brito Fontes
eb69a1d011
Fix rewrite annotation parser
2017-02-11 19:12:56 -03:00
joshrosso
e247fdb7b6
types.go: fix typo in godoc
...
in an backend -> in a backend
2017-02-10 10:16:43 -07:00
Ricardo Pchevuzinske Katz
6809319318
Adds support for configuring stickness per Ingress
2017-02-10 12:24:16 -02:00
chentao1596
9aa601f8df
add unit test cases for core.pkg.ingress.status.election
2017-02-10 16:08:31 +08:00
chentao1596
f33a925e81
add unit test cases for core.pkg.ingress.status.status
2017-02-10 16:03:12 +08:00
Ricardo Pchevuzinske Katz
79e186cb77
New sticky session configuration
2017-02-10 01:33:23 -02:00
Ricardo Pchevuzinske Katz
1dbe65ecb6
Initial support for sticky config in annotations
2017-02-10 01:00:17 -02:00
chentao1596
a72e94f297
modify to get the right content when updating ingress
2017-02-10 10:51:11 +08:00
chentao1596
a77dd5dfd0
remove redudant alias
2017-02-10 10:47:18 +08:00
rsafronov
4c2b2512f5
Merge branch 'upstream' into nginx/extauth_headers
2017-02-08 16:57:03 -05:00
Manuel de Brito Fontes
5cc5669938
Add support for custom proxy headers using a ConfigMap
2017-02-07 17:00:23 -03:00
caiyixiang
229250f419
changeUDP
2017-02-07 14:35:39 +08:00
Manuel de Brito Fontes
80a0481550
Change searchs with searches
2017-02-05 19:41:05 -03:00
Manuel Alejandro de Brito Fontes
2b4a044d21
Merge pull request #212 from aledbf/udp-services
...
Simplify code to obtain TCP or UDP services
2017-02-04 18:22:15 -03:00
rsafronov
66813229f8
Merge branch 'upstream' into nginx/extauth_headers
2017-02-03 20:10:57 -05:00
rsafronov
302fa5f4bb
Added: support for http header passing from external authentication service response
2017-02-03 19:43:15 -05:00
Joao Morais
b7e8bde0e9
Fix panic if a tempfile cannot be created
2017-02-03 18:50:51 -02:00
Manuel Alejandro de Brito Fontes
1cebef2dbf
Merge pull request #121 from gianrubio/targetport-string
...
FIX: ingress was not creating the endpoint when target port is string
2017-02-02 21:22:39 -03:00
Manuel de Brito Fontes
4343aabba8
Simplify code to obtain TCP or UDP services
2017-02-02 19:41:02 -03:00
Manuel de Brito Fontes
4cc24bd216
Fix nil HTTP field
2017-02-02 16:54:56 -03:00
Ricardo Pchevuzinske Katz
cc1413261f
Allows the usage of Default SSL Cert
2017-01-26 16:51:55 -02:00
Manuel de Brito Fontes
bc810d8eef
Fix TLS does not get updated when changed
2017-01-26 00:01:33 -03:00
Manuel Alejandro de Brito Fontes
800d680413
Merge pull request #172 from chentao1596/prefect-util-test
...
add some unit test cases for some packages under folder "core.pkg.ingress"
2017-01-25 07:32:57 -03:00
chentao1596
93c712867a
add unit test cases for core.pkg.ingress.sort_ingress
2017-01-25 10:59:46 +08:00
chentao1596
0245868808
prefect unit test cases for core.pkg.ingress.controller.annotations
2017-01-25 10:17:45 +08:00
chentao1596
f5706d1d74
prefect unit test cases for core.pkg.ingress.controller.util
2017-01-25 10:12:56 +08:00
Ricardo Pchevuzinske Katz
a930b29e41
Changes the SSL Temp file to something inside the same SSL Directory
2017-01-24 11:21:49 -02:00
chentao1596
59903592ac
Prefect unit test cases for annotation.proxy
2017-01-23 16:00:03 +08:00
Tang Le
50297c8f47
Fix issue for ratelimit
...
Signed-off-by: Tang Le <tangle3@wanda.cn>
2017-01-23 10:01:51 +08:00
Manuel Alejandro de Brito Fontes
8f9b71002b
Merge pull request #154 from chentao1596/cors-unit-test
...
add unit test cases for core.pkg.ingress.annotations.cors
2017-01-21 23:25:13 -03:00
Manuel de Brito Fontes
3df139cb56
Add configuration and annotation for port_in_redirect
2017-01-21 23:01:21 -03:00
chentao1596
4bdc7d87ff
add unit test cases for annotations.cors
2017-01-22 09:32:22 +08:00
Manuel de Brito Fontes
db17db812d
Add annotation for port in redirect
2017-01-21 13:56:54 -03:00
Manuel Alejandro de Brito Fontes
728c1c96f0
Merge pull request #143 from aledbf/improve-errors
...
Use protobuf instead of rest to connect to apiserver host and add troubleshooting doc
2017-01-21 13:54:48 -03:00
Manuel de Brito Fontes
e5b02b609f
Use protobuf instead of rest to connect to apiserver host
2017-01-21 13:25:12 -03:00
Manuel de Brito Fontes
6cd20734c6
Add flag to allow switch off the update of Ingress status
2017-01-21 12:25:22 -03:00
Manuel de Brito Fontes
b0c2619594
Add annotation to allow custom body sizes
2017-01-21 11:50:05 -03:00
Manuel Alejandro de Brito Fontes
0ed8260704
Merge pull request #133 from aledbf/fix-tcp-stream
...
Add TCP and UDP services removed in migration
2017-01-19 09:06:03 -03:00
chentao1596
5b313737e0
add unit test cases for core.pkg.k8s
2017-01-19 15:22:13 +08:00
Manuel de Brito Fontes
ba98383c2d
Add TCP and UDP services removed in migration
2017-01-18 23:46:03 -03:00
Manuel Alejandro de Brito Fontes
793672d9b0
Merge pull request #119 from chentao1596/add-unit-test-for-annotations-service
...
add unit test case for annotations.service
2017-01-13 09:12:39 -03:00
Manuel de Brito Fontes
4a2146b8dc
Address comments about consistency in the code
2017-01-12 19:05:55 -03:00
Manuel de Brito Fontes
8191245eee
Fix interface duplication
2017-01-12 14:11:50 -03:00
Manuel de Brito Fontes
597a0e691a
Deny location mapping in case of specific errors
2017-01-12 13:40:32 -03:00
Giancarlo Rubio
14ae787b40
FIX: ingress was not creating the endpoint when target port is string
2017-01-10 11:48:25 +01:00
chentao1596
fac77e7e1b
add unit test for annotations.service
2017-01-10 15:17:05 +08:00
chentao1596
3cb68b421d
fix typo for task.Queue's unit test case
2017-01-08 09:27:37 +08:00
chentao1596
28b610da65
add unit test case for task.Queue
2017-01-07 23:30:34 +08:00
chentao1596
e454732508
check queue's status before enqueue
2017-01-07 22:53:51 +08:00
Manuel Alejandro de Brito Fontes
567fa3b456
Merge pull request #93 from aledbf/fix-sort
...
Fix sort for catch all server
2017-01-02 16:23:05 -03:00
Manuel Alejandro de Brito Fontes
b43ab741e1
Merge pull request #101 from chentao1596/add-unit-test-for-strings
...
Add unit test for strings.StringInSlice
2017-01-02 11:57:47 -03:00
Manuel de Brito Fontes
c0b5be6ff7
Refactoring of nginx configuration deserialization
2017-01-02 11:09:24 -03:00
chentao1596
1bd97e8272
add unit test for strings.StringInSlice
2017-01-02 00:26:46 +08:00
Justin Santa Barbara
21d237792b
Fix gofmt
...
So `make fmt` passes
2016-12-29 17:59:56 -05:00
Manuel de Brito Fontes
f893a88f5e
Fix sort for catch all server
2016-12-29 12:29:39 -03:00
Manuel de Brito Fontes
99209ad33d
Add support for IPV6 in dns resolvers
2016-12-28 07:30:58 -03:00
Giancarlo Rubio
e033772142
Fix multiple tls hosts, using the same secretName
2016-12-25 20:48:10 +01:00
Manuel Alejandro de Brito Fontes
825a4a60ad
Merge pull request #58 from gianrubio/branch/invalid-port
...
Fix "invalid port in upstream" on nginx controller
2016-12-21 13:44:53 -03:00
Manuel de Brito Fontes
3873042669
Return correct node address
2016-12-16 14:56:27 -03:00
Manuel de Brito Fontes
77967aa15f
Support hostnames in Ingress status
2016-12-16 14:47:22 -03:00
Manuel de Brito Fontes
bd5d90539a
Sort whitelist list to avoid random orders
2016-12-15 12:03:16 -03:00
Giancarlo Rubio
bda6646905
Fix "invalid port in upstream" on nginx controller
2016-12-14 17:42:34 +01:00
Manuel de Brito Fontes
86dbf979cb
Add nginx metrics to prometheus
2016-11-29 18:10:06 -03:00
Manuel de Brito Fontes
478d51c827
Add healthz checker
2016-11-27 02:28:04 -03:00
Marcin Owsiany
e374b0a927
Fix a data race in TestFileWatcher ( #24 ).
...
Use a channel to report events to the test, rather than a variable without
synchronization.
2016-11-25 13:20:43 +01:00
Manuel de Brito Fontes
16c5800545
Add e2e boilerplate
2016-11-23 21:34:30 -03:00
Manuel de Brito Fontes
42b58e957c
Avoid nginx reloads
2016-11-23 21:19:07 -03:00
Manuel de Brito Fontes
5a8e090736
Add Generic interface
2016-11-23 21:17:49 -03:00
Manuel de Brito Fontes
f2b627486d
Remove interface
2016-11-23 21:17:49 -03:00
Manuel de Brito Fontes
ed9a416b01
Split implementations from generic code
2016-11-23 21:17:49 -03:00