Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2022-08-30 21:20:30 +00:00
parent 170305f9b4
commit 1972b0958d
15 changed files with 2682 additions and 0 deletions

View File

@ -0,0 +1,37 @@
# Changelog
## [wireguard-1.0.0](https://github.com/truecharts/charts/compare/wireguard-0.0.2...wireguard-1.0.0) (2022-08-30)
### Feat
- move to stable and add docs ([#3637](https://github.com/truecharts/charts/issues/3637))
## [wireguard-0.0.3](https://github.com/truecharts/charts/compare/wireguard-0.0.2...wireguard-0.0.3) (2022-08-30)
### Chore
- update helm chart common to v10.5.5 ([#3626](https://github.com/truecharts/charts/issues/3626))
## [wireguard-0.0.2](https://github.com/truecharts/charts/compare/wireguard-0.0.1...wireguard-0.0.2) (2022-08-29)
### Chore
- Auto-update chart README [skip ci]
- update helm general non-major ([#3619](https://github.com/truecharts/charts/issues/3619))
## [wireguard-0.0.1]wireguard-0.0.1 (2022-08-28)
### Feat
- add standalone wireguard ([#3575](https://github.com/truecharts/charts/issues/3575))

View File

@ -0,0 +1,6 @@
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.5.5
digest: sha256:963edb7ce093210268f3c23a53bbcecb104580bac0fcad298c8e68b833b0837d
generated: "2022-08-30T21:14:58.523868479Z"

View File

@ -0,0 +1,27 @@
apiVersion: v2
appVersion: "1.0.202109"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.5.5
description: WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.
home: https://truecharts.org/docs/charts/stable/wireguard
icon: https://truecharts.org/img/hotlink-ok/chart-icons/wireguard.png
keywords:
- wireguard
- vpn
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: wireguard
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/wireguard
- https://github.com/k8s-at-home/container-images/tree/main/apps/wireguard
version: 1.0.0
annotations:
truecharts.org/catagories: |
- network
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,108 @@
# wireguard
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 1.0.202109](https://img.shields.io/badge/AppVersion-1.0.202109-informational?style=flat-square)
WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.
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: [wireguard](https://truecharts.org/docs/charts/stable/wireguard)
**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/stable/wireguard>
* <https://github.com/k8s-at-home/container-images/tree/main/apps/wireguard>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.truecharts.org | common | 10.5.5 |
## 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 `wireguard`
```console
helm repo add TrueCharts https://charts.truecharts.org
helm repo update
helm install wireguard TrueCharts/wireguard
```
## 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 `wireguard` deployment
```console
helm uninstall wireguard
```
## 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 wireguard \
--set env.TZ="America/New York" \
TrueCharts/wireguard
```
#### 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 wireguard TrueCharts/wireguard -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 @@
WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/stable/wireguard](https://truecharts.org/docs/charts/stable/wireguard)
---
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,12 @@
wg:
config:
enabled: true
data: |
[Interface]
Address = 10.0.0.1/24
ListenPort = 51820
PrivateKey = 0K6BMiX09qRMXhcuCnpjdEVlOlhEw8Q8jpB6edY0wmw=
[Peer]
PublicKey = KajDsFV6oJ04H/jeUzds23Lrybfr1YJvwm5rghcG7yM=
AllowedIPs = 0.0.0.0/0
Endpoint = 1.1.1.1:51820

View File

@ -0,0 +1,59 @@
image:
repository: tccr.io/truecharts/wireguard
tag: v1.0.20210914@sha256:9f56e5660e8df8d4d38521ed73a4cc29fa24bf578007bfbe633e00184e2ebfbc
pullPolicy: IfNotPresent
podSecurityContext:
runAsUser: 0
runAsGroup: 0
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
capabilities:
add:
- NET_ADMIN
- SYS_MODULE
wg:
killswitch: false
excludedIP4networks: []
excludedIP6networks: []
# Leave empty if you going to use the paste your config bellow
configFileHostPath: ""
config:
enabled: false
# Your wg config here eg:
data: |
[Interface]
Address = 10.0.0.1/24
ListenPort = 51820
PrivateKey = PRIVATE_KEY
[Peer]
PublicKey = PUBLIC_KEY
AllowedIPs = 0.0.0.0/0
Endpoint = wg.example:51820
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-wg-env-config'
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
service:
main:
ports:
main:
port: 51820
targetPort: 51820
protocol: UDP
portal:
enabled: false

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,23 @@
{{- define "wireguard.configfile" -}}
{{- if and .Values.wg.configFileHostPath ( not .Values.wg.config.enable ) }}
enabled: true
type: hostPath
readOnly: true
hostPathType: File
hostPath: {{ .Values.wg.configFileHostPath }}
mountPath: /etc/wireguard/wg0.conf
{{- end }}
{{- if .Values.wg.config.enabled }}
enabled: true
type: secret
readOnly: true
defaultMode: "0600"
objectName: '{{ printf "%s-wg-config-secret" (include "tc.common.names.fullname" .) }}'
mountPath: /etc/wireguard
items:
- key: wg0.conf
path: wg0.conf
{{- end }}
{{- end -}}

View File

@ -0,0 +1,28 @@
{{/* Define the secrets */}}
{{- define "wg.env.configmap" -}}
{{- $configName := printf "%s-wg-env-config" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $configName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
SEPARATOR: ";"
IPTABLES_BACKEND: nft
KILLSWITCH: {{ .Values.wg.killswitch | quote }}
{{- if .Values.wg.killswitch }}
{{- $excludedIP4net := "172.16.0.0/12" }}
{{- range .Values.wg.excludedIP4networks }}
{{- $excludedIP4net = ( printf "%v;%v" $excludedIP4net . ) }}
{{- end }}
KILLSWITCH_EXCLUDEDNETWORKS_IPV4: {{ $excludedIP4net | quote }}
{{- $excludedIP6net := "" }}
{{- range .Values.wg.excludedIP6networks }}
{{- $excludedIP6net = ( printf "%v;%v" $excludedIP6net . ) }}
{{- end }}
KILLSWITCH_EXCLUDEDNETWORKS_IPV6: {{ $excludedIP4net | quote }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,16 @@
{{/* Define the secrets */}}
{{- define "wg.config-secret" -}}
{{- $secretName := printf "%s-wg-config-secret" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
wg0.conf: |
{{ .Values.wg.config.data | b64enc | indent 4 }}
{{- end -}}

View File

@ -0,0 +1,12 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render config */}}
{{- include "wg.env.configmap" . }}
{{/* Render secret */}}
{{- include "wg.config-secret" . }}
{{- $_ := set .Values.persistence "configfile" (include "wireguard.configfile" . | fromYaml) -}}
{{/* 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/wireguard.png
categories:
- network