unifi
by k8s On Lab
Helm chartv0.3.7App v10.0.162Apache-2.0Verified publisher
Unifi chart for Kubernetes
About this chart
unifi
Unifi chart for Kubernetes
Homepage: https://github.com/k8sonlab/publiccharts/tree/main/charts/unifi
Install
You can install this chart from the classic Helm repository or from OCI in GHCR.
Helm repository
helm repo add publiccharts https://charts.ar80.eu
helm repo update
helm install my-release publiccharts/unifi
OCI registry (GHCR)
helm registry login ghcr.io
helm install my-release oci://ghcr.io/k8sonlab/publiccharts/unifi --version <chart-version>
Maintainers
| Name | Url | |
|---|---|---|
| varet80 | https://github.com/varet80 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| replicaCount | int | 1 | |
| image.repository | string | "jacobalberty/unifi" | set image: use the truecharts image |
| image.pullPolicy | string | "IfNotPresent" | |
| image.tag | string | "" | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| fullnameOverride | string | "" | |
| upgradeStrategy | string | "Recreate" | Upgrade strategy set to recreate (no support for multiple pods) |
| serviceAccount.create | bool | true | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.name | string | "" | |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| securityContext | object | {} | |
| healthchecks | object | {"livenessProbe":{"failureThreshold":5,"httpGet":{"path":"/manage/account/login","port":8443,"scheme":"HTTPS"},"initialDelaySeconds":45,"periodSeconds":15,"successThreshold":1,"timeoutSeconds":2},"readinessProbe":{"failureThreshold":3,"httpGet":{"path":"/manage/account/login","port":8443,"scheme":"HTTPS"},"initialDelaySeconds":10,"periodSeconds":15,"successThreshold":1,"timeoutSeconds":2},"startupProbe":{"failureThreshold":20,"httpGet":{"path":"/manage/account/login","port":8443,"scheme":"HTTPS"},"initialDelaySeconds":45,"periodSeconds":5,"successThreshold":1,"timeoutSeconds":2}} | Setup liveness probes for deployment |
| service | object | {"port":8443,"type":"ClusterIP"} | the main Service (used for ingress) |
| serviceAP | object | {"annotations":{},"ports":{"controller":{"number":8080,"protocol":"TCP"},"discovery":{"number":10001,"protocol":"TCP"},"stun":{"number":3478,"protocol":"UDP"}},"type":"LoadBalancer"} | Requires load balancer, to expose the Unifi stun and discovery |
| httpRoute.enabled | bool | false | Enable an HTTPRoute resource for nextcloud . |
| httpRoute.apiVersion | string | "gateway.networking.k8s.io/v1" | Set the route apiVersion |
| httpRoute.kind | string | "HTTPRoute" | Set the route kind |
| httpRoute.annotations | object | {} | Route annotations |
| httpRoute.labels | object | {} | Route labels |
| httpRoute.hostnames | list | [] | Route hostnames |
| httpRoute.parentRefs | list | [] | Reference to parent gateways |
| httpRoute.rules[0].matches[0].path.type | string | "PathPrefix" | |
| httpRoute.rules[0].matches[0].path.value | string | "/" | |
| gatewayBackend.enabled | bool | true | |
| gatewayBackend.apiVersion | string | "gateway.envoyproxy.io/v1alpha1" | |
| gatewayBackend.kind | string | "Backend" | |
| gatewayBackend.spec.tls.insecureSkipVerify | bool | true | |
| ingress | object | {"annotations":{},"className":"","enabled":false,"hosts":[],"tls":[]} | Ingress |
| resources | object | {} | proposed resources set under this config |
| nodeSelector | object | {} | |
| tolerations | list | [] | |
| affinity | object | {} | |
| environmentVars | object | {"S6_READ_ONLY_ROOT":"1","TZ":"UTC","UMASK":"2","UMASK_SET":"2"} | deployment environment vars (key,value style) |
| configVolume | object | {"accessModes":["ReadWriteOnce"],"size":"10Gi","storageClassName":""} | configVolume |
| configVolume.accessModes | list | ["ReadWriteOnce"] | Access mode for volumes |
| configVolume.size | string | "10Gi" | Size of volume |
Deploy unifi with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has unifi on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartunifi is pinned at v0.3.7 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply