Skip to content

Commit e6ff93c

Browse files
committed
support multiple primary frontends and frontend templates for haproxy-ingress-proxy
Signed-off-by: Travis Glenn Hansen <[email protected]>
1 parent 6bbd95c commit e6ff93c

File tree

3 files changed

+204
-170
lines changed

3 files changed

+204
-170
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# v0.5.12
2+
3+
Released 2023-02-04
4+
5+
- allow multiple frontends with `haproxy-ingress-proxy` (see #17)
6+
- allow setting a template for shared frontends on a per-ingress basis (see #19)
7+
- shared frontend names are now more unique so old names will be removed and new added
8+
19
# v0.5.11
210

311
Released 2023-01-24

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ not for whatever reason create wildcard frontend(s) to handle incoming traffic i
118118
Optionally, on the ingress resources you can set the following annotations: `haproxy-ingress-proxy.pfsense.org/frontend`
119119
and `haproxy-ingress-proxy.pfsense.org/backend` to respectively set the frontend and backend to override the defaults.
120120

121+
In advanced scenarios it is possible to provide a template definition of the shared frontend using the
122+
`haproxy-ingress-proxy.pfsense.org/frontendDefinitionTemplate` annotation (see
123+
https://github.com/travisghansen/kubernetes-pfsense-controller/issues/19#issuecomment-1416576678).
124+
121125
```yaml
122126
haproxy-ingress-proxy:
123127
enabled: true
@@ -127,6 +131,7 @@ and `haproxy-ingress-proxy.pfsense.org/backend` to respectively set the frontend
127131
# if defaultEnabled is empty or true, you can disable specific ingresses by setting the annotation to false
128132
# if defaultEnabled is false, you can enable specific ingresses by setting the annotation to true
129133
defaultEnabled: true
134+
# can optionally be comma-separated list if you want the same ingress to be served by multiple frontends
130135
defaultFrontend: http-80
131136
defaultBackend: traefik
132137
#allowedHostRegex: "/.*/"

0 commit comments

Comments
 (0)