Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.6.6
description: Host an OpenZiti router in Kubernetes
name: ziti-router
type: application
version: 1.4.0
version: 1.4.1
26 changes: 16 additions & 10 deletions 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.4.0](https://img.shields.io/badge/Version-1.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.6.6](https://img.shields.io/badge/AppVersion-1.6.6-informational?style=flat-square)
![Version: 1.4.1](https://img.shields.io/badge/Version-1.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.6.6](https://img.shields.io/badge/AppVersion-1.6.6-informational?style=flat-square)

Host an OpenZiti router in Kubernetes

Expand All @@ -24,12 +24,14 @@ ziti edge create edge-router "router1" \
helm repo add openziti https://openziti.github.io/helm-charts/

# install the router chart with a public address
helm upgrade --install \
helm upgrade \
--install \
--version "^1.0.0" \
"ziti-router-123456789" \
openziti/ziti-router \
--set-file enrollmentJwt=/tmp/router1.jwt \
--set ctrl.endpoint=ctrl.ziti.example.com:443 \
--set edge.advertisedHost=router1.ziti.example.com \
--set edge.advertisedHost=router1.ziti.example.com
```
### Ingress TLS Passthrough

Expand Down Expand Up @@ -84,7 +86,9 @@ edge:
Now upgrade your router chart release with the values file.

```bash
helm upgrade --install \
helm upgrade \
--install \
--version "^1.0.0" \
"ziti-router-1" \
openziti/ziti-router \
--set-file enrollmentJwt=/tmp/router1.jwt \
Expand All @@ -96,7 +100,9 @@ helm upgrade --install \
Disable the link listener if the router does not have a public address set (`edge.advertisedHost`). Ziti identities inside the cluster can still use the private router's edge listener ClusterIP service by authorizing them with a Ziti edge router policy.

```bash
helm upgrade --install \
helm upgrade \
--install \
--version "^1.0.0" \
"ziti-router-1" \
openziti/ziti-router \
--set-file enrollmentJwt=/tmp/router1.jwt \
Expand All @@ -106,19 +112,19 @@ helm upgrade --install \

## Tunnel Modes

### Host tunnel mode
You may disable tunneling with input value `tunnel.mode=none`.

Default: `tunnel.mode=none`
### Host tunnel mode

Host mode enables a router's identity to reverse proxy Ziti service traffic to a target address on the regular network. Enable this mode by updating the router's identity in the controller to enable tunneling, then set `tunnel.mode=host` and upgrade the Helm release to start hosting Ziti services.
This is the default mode for the chart, i.e., `tunnel.mode=host`, because it supports hosting Ziti services targeting servers on this router's regular network and does not require any special privileges beyond outgoing network access. Enable this mode by administratively creating or updating the Ziti edge router to enable tunneling.

```bash
ziti edge update identity "router1" --tunneler-enabled
ziti edge update edge-router "router1" --tunneler-enabled
```

### Proxy tunnel mode

`tunnel.mode=proxy`
Input value: `tunnel.mode=proxy`

Proxy mode enables the router to publish Ziti services as Kubernetes services.

Expand Down
24 changes: 15 additions & 9 deletions charts/ziti-router/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ ziti edge create edge-router "router1" \
helm repo add openziti https://openziti.github.io/helm-charts/

# install the router chart with a public address
helm upgrade --install \
helm upgrade \
--install \
--version "^1.0.0" \
"ziti-router-123456789" \
openziti/ziti-router \
--set-file enrollmentJwt=/tmp/router1.jwt \
--set ctrl.endpoint=ctrl.ziti.example.com:443 \
--set edge.advertisedHost=router1.ziti.example.com \
--set edge.advertisedHost=router1.ziti.example.com
```
### Ingress TLS Passthrough

Expand Down Expand Up @@ -93,7 +95,9 @@ edge:
Now upgrade your router chart release with the values file.

```bash
helm upgrade --install \
helm upgrade \
--install \
--version "^1.0.0" \
"ziti-router-1" \
openziti/ziti-router \
--set-file enrollmentJwt=/tmp/router1.jwt \
Expand All @@ -105,7 +109,9 @@ helm upgrade --install \
Disable the link listener if the router does not have a public address set (`edge.advertisedHost`). Ziti identities inside the cluster can still use the private router's edge listener ClusterIP service by authorizing them with a Ziti edge router policy.

```bash
helm upgrade --install \
helm upgrade \
--install \
--version "^1.0.0" \
"ziti-router-1" \
openziti/ziti-router \
--set-file enrollmentJwt=/tmp/router1.jwt \
Expand All @@ -115,19 +121,19 @@ helm upgrade --install \

## Tunnel Modes

### Host tunnel mode
You may disable tunneling with input value `tunnel.mode=none`.

Default: `tunnel.mode=none`
### Host tunnel mode

Host mode enables a router's identity to reverse proxy Ziti service traffic to a target address on the regular network. Enable this mode by updating the router's identity in the controller to enable tunneling, then set `tunnel.mode=host` and upgrade the Helm release to start hosting Ziti services.
This is the default mode for the chart, i.e., `tunnel.mode=host`, because it supports hosting Ziti services targeting servers on this router's regular network and does not require any special privileges beyond outgoing network access. Enable this mode by administratively creating or updating the Ziti edge router to enable tunneling.

```bash
ziti edge update identity "router1" --tunneler-enabled
ziti edge update edge-router "router1" --tunneler-enabled
```

### Proxy tunnel mode

`tunnel.mode=proxy`
Input value: `tunnel.mode=proxy`

Proxy mode enables the router to publish Ziti services as Kubernetes services.

Expand Down
Loading