145 Commits

Author SHA1 Message Date
Joao Morais 58373808bf Merge pull request #228 from jcmoraisjr/jm-ssl-pass-http-port
Add http-port on ssl-passthrough
2018-10-22 21:58:18 -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 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 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 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
Artem Kobrin 0ae32680f8 updated template.go to add sprig functions 2018-10-01 22:48:18 +03:00
Joao Morais 791c1557ac Merge pull request #223 from jcmoraisjr/jm-multi-pem-file
Use a multi pem file instead the ssl dir on shared frontend
2018-09-30 09:11:05 -03:00
Joao Morais 453600c820 Merge pull request #213 from jcmoraisjr/jm-def-backend
Add strict-host configmap option
2018-09-30 08:56:19 -03:00
Joao Morais af653b1d5b Add strict-host configmap option 2018-09-30 08:45:39 -03:00
Joao Morais bbc0001e9f Use a multi pem file instead the ssl dir on shared frontend 2018-09-29 17:33:01 -03:00
Jan van Brügge da5211ca9f Change dh param size 2018-09-23 20:42:58 +03:00
Joao Morais 2c410f288f add multi process and multi thread support 2018-07-27 21:37:48 -03:00
Joao Morais 0587083ed8 Configure per location web application firewall 2018-07-25 21:54:18 -03:00
Joao Morais 54dbbadf24 Starting implementation of modsecurity 2018-07-25 21:43:08 -03:00
Joao Morais ccabe4b75d Add config-frontend configmap option 2018-07-25 21:03:56 -03:00
Joao Morais 7d1ecaac7c Add stats-ssl-cert configmap option 2018-07-25 20:13:32 -03:00
Timofey Titovets d33cd7f392 Add http/https port map configuration
On some haproxy-ingress setups several instances of haproxy can coexists
on same node, to avoid port mapping clashes, add configuration options
to allow change ports

v1->v2:
  - Sort options in README.md by `sort -t'|' -k3`
  - Move http/https port to [1] snapshot target
v2->v3:
  - Fix: Replace http port with HTTPPort template var
    for ACL https-to-http
2018-07-23 15:38:47 +03:00
Joao Morais 20c3eff967 Merge pull request #154 from haproxytech/1.8-dev-dns
enabled DNS Service discovery in HAProxy
2018-07-19 14:36:49 -03:00
Zlatko Bratkovic a9aec843ed removed ingress.kubernetes.io/dns-resolvers annotation
Since DNS resolver are global in HAProxy we only need to define it in
configmap. There is no need to allow extra setups that could lead
to confusing configuration. Backends still have all the data related to
them
2018-07-16 09:56:59 +02:00
Joao Morais 6770a6ce6d Add wildcard hostnames on ssl passthrough config 2018-07-15 15:26:58 -03:00
Zlatko Bratkovic d247037a0e added new configmap options with defaults
dns-timeout-retry: 1s
dns-hold-obsolete: 0s
dns-hold-valid: 1s
dns-accepted-payload-size: "8192"
dns-cluster-domain: cluster.local
2018-06-21 16:15:48 +02:00