Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
glimberg committed Jan 17, 2024
1 parent 5ebbdd5 commit fb55672
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/zerotier-ingress-helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: zerotier-ingress-helm
description: A Helm chart for Kubernetes
description: A Helm chart to connect to private services in your Kubernetes cluster via ZeroTier

# A chart can be either an 'application' or a 'library' chart.
#
Expand All @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
22 changes: 22 additions & 0 deletions charts/zerotier-ingress-helm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# ZeroTier Ingress Helm

This chart enables connections to private services running inside your Kubernetes cluster over ZeroTierby combining an instance of ZeroTier with an instance of Nginx.

## Adding the chart

```
helm repo add zerotier https://zerotier.github.io/helm-charts
```

## Configuring the Chart

Create your values.yaml file. The following fields are required:

| Field Name | Description |
| ---------- | ----------- |
| nginx.listenPort | The port Nginx is configured to listen on (default 8000) |
| nginx.proxyAddress | The URL of the upstream service. (ex: `http://my-service.my-namespace.svc.cluster.local:1234`) |
| zerotier.identity.public | The public ZeroTier identity. Use `zerotier-idtool` to generate an identity on a per-ingress basis.|
| zerotier.identity.secret | The secret ZeroTier identity. Use `zerotier-idtool` to generate an identity on a per-ingress basis.|
| zerotier.networkID | The network ID the ZeroTier instance will connect to. |

4 changes: 2 additions & 2 deletions charts/zerotier-ingress-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ nginx:
# Overrides the image tag whose default is the chart appVersion.
tag: ""

listenPort: 8080
listenPort: 8000
# Set the proxy address
# this should be the full host/port combination: http://someservice.mynamespace.svc.cluster.local:1234
proxyAddress: ""
Expand Down Expand Up @@ -37,7 +37,7 @@ zerotier:
image:
repository: zerotier/zerotier
pullPolicy: IfNotPresent
tag: "1.12.2"
tag: ""

# ZeroTier Identity
# Create these values with `zerotier-idtool`
Expand Down

0 comments on commit fb55672

Please sign in to comment.