390 Commits

Author SHA1 Message Date
Joao Morais 07362cf983 Changelog v0.7-snapshot 2018-10-22 22:02:12 -03:00
Joao Morais 58373808bf Merge pull request #228 from jcmoraisjr/jm-ssl-pass-http-port
Add http-port on ssl-passthrough
v0.7-snapshot.3
2018-10-22 21:58:18 -03:00
Joao Morais e3f27e2bd1 Merge pull request #239 from jcmoraisjr/jm-oauth2
Add OAuth2 support
2018-10-22 21:50:24 -03:00
Joao Morais f12c34785a Add http-port on ssl-passthrough 2018-10-22 21:47:05 -03:00
Joao Morais 8149e7298f Add OAuth2 support
Starting implementation of OAuth2 support. An oauth2 proxy should be configured as a deployment+service to make the OAuth handshake and sign a token. The current implementation uses Bitly’s `oauth2_proxy`.
2018-10-22 21:44:51 -03:00
Joao Morais 78c533e963 Merge pull request #236 from jcmoraisjr/jm-proxy-backend
Add proxy-protocol annotation
2018-10-22 21:42:04 -03:00
Joao Morais 3a404756ee Merge pull request #237 from jcmoraisjr/jm-validation
Add annotation and configmap validations
2018-10-22 21:41:29 -03:00
Joao Morais dfc9aca04e Add annotation and configmap validations
Add validation on:
* balance algorithm annotation and configmap
* proxy body size annotation and configmap
* timeout queue
2018-10-22 21:17:13 -03:00
Joao Morais 3af8b5fe1f Add proxy-protocol annotation
Add `ingress.kubernetes.io/proxy-protocol` annotation for backends. Supported protocols are `v1`, `v2`, `v2-ssl`, `v2-ssl-cn`, falling back to not using the protocol if not specified.
2018-10-22 21:11:02 -03:00
Joao Morais 43382f0339 Merge pull request #227 from jcmoraisjr/jm-watch-namespace
Add watch-namespace command-line option
2018-10-22 21:09:23 -03:00
Joao Morais 00efb1b146 Merge pull request #234 from jcmoraisjr/jm-reading-defback
Optimize reading of default backend
2018-10-22 21:07:23 -03:00
Joao Morais 94dbe14cbf Merge pull request #238 from jcmoraisjr/jm-multi-pem-dir
Add per directory TLS configuration of shared frontend
2018-10-22 21:05:54 -03:00
Joao Morais 981e3b8f8e Merge pull request #224 from kobrinartem/master
Add Sprig template functions for Haproxy
2018-10-22 21:05:21 -03:00
Joao Morais b3fac1c9ca Add per directory TLS configuration of shared frontend
A single HAProxy frontend can handle several domains using a single `bind` keyword and a single `crt` configuration. This change create a directory that receives (hard link) all certificates used on the shared frontend.

This will change again on v0.8 after create an array of frontends, each one with their array of servers/crt/key.
2018-10-20 18:29:10 -03:00
Joao Morais d31d82be9d Revert "Use a multi pem file instead the ssl dir on shared frontend"
This reverts commit bbc0001e9f.
2018-10-20 18:10:15 -03:00
Joao Morais 6997c81010 Changelog v0.6-beta.6 2018-10-16 21:15:00 -03:00
Joao Morais ff0e5dd90b Merge pull request #235 from jcmoraisjr/jm-fix-ssl-redirect
Fix SSL redirect if no TLS config is used
2018-10-16 21:14:12 -03:00
Joao Morais 932307ff7b Fix SSL redirect if no TLS config is used
Template trust only in the SSLRedirect attribute to configure the redirect itself and the URL rewrite.
So turn SSLRedirect off despite of its original configuration if the server doesn’t have a certificate.
2018-10-16 20:59:03 -03:00
Joao Morais d053ec695a Optimize reading of default backend 2018-10-12 17:40:20 -03:00
Joao Morais d1a64e4755 Merge pull request #231 from jcmoraisjr/jm-fix-redirect
Fix redirect of non TLS hosts
2018-10-12 16:30:40 -03:00
Joao Morais 20cd7dcc6d Changelog v0.6-beta.5 2018-10-12 16:13:36 -03:00
Joao Morais 85190d699c Merge pull request #233 from jcmoraisjr/jm-fix-stop
Fix stop/terminate signal of the controller process
2018-10-12 16:13:09 -03:00
Joao Morais 79e82de105 Override stop signal from upstream image
The upstream image is used to start HAProxy itself as pid1. Its stop signal was changed to SIGUSR1 which does a soft reload. Our pid1 is the controller which only listen SIGTERM (docker stop) and SIGINT (^C).

Changing the stop signal in the container image as a way to document what the controller process is expecting.
2018-10-12 15:57:31 -03:00
Joao Morais 1c4f91c545 Changelog v0.6-beta.4 2018-10-11 21:56:35 -03:00
Joao Morais cd57503d07 Fix redirect of non TLS hosts 2018-10-11 21:47:07 -03:00