Skip to content

Commit

Permalink
add router config for ha
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Nov 15, 2024
1 parent 59be920 commit ef66a03
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/ziti-router/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: 1.1.15
description: Host an OpenZiti router in Kubernetes
name: ziti-router
type: application
version: 1.1.2
version: 1.1.3
3 changes: 2 additions & 1 deletion charts/ziti-router/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- README.md generated by helm-docs from README.md.gotmpl -->
# ziti-router

![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.15](https://img.shields.io/badge/AppVersion-1.1.15-informational?style=flat-square)
![Version: 1.1.3](https://img.shields.io/badge/Version-1.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.15](https://img.shields.io/badge/AppVersion-1.1.15-informational?style=flat-square)

Host an OpenZiti router in Kubernetes

Expand Down Expand Up @@ -277,6 +277,7 @@ identity:
| forwarder.rateLimitedWorkerCount | int | `64` | |
| forwarder.xgressDialQueueLength | int | `1000` | |
| forwarder.xgressDialWorkerCount | int | `128` | |
| ha.enabled | bool | `false` | must be enabled if multiple controllers |
| hostNetwork | bool | `false` | Host networking requested for a pod if set, i.e. tproxy ports enabled in the host namespace. i.e. egress gateway |
| identity.altServerCerts | list | `[]` | |
| identityMountDir | string | `"/etc/ziti/identity"` | read-only mountpoint for router identity secret specified in deployment for use by router run container |
Expand Down
3 changes: 3 additions & 0 deletions charts/ziti-router/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ data:
{{- end }}
{{- end }}
ha:
enabled: {{ .Values.ha.enabled }}
ctrl:
# router control plane API (:6262)
endpoint: tls:{{ required "You must set .Values.ctrl.endpoint to the control plane advertised address. Try adding --set ctrl.endpoint=ziti-controller.example.com:6262 to your Helm command" .Values.ctrl.endpoint }}
Expand Down
4 changes: 4 additions & 0 deletions charts/ziti-router/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

ha:
# -- must be enabled if multiple controllers
enabled: false

ctrl:
# -- required control plane endpoint, e.g., ctrl.ziti.example.com:443
endpoint: ""
Expand Down

0 comments on commit ef66a03

Please sign in to comment.