Skip to content

Commit f3ca308

Browse files
committed
many improvements and bugfixes, see CHANGELOG.md
1 parent 9e033b1 commit f3ca308

16 files changed

+564
-148
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
# PFSENSE_PASSWORD="secret"
44
# PFSENSE_INSECURE="false"
55
# PFSENSE_DEBUG="false"
6+
# CONTROLLER_NAME="kubernetes-pfsense-controller"
7+
# CONTROLLER_NAMESPACE="kube-system"

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# v0.2.0
2+
3+
Released 2020-04-11
4+
5+
- use `->createList()` vs simple `->request()` throughout to support resource types that may have many resources
6+
- fix multi-host issues with `pfsense-dns-haproxy-ingress-proxy` (see #8)
7+
- Allow setting `CONTROLLER_NAME` and `CONTROLLER_NAMESPACE` `env` vars to support multiple deploys and deployments to
8+
alternative namespaces (see #7)
9+
- support the `frr` `bgp-implementation` for `metallb` plugin
10+
- support custom `configMap` for `metallb` plugin
11+
- better logic for `haproxy-declarative` to support service changes including being created **after** the `ConfigMap`
12+
- support service port names (vs port number) in `haproxy-declarative` `ConfigMap`s
13+
114
# v0.1.9
215

316
Released 2019-11-30

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,18 @@ combination of Layer2 or BGP type configurations. Layer2 requires no integratio
2424
leverage the BGP implementation you need a BGP server along with neighbor configuration. `kpc` *dynamically* updates
2525
bgp neighbors for you in pfSense by continually monitoring cluster `Node`s.
2626

27-
The plugin assumes you've already installed openbgp and configured it as well as created a `group` to use with MetalLB.
27+
The plugin assumes you've already installed openbgp or frr and configured it as well as created a `group` to use with
28+
MetalLB.
2829

2930
```yaml
3031
metallb:
3132
enabled: true
3233
nodeLabelSelector:
3334
nodeFieldSelector:
35+
#configMap: "metallb-system/config"
36+
# pick 1 implementation
3437
bgp-implementation: openbgp
38+
# bgp-implementation: frr
3539
options:
3640
openbgp:
3741
template:
@@ -41,13 +45,16 @@ The plugin assumes you've already installed openbgp and configured it as well as
4145
row:
4246
- parameters: announce all
4347
parmvalue:
48+
frr:
49+
template:
50+
peergroup: metallb
4451
```
4552
4653
## haproxy-declarative
4754
`haproxy-declarative` plugin allows you to declaratively create HAProxy frontend/backend definitions as `ConfigMap`
4855
resources in the cluster. When declaring backends however, the pool of servers can/will be dynamically created/updated
4956
based on cluster nodes. See [declarative-example.yaml](examples/declarative-example.yaml) for an example.
50-
57+
5158
```yaml
5259
haproxy-declarative:
5360
enabled: true

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"ext-json": "*",
1818
"ext-bz2": "*",
1919
"travisghansen/kubernetes-controller-php": "0.1.*",
20-
"travisghansen/kubernetes-client-php": "0.1.*",
20+
"travisghansen/kubernetes-client-php": "0.2.*",
2121
"zendframework/zend-xmlrpc": "^2.7",
2222
"vlucas/phpdotenv": "^2.5",
2323
"composer/semver": "^1.5"

0 commit comments

Comments
 (0)