Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-08-17 20:22:46 +00:00
parent 27ef3a9923
commit 45556a9f97
14 changed files with 2790 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# Changelog
## [tailscale-0.0.1]tailscale-0.0.1 (2022-08-17)
### Feat
- add tailscale ([#3488](https://github.com/truecharts/charts/issues/3488))

View File

@ -0,0 +1,6 @@
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.4.12
digest: sha256:2b926ab794b2ebae2ba0c898ffe38320266e86eafebe44d869c8f0721f5dac27
generated: "2022-08-17T20:16:14.846740108Z"

View File

@ -0,0 +1,28 @@
apiVersion: v2
appVersion: "1.29.125"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.4.12
description: Tailscale lets you connect your devices and users together in your own secure virtual private network
home: https://truecharts.org/docs/charts/incubator/tailscale
icon: https://truecharts.org/img/hotlink-ok/chart-icons/tailscale.png
keywords:
- vpn
- tailscale
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: tailscale
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/tailscale
- https://hub.docker.com/r/tailscale/tailscale
- https://github.com/tailscale/tailscale/blob/main/docs/k8s/run.sh
version: 0.0.1
annotations:
truecharts.org/catagories: |
- network
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,109 @@
# tailscale
![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![AppVersion: 1.29.125](https://img.shields.io/badge/AppVersion-1.29.125-informational?style=flat-square)
Tailscale lets you connect your devices and users together in your own secure virtual private network
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
This readme is just an automatically generated general guide on installing our Helm Charts and Apps.
For more information, please click here: [tailscale](https://truecharts.org/docs/charts/stable/tailscale)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Source Code
* <https://github.com/truecharts/charts/tree/master/charts/incubator/tailscale>
* <https://hub.docker.com/r/tailscale/tailscale>
* <https://github.com/tailscale/tailscale/blob/main/docs/k8s/run.sh>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.truecharts.org | common | 10.4.12 |
## Installing the Chart
### TrueNAS SCALE
To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/Installing-an-App).
### Helm
To install the chart with the release name `tailscale`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install tailscale TrueCharts/tailscale
```
## Uninstall
### TrueNAS SCALE
**Upgrading, Rolling Back and Uninstalling the Chart**
To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/Upgrade-rollback-delete-an-App).
### Helm
To uninstall the `tailscale` deployment
```console
helm uninstall tailscale
```
## Configuration
### Helm
#### Available Settings
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
#### Configure using the command line
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install tailscale \
--set env.TZ="America/New York" \
TrueCharts/tailscale
```
#### Configure using a yaml file
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install tailscale TrueCharts/tailscale -f values.yaml
```
#### Connecting to other charts
If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/linking-apps) quick-start guide.
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Quick-Start%20Guides/Important-MUST-READ).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,8 @@
Tailscale lets you connect your devices and users together in your own secure virtual private network
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/incubator/tailscale](https://truecharts.org/docs/charts/incubator/tailscale)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!

Binary file not shown.

View File

@ -0,0 +1,77 @@
image:
repository: tccr.io/truecharts/tailscale
pullPolicy: IfNotPresent
tag: v1.29.125@sha256:fb2ad07557c351805a126d0056be083fb67e3b22abae12a18c52f1461b55ca55
command: ["ash", "/tailscale/run.sh"]
tty: true
# Only un-comment this if you are going to have `userspace: false`
# securityContext:
# readOnlyRootFilesystem: false
# runAsNonRoot: false
# podSecurityContext:
# runAsUser: 0
# runAsGroup: 0
serviceAccount:
main:
create: true
rbac:
main:
enabled: true
rules:
- apiGroups:
- ""
resources:
- "secrets"
verbs:
- "create"
- apiGroups:
- ""
resources:
- "secrets"
resourceNames:
- '{{ printf "%s-tailscale-secret" (include "tc.common.names.fullname" .) }}'
verbs:
- "get"
- "update"
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-tailscale-config'
tailscale:
authkey: "supersecret"
userspace: true
accept_dns: false
routes: ""
dest_ip: ""
sock5_server: ""
extra_args: ""
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
service:
main:
ports:
main:
protocol: UDP
port: 41641
persistence:
config:
enabled: true
mountPath: "/var/lib"
portal:
enabled: false

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,30 @@
{{/* Define the secret */}}
{{- define "tailscale.config" -}}
{{- $configName := printf "%s-tailscale-config" (include "tc.common.names.fullname" .) }}
{{- $secretName := printf "%s-tailscale-secret" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $configName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
TS_KUBE_SECRET: {{ $secretName | squote }}
TS_USERSPACE: {{ .Values.tailscale.userspace | quote }}
TS_ACCEPT_DNS: {{ .Values.tailscale.accept_dns | quote }}
{{- with .Values.tailscale.routes }}
TS_ROUTES: {{ . }}
{{- end }}
{{- with .Values.tailscale.dest_ip }}
TS_DEST_IP: {{ . }}
{{- end }}
{{- with .Values.tailscale.sock5_server }}
TS_SOCK5_SERVER: {{ . }}
{{- end }}
{{- with .Values.tailscale.extra_args }}
TS_EXTRA_ARGS: {{ . | quote }}
{{- end }}
{{- end }}

View File

@ -0,0 +1,15 @@
{{- define "tailscale.tun" -}}
---
enabled: true
type: hostPath
hostPath: /dev/net/tun
mountPath: /dev/net/tun
hostPathType: ""
readOnly: false
{{- end }}
{{- define "tailscale.caps" -}}
---
add:
- NET_ADMIN
{{- end }}

View File

@ -0,0 +1,19 @@
{{/* Define the secret */}}
{{- define "tailscale.secret" -}}
{{- $secretName := printf "%s-tailscale-secret" (include "tc.common.names.fullname" .) }}
---
{{/* This secrets are loaded on tailscale */}}
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
{{- with .Values.tailscale.authkey }}
TS_AUTH_KEY: {{ . | b64enc }}
{{- end }}
{{- end }}

View File

@ -0,0 +1,16 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render secret */}}
{{- include "tailscale.secret" . }}
{{/* Render config */}}
{{- include "tailscale.config" . }}
{{- if not .Values.tailscale.userspace }}
{{- $_ := set .Values.persistence "tun" (include "tailscale.tun" . | fromYaml) -}}
{{- $_ := set .Values.securityContext "capabilities" (include "tailscale.caps" . | fromYaml) -}}
{{- end }}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}

View File

View File

@ -0,0 +1,4 @@
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/tailscale.png
categories:
- network