Compare commits

...

22 Commits

Author SHA1 Message Date
renovate[bot]
1e74de9af1 chore(deps): update helm chart common to v3.0.2 (#965)
* chore(deps): update helm chart common to v3.0.2

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 13:45:32 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
403b282b8b Update README.md 2021-06-10 13:44:55 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
0087a7806e [plex] Migrate to common v3 (#963)
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-06-10 04:52:07 -04:00
nιcнolaѕ wιlde
7b0276ffce [reg] Migrate to common v3 (#958)
* [reg] Migrate to common v3

Signed-off-by: Nicholas Wilde <ncwilde43@gmail.com>
2021-06-10 09:18:35 +02:00
nιcнolaѕ wιlde
98603fdc8a [bookstack] Migrate to common v3 (#950)
* [bookstack] Upgrade to common v3
2021-06-10 09:02:36 +02:00
Ryan Walter
3595da8ca5 [thelounge] Update to Commons 3.0.0 (#946)
* Update to Common 3.0.0
2021-06-10 08:59:49 +02:00
nιcнolaѕ wιlde
4dfb13d356 [shlink] Migrate to common v3 (#959)
Signed-off-by: Nicholas Wilde <ncwilde43@gmail.com>
2021-06-09 19:10:14 -04:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
ed7e0965d3 [mosquitto] Migrate to common v3 (#957)
* [mosquitto] Upgrade to common v3

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>

* Update maintainers

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-06-09 19:08:40 -04:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
6b9dbce1d1 [zigbee2mqtt] Migrate to common v3 (#956)
* added privileged flag to readme for clarity (#955)

* [zigbee2mqtt] Upgrade to common v3

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>

* Small README fix

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>

Co-authored-by: itobey <itobey@users.noreply.github.com>
2021-06-09 14:02:15 -04:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
89e09bde2a [alertmanager-bot] Migrate to common v3 (#954)
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-06-09 08:25:01 -04:00
renovate[bot]
71a9087f05 chore(deps): update helm chart common to v3.0.1 (#953)
* chore(deps): update helm chart common to v3.0.1

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 12:08:09 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
4f5bb0a747 [template] Update chart template
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-06-08 21:14:46 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
404ab7f4cb [airsonic] Upgrade to common v3 (#941)
* [airsonic] Upgrade to common v3

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>

* Update chart metadata

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>

* Fix linting issue

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-06-08 14:52:08 -04:00
Jason Whitelock
1bed9c1fc2 [leaf2mqtt] new chart (#935)
* leaf2mqtt initial
2021-06-08 11:42:42 +02:00
Angel Nunez Mencias
874aa19a85 [pod-gateway] Fixes pod gateway (#939) 2021-06-07 21:37:36 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
d828d7148f Delete values-test.yaml 2021-06-07 12:17:32 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
e9f78e91ab [vpn-gateway] Update values
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-06-07 12:13:54 +02:00
Angel Nunez Mencias
6e261d4537 [pod-gateway] Support for copying DNS search and options fields (#938) 2021-06-07 06:43:24 +02:00
Angel Nunez Mencias
bc8aee9648 [pod-gateway] Support selective configmap generation (#936)
* small fixes

* support partial confirmap generation

* fix: run gateway init as privileged

Signed-off-by: Toboshii Nakama <toboshii@gmail.com>

* simplify names

Co-authored-by: angelnu <git@angelnucom>
Co-authored-by: Toboshii Nakama <toboshii@gmail.com>
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-06-05 15:43:26 +02:00
claughinghouse
82bc14973f [syncthing] feat: bump syncthing version and add maintainer (#934)
* feat: bump syncthing version and add maintainer
2021-06-05 15:38:34 +02:00
Angel Nunez Mencias
8d9fbc4980 small fixes (#933) 2021-06-04 06:56:15 +02:00
Angel Nunez Mencias
047489d781 Rename chart since it includes gateway now (#931) 2021-06-03 17:49:56 +02:00
76 changed files with 1959 additions and 898 deletions

View File

@@ -14,7 +14,7 @@ excluded-charts:
- charts/stable/zalando-postgres-cluster
- charts/stable/zigbee2mqtt
- charts/stable/founderyvtt
- charts/stable/pod-gateway-setter
- charts/stable/pod-gateway
chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
- k8s-at-home-libraries=https://library-charts.k8s-at-home.com

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 10.6.2
description: Airsonic is a Free and Open Source community driven media server
name: airsonic
version: 2.4.0
version: 3.0.2
kubeVersion: ">=1.16.0-0"
keywords:
- airsonic
@@ -18,4 +18,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2

View File

@@ -1,6 +1,6 @@
# airsonic
![Version: 2.4.0](https://img.shields.io/badge/Version-2.4.0-informational?style=flat-square) ![AppVersion: 10.6.2](https://img.shields.io/badge/AppVersion-10.6.2-informational?style=flat-square)
![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: 10.6.2](https://img.shields.io/badge/AppVersion-10.6.2-informational?style=flat-square)
Airsonic is a Free and Open Source community driven media server
@@ -20,7 +20,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR
@@ -79,27 +79,18 @@ by not constantly monitoring media folders.
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | `{}` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"linuxserver/airsonic"` | |
| image.tag | string | `"v10.6.2-ls97"` | |
| ingress.enabled | bool | `false` | |
| persistence.config.emptyDir.enabled | bool | `false` | |
| persistence.config.enabled | bool | `false` | |
| persistence.media.emptyDir.enabled | bool | `false` | |
| persistence.media.enabled | bool | `false` | |
| persistence.media.mountPath | string | `"/media"` | |
| persistence.music.emptyDir.enabled | bool | `false` | |
| persistence.music.enabled | bool | `false` | |
| persistence.music.mountPath | string | `"/music"` | |
| persistence.playlists.emptyDir.enabled | bool | `false` | |
| persistence.playlists.enabled | bool | `false` | |
| persistence.playlists.mountPath | string | `"/playlists"` | |
| persistence.podcasts.emptyDir.enabled | bool | `false` | |
| persistence.podcasts.enabled | bool | `false` | |
| persistence.podcasts.mountPath | string | `"/podcasts"` | |
| service.port.port | int | `4040` | |
| strategy.type | string | `"Recreate"` | |
| env | object | See below | environment variables. See [image docs](https://docs.linuxserver.io/images/docker-airsonic#environment-variables-e) for more details. |
| env.CONTEXT_PATH | string | `nil` | Used to set the base path for reverse proxies eg. /booksonic, /books, etc. |
| env.JAVA_OPTS | string | `nil` | For passing additional java options. For some reverse proxies, you may need to pass `JAVA_OPTS=-Dserver.use-forward-headers=true` for airsonic to generate the proper URL schemes. |
| env.PGID | string | `"1001"` | Specify the group ID the application will run as |
| env.PUID | string | `"1001"` | Specify the user ID the application will run as |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"linuxserver/airsonic"` | image repository |
| image.tag | string | `"version-v10.6.2"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. Normally this does not need to be modified. |
## Changelog
@@ -107,11 +98,19 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [3.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
- Changed image tag to `version-v10.6.2`.
### [1.0.0]
#### Added
- N/A
- Initial version
#### Changed
@@ -121,6 +120,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[3.0.0]: #3.0.0
[1.0.0]: #1.0.0
## Support

View File

@@ -9,11 +9,19 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [3.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
- Changed image tag to `version-v10.6.2`.
### [1.0.0]
#### Added
- N/A
- Initial version
#### Changed
@@ -23,5 +31,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[3.0.0]: #3.0.0
[1.0.0]: #1.0.0
{{- end -}}

View File

@@ -6,63 +6,55 @@
#
image:
# -- image repository
repository: linuxserver/airsonic
# -- image tag
tag: version-v10.6.2
# -- image pull policy
pullPolicy: IfNotPresent
tag: v10.6.2-ls97
strategy:
type: Recreate
env: {}
# TZ: UTC
# PUID: "1001"
# PGID: "1001"
# CONTEXT_PATH: "url-base" # Used to set the base path for reverse proxies eg. /booksonic, /books, etc.
# JAVA_OPTS: "" # For passing additional java options. For some reverse proxies, you may need to pass JAVA_OPTS=-Dserver.use-forward-headers=true for airsonic to generate the proper URL schemes.
# -- environment variables. See [image docs](https://docs.linuxserver.io/images/docker-airsonic#environment-variables-e) for more details.
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# -- Specify the user ID the application will run as
PUID: "1001"
# -- Specify the group ID the application will run as
PGID: "1001"
# -- Used to set the base path for reverse proxies eg. /booksonic, /books, etc.
CONTEXT_PATH: # "url-base"
# -- For passing additional java options. For some reverse proxies, you may need to pass `JAVA_OPTS=-Dserver.use-forward-headers=true` for airsonic to generate the proper URL schemes.
JAVA_OPTS:
# -- Configures service settings for the chart. Normally this does not need to be modified.
# @default -- See values.yaml
service:
port:
port: 4040
main:
ports:
http:
port: 4040
ingress:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
config:
enabled: false
emptyDir:
enabled: false
music:
enabled: false
emptyDir:
enabled: false
mountPath: /music
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
playlists:
enabled: false
emptyDir:
enabled: false
mountPath: /playlists
podcasts:
enabled: false
emptyDir:
enabled: false
mountPath: /podcasts
media:
enabled: false
emptyDir:
enabled: false
mountPath: /media

View File

@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 0.4.2
appVersion: 0.4.3
description: Bot for Prometheus Alertmanager
name: alertmanager-bot
version: 4.4.0
version: 5.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- alertmanager
@@ -20,4 +20,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2

View File

@@ -1,6 +1,6 @@
# alertmanager-bot
![Version: 4.4.0](https://img.shields.io/badge/Version-4.4.0-informational?style=flat-square) ![AppVersion: 0.4.2](https://img.shields.io/badge/AppVersion-0.4.2-informational?style=flat-square)
![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: 0.4.3](https://img.shields.io/badge/AppVersion-0.4.3-informational?style=flat-square)
Bot for Prometheus Alertmanager
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR
@@ -76,19 +76,17 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.BOLT_PATH | string | `"/data/bot.db"` | |
| env.STORE | string | `"bolt"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"metalmatze/alertmanager-bot"` | |
| image.tag | string | `"0.4.2"` | |
| ingress.enabled | bool | `false` | |
| persistence.data.emptyDir.enabled | bool | `false` | |
| persistence.data.enabled | bool | `false` | |
| probes.liveness.enabled | bool | `false` | |
| probes.readiness.enabled | bool | `false` | |
| probes.startup.enabled | bool | `false` | |
| service.enabled | bool | `false` | |
| strategy.type | string | `"Recreate"` | |
| env | object | See below | environment variables. See [image docs](https://github.com/metalmatze/alertmanager-bot) for more configuration options. |
| env.BOLT_PATH | string | `"/data/bot.db"` | Bolt database path |
| env.STORE | string | `"bolt"` | Storage type |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"metalmatze/alertmanager-bot"` | image repository |
| image.tag | string | `"0.4.3"` | image tag |
| ingress | object | Disabled | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| probes | object | Disabled | Configures probes for the chart. Normally this does not need to be modified. |
| service | object | Disabled | Configures service settings for the chart. Normally this does not need to be modified. |
## Changelog
@@ -96,6 +94,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
- Updated image tag to `0.4.3`.
### [4.3.2]
#### Added
@@ -124,6 +130,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[5.0.0]: #5.0.0
[4.3.2]: #4.3.2
[1.0.0]: #1.0.0

View File

@@ -9,6 +9,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
- Updated image tag to `0.4.3`.
### [4.3.2]
#### Added
@@ -37,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[5.0.0]: #5.0.0
[4.3.2]: #4.3.2
[1.0.0]: #1.0.0
{{- end -}}

View File

@@ -6,28 +6,37 @@
#
image:
# -- image repository
repository: metalmatze/alertmanager-bot
# -- image tag
tag: 0.4.3
# -- image pull policy
pullPolicy: IfNotPresent
tag: 0.4.2
strategy:
type: Recreate
# See more environment varaibles in the alertmanager-botdocumentation
# https://github.com/metalmatze/alertmanager-bot
# -- environment variables. See [image docs](https://github.com/metalmatze/alertmanager-bot) for more configuration options.
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# -- Storage type
STORE: bolt
# -- Bolt database path
BOLT_PATH: /data/bot.db
# ALERTMANAGER_URL:
# TELEGRAM_ADMIN:
# TELEGRAM_TOKEN:
# -- Configures service settings for the chart. Normally this does not need to be modified.
# @default -- Disabled
service:
enabled: false
main:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- Disabled
ingress:
enabled: false
main:
enabled: false
# -- Configures probes for the chart. Normally this does not need to be modified.
# @default -- Disabled
probes:
liveness:
enabled: false
@@ -36,8 +45,8 @@ probes:
startup:
enabled: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
data:
enabled: false
emptyDir:
enabled: false

View File

@@ -1,9 +1,9 @@
---
apiVersion: v2
appVersion: v21.04.2
appVersion: v21.05.1
description: A simple, self-hosted, easy-to-use platform for organising and storing information.
name: bookstack
version: 1.1.1
version: 2.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- bookstack
@@ -23,7 +23,7 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2
- name: mariadb
version: 9.3.13
repository: https://charts.bitnami.com/bitnami

View File

@@ -1,6 +1,6 @@
# bookstack
![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![AppVersion: v21.04.2](https://img.shields.io/badge/AppVersion-v21.04.2-informational?style=flat-square)
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: v21.05.1](https://img.shields.io/badge/AppVersion-v21.05.1-informational?style=flat-square)
A simple, self-hosted, easy-to-use platform for organising and storing information.
@@ -20,7 +20,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.13 |
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR
@@ -77,22 +77,15 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | `{}` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/linuxserver/bookstack"` | |
| image.tag | string | `"version-v21.04.2"` | |
| ingress.enabled | bool | `false` | |
| mariadb.architecture | string | `"standalone"` | |
| mariadb.auth.database | string | `"bookstack"` | |
| mariadb.auth.password | string | `"bookstack"` | |
| mariadb.auth.username | string | `"bookstack"` | |
| mariadb.enabled | bool | `false` | |
| mariadb.primary.persistence.enabled | bool | `false` | |
| persistence.config.emptyDir.enabled | bool | `false` | |
| persistence.config.enabled | bool | `false` | |
| persistence.config.mountPath | string | `"/config"` | |
| service.port.port | int | `80` | |
| strategy.type | string | `"Recreate"` | |
| env | object | See below | environment variables. See more environment variables in the [bookstack documentation](https://hub.docker.com/r/linuxserver/bookstack) |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image tag |
| image.repository | string | `"ghcr.io/linuxserver/bookstack"` | image repository |
| image.tag | string | `"version-v21.05.1"` | image pull policy |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| mariadb | object | See values.yaml | Enable and configure mariadb database subchart under this key. For more options see [mariadb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mariadb). |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
@@ -100,6 +93,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
- Changed image tag to `version-v21.05.1`.
### [1.0.0]
#### Added
@@ -114,7 +115,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[1.0.0]: #1.0.0
[2.0.0]: #200
[1.0.0]: #100
## Support

View File

@@ -9,6 +9,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
- Changed image tag to `version-v21.05.1`.
### [1.0.0]
#### Added
@@ -23,5 +31,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[1.0.0]: #1.0.0
[2.0.0]: #200
[1.0.0]: #100
{{- end -}}

View File

@@ -6,38 +6,47 @@
#
image:
# -- image repository
repository: ghcr.io/linuxserver/bookstack
# -- image tag
pullPolicy: IfNotPresent
tag: version-v21.04.2
# -- image pull policy
tag: version-v21.05.1
strategy:
type: Recreate
# See more environment variables in the bookstack documentation
# https://hub.docker.com/r/linuxserver/bookstack
env: {}
# TZ:
# -- environment variables. See more environment variables in the [bookstack documentation](https://hub.docker.com/r/linuxserver/bookstack)
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# DB_HOST:
# DB_USER:
# DB_PASS:
# DB_DATABASE:
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
port: 80
main:
ports:
http:
port: 80
ingress:
enabled: false
persistence:
config:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
emptyDir:
enabled: false
mountPath: /config
# Enabled mariadb
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence: {}
# config:
# enabled: false
# mountPath: /config
# -- Enable and configure mariadb database subchart under this key.
# For more options see [mariadb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mariadb).
# @default -- See values.yaml
mariadb:
enabled: false
architecture: standalone

View File

@@ -0,0 +1,24 @@
apiVersion: v2
appVersion: "0.1"
description: Nissan Leaf connected services to MQTT adapter
name: leaf2mqtt
version: 1.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- leaf2mqtt
- leaf
- nissan
- kamereon
- carwings
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/leaf2mqtt
icon: https://www.nissanusa.com/content/dam/Nissan/us/Navigation/nissan-logo-black.svg
sources:
- https://github.com/mitsumaui/leaf2mqtt
- https://github.com/k8s-at-home/container-images
maintainers:
- name: mitsumaui
email: jase@oshelp.co.uk
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0

View File

@@ -0,0 +1,116 @@
# leaf2mqtt
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) ![AppVersion: 0.1](https://img.shields.io/badge/AppVersion-0.1-informational?style=flat-square)
Nissan Leaf connected services to MQTT adapter
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
## Source Code
* <https://github.com/mitsumaui/leaf2mqtt>
* <https://github.com/k8s-at-home/container-images>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
## TL;DR
```console
helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install leaf2mqtt k8s-at-home/leaf2mqtt
```
## Installing the Chart
To install the chart with the release name `leaf2mqtt`
```console
helm install leaf2mqtt k8s-at-home/leaf2mqtt
```
## Uninstalling the Chart
To uninstall the `leaf2mqtt` deployment
```console
helm uninstall leaf2mqtt
```
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
## Configuration
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/k8s-at-home/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).
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install leaf2mqtt \
--set env.TZ="America/New York" \
k8s-at-home/leaf2mqtt
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install leaf2mqtt k8s-at-home/leaf2mqtt -f values.yaml
```
## Custom configuration
N/A
## Values
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | `{}` | |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| image.repository | string | `"ghcr.io/k8s-at-home/leaf2mqtt"` | Image repository |
| image.tag | float | `0.1` | Image tag |
| service.enabled | bool | `false` | |
| strategy.type | string | `"Recreate"` | Deployment recreation strategy |
## Changelog
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [1.0.0]
#### Added
- Initial version
#### Changed
- N/A
#### Removed
- N/A
[1.0.0]: #1.0.0
## Support
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
- Join our [Discord](https://discord.gg/sTMX7Vh) community
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)

View File

@@ -0,0 +1,9 @@
{{- define "custom.custom.configuration.header" -}}
## Custom configuration
{{- end -}}
{{- define "custom.custom.configuration" -}}
{{ template "custom.custom.configuration.header" . }}
N/A
{{- end -}}

View File

@@ -0,0 +1 @@
{{ include "common.all" . }}

View File

@@ -0,0 +1,44 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#
image:
# -- Image repository
repository: ghcr.io/k8s-at-home/leaf2mqtt
# -- Image pull policy
pullPolicy: IfNotPresent
# -- Image tag
tag: v0.1
strategy:
# -- Deployment recreation strategy
type: Recreate
# See more environment variables in the leaf2mqtt documentation
# https://github.com/mitsumaui/leaf2mqtt
env: {}
# LEAF_USERNAME:
# LEAF_PASSWORD:
# LEAF_TYPE:
# MQTT_HOST:
# MQTT_PORT:
# MQTT_USERNAME:
# MQTT_PASSWORD:
# MQTT_BASE_TOPIC:
# UPDATE_INTERVAL_MINUTES:
# CHARGING_UPDATE_INTERVAL_MINUTES:
# LOG_LEVEL:
service:
enabled: false
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false

View File

@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 2.0.7
appVersion: 2.0.11
description: Eclipse Mosquitto - An open source MQTT broker
name: mosquitto
version: 2.4.0
version: 3.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- mosquitto
@@ -13,9 +13,9 @@ icon: https://raw.githubusercontent.com/eclipse/mosquitto/master/logo/mosquitto-
sources:
- https://github.com/eclipse/mosquitto
maintainers:
- name: ishioni
email: helm@movishell.pl
- name: bjw-s
email: me@bjw-s.dev
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2

View File

@@ -1,6 +1,6 @@
# mosquitto
![Version: 2.4.0](https://img.shields.io/badge/Version-2.4.0-informational?style=flat-square) ![AppVersion: 2.0.7](https://img.shields.io/badge/AppVersion-2.0.7-informational?style=flat-square)
![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: 2.0.11](https://img.shields.io/badge/AppVersion-2.0.11-informational?style=flat-square)
Eclipse Mosquitto - An open source MQTT broker
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR
@@ -75,25 +75,13 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| auth.enabled | bool | `false` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"eclipse-mosquitto"` | |
| image.tag | string | `"2.0.7"` | |
| persistence.configinc.accessMode | string | `"ReadWriteOnce"` | |
| persistence.configinc.emptyDir.enabled | bool | `false` | |
| persistence.configinc.enabled | bool | `false` | |
| persistence.configinc.mountPath | string | `"/mosquitto/configinc"` | |
| persistence.configinc.size | string | `"100Mi"` | |
| persistence.data.accessMode | string | `"ReadWriteOnce"` | |
| persistence.data.emptyDir.enabled | bool | `false` | |
| persistence.data.enabled | bool | `false` | |
| persistence.data.mountPath | string | `"/mosquitto/data"` | |
| persistence.data.size | string | `"100Mi"` | |
| service.annotations | object | `{}` | |
| service.port.name | string | `"mqtt"` | |
| service.port.port | int | `1883` | |
| service.type | string | `"ClusterIP"` | |
| strategy.type | string | `"Recreate"` | |
| auth.enabled | bool | `false` | By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config. |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"eclipse-mosquitto"` | image repository |
| image.tag | string | `"2.0.11"` | image tag |
| persistence.configinc | object | See values.yaml | Configure a persistent volume to place *.conf mosquitto-config-files in. When enabled, this gets set as `include_dir` in the mosquitto config. |
| persistence.data | object | See values.yaml | Configure a persistent volume to place mosquitto data in. When enabled, this enables `persistence` and `persistence_location` in the mosquitto config. |
| service | object | See values.yaml | Configures service settings for the chart. Normally this does not need to be modified. |
## Changelog
@@ -101,6 +89,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [3.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `2.0.11`.
### [2.3.2]
#### Added
@@ -129,8 +125,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[2.3.2]: #2.3.2
[1.1.1]: #1.1.1
[3.0.0]: #300
[2.3.2]: #232
[1.1.1]: #111
## Support

View File

@@ -9,6 +9,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [3.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `2.0.11`.
### [2.3.2]
#### Added
@@ -37,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[2.3.2]: #2.3.2
[1.1.1]: #1.1.1
[3.0.0]: #300
[2.3.2]: #232
[1.1.1]: #111
{{- end -}}

View File

@@ -1,31 +1,17 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the configMap to the additionalVolumes */}}
{{- define "mosquitto.configmap.volume" -}}
name: mosquitto-config
configMap:
name: {{ template "common.names.fullname" . }}-config
{{- end -}}
{{- $volume := include "mosquitto.configmap.volume" . | fromYaml -}}
{{- if $volume -}}
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
{{- end -}}
{{/* Append the configMap volume to the additionalVolumeMounts */}}
{{- define "mosquitto.configmap.volumeMount" -}}
name: mosquitto-config
mountPath: /mosquitto/config/mosquitto.conf
subPath: mosquitto.conf
{{- end -}}
{{- $volumeMount := include "mosquitto.configmap.volumeMount" . | fromYaml -}}
{{- if $volumeMount -}}
{{- $additionalVolumeMounts := append .Values.additionalVolumeMounts $volumeMount }}
{{- $_ := set .Values "additionalVolumeMounts" (deepCopy $additionalVolumeMounts) -}}
{{/* Append the configMap volume to the volumes */}}
{{- define "mosquitto.configVolume" -}}
enabled: "true"
mountPath: "/mosquitto/config/mosquitto.conf"
subPath: "mosquitto.conf"
type: "custom"
volumeSpec:
configMap:
name: {{ template "common.names.fullname" . }}-config
{{- end -}}
{{- $_ := set .Values.persistence "mosquitto-config" (include "mosquitto.configVolume" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -6,7 +6,7 @@ metadata:
{{- include "common.labels" . | nindent 4 }}
data:
mosquitto.conf: |
listener {{ .Values.service.port.port }}
listener {{ .Values.service.main.ports.mqtt.port }}
{{- if .Values.auth.enabled }}
allow_anonymous false
{{- else }}

View File

@@ -6,57 +6,40 @@
#
image:
# -- image repository
repository: eclipse-mosquitto
# -- image tag
tag: 2.0.11
# -- image pull policy
pullPolicy: IfNotPresent
tag: 2.0.7
strategy:
type: Recreate
# -- Configures service settings for the chart. Normally this does not need to be modified.
# @default -- See values.yaml
service:
type: ClusterIP
# loadBalancerIP:
annotations: {}
port:
port: 1883
name: mqtt
main:
ports:
http:
enabled: false
mqtt:
enabled: true
port: 1883
auth:
# -- By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config.
enabled: false
persistence:
# -- Configure a persistent volume to place mosquitto data in.
# When enabled, this enables `persistence` and `persistence_location` in the mosquitto config.
# @default -- See values.yaml
data:
enabled: false
emptyDir:
enabled: false
mountPath: /mosquitto/data
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
accessMode: ReadWriteOnce
size: 100Mi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
# -- Configure a persistent volume to place *.conf mosquitto-config-files in.
# When enabled, this gets set as `include_dir` in the mosquitto config.
# @default -- See values.yaml
configinc:
# a persistent volume to place *.conf mosquitto-config-files in
enabled: false
emptyDir:
enabled: false
mountPath: /mosquitto/configinc
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
accessMode: ReadWriteOnce
size: 100Mi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""

View File

@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: v1.22.0.4163-d8c4875dd
appVersion: v1.23.2.4656-85f0adf5b
description: Plex Media Server
name: plex
version: 4.4.0
version: 5.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- plex
@@ -18,4 +18,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2

View File

@@ -1,6 +1,6 @@
# plex
![Version: 4.4.0](https://img.shields.io/badge/Version-4.4.0-informational?style=flat-square) ![AppVersion: v1.22.0.4163-d8c4875dd](https://img.shields.io/badge/AppVersion-v1.22.0.4163--d8c4875dd-informational?style=flat-square)
![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: v1.23.2.4656-85f0adf5b](https://img.shields.io/badge/AppVersion-v1.23.2.4656--85f0adf5b-informational?style=flat-square)
Plex Media Server
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR
@@ -76,20 +76,17 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | `{}` | |
| env | object | See below | environment variables. See [plex docs](https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/) for more details. **NOTE:** Plex preference options are camelCase and CASE SENSITIVE! You can do horrible things to your Plex configuration if you are not careful |
| env.TZ | string | `"UTC"` | Set the container timezone |
| hostNetwork | bool | `false` | Enable devices to be discoverable |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/k8s-at-home/plex"` | |
| image.tag | string | `"v1.22.0.4163-d8c4875dd"` | |
| ingress.enabled | bool | `false` | |
| persistence.config.emptyDir.enabled | bool | `false` | |
| persistence.config.enabled | bool | `false` | |
| persistence.config.mountPath | string | `"/config"` | |
| persistence.transcode.emptyDir.enabled | bool | `false` | |
| persistence.transcode.enabled | bool | `false` | |
| persistence.transcode.mountPath | string | `"/transcode"` | |
| service.port.port | int | `32400` | |
| strategy.type | string | `"Recreate"` | |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"ghcr.io/k8s-at-home/plex"` | image repository |
| image.tag | string | `"v1.23.2.4656-85f0adf5b"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| podSecurityContext | object | `{}` | Configure the Security Context for the Pod |
| resources | object | `{}` | Configure the resource requests and/or limits for the Pod |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
@@ -97,6 +94,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `v1.23.2.4656-85f0adf5b`.
### [3.0.0]
#### Added
@@ -117,8 +122,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[3.0.0]: #3.0.0
[2.3.1]: #2.3.1
[5.0.0]: #500
[3.0.0]: #300
[2.3.1]: #231
## Support

View File

@@ -9,6 +9,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `v1.23.2.4656-85f0adf5b`.
### [3.0.0]
#### Added
@@ -29,6 +37,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[3.0.0]: #3.0.0
[2.3.1]: #2.3.1
[5.0.0]: #500
[3.0.0]: #300
[2.3.1]: #231
{{- end -}}

View File

@@ -6,21 +6,23 @@
#
image:
# -- image repository
repository: ghcr.io/k8s-at-home/plex
# -- image tag
tag: v1.23.2.4656-85f0adf5b
# -- image pull policy
pullPolicy: IfNotPresent
tag: v1.22.0.4163-d8c4875dd
strategy:
type: Recreate
env: {}
# TZ:
# -- environment variables. See [plex docs](https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/) for more details.
# **NOTE:** Plex preference options are camelCase and CASE SENSITIVE!
# You can do horrible things to your Plex configuration if you are not careful
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# ADVERTISE_IP:
# ALLOWED_NETWORKS:
# PLEX_CLAIM:
# # NOTE: Plex preference options are camelCase and CASE SENSITIVE!
# # You can do horrible things to your Plex configuration if you are not careful
# # See a full list at https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/
# PLEX_PREFERENCE_1: "FriendlyName=plex-kubernetes"
# PLEX_PREFERENCE_2: "EnableIPv6=0"
# PLEX_PREFERENCE_3: "logDebug=0"
@@ -30,95 +32,80 @@ env: {}
# PLEX_PREFERENCE_7: "TreatWanIpAsLocal=0"
# PLEX_PREFERENCE_8: "TranscoderH264BackgroundPreset=fast"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
port: 32400
# additionalServices:
# - enabled: true
# nameSuffix: dnla-tcp
# type: NodePort
# port:
# port: 32469
# name: dnla-tcp
# protocol: TCP
# targetPort: 32469
# externalTrafficPolicy: Local
# - enabled: true
# nameSuffix: dnla-udp
# type: NodePort
# port:
# port: 1900
# name: dnla-udp
# protocol: UDP
# targetPort: 1900
# externalTrafficPolicy: Local
main:
primary: true
ports:
http:
port: 32400
dnla-tcp:
enabled: false
type: NodePort
ports:
dnla-tcp:
enabled: true
port: 32469
protocol: TCP
targetPort: 32469
externalTrafficPolicy: Local
dnla-udp:
enabled: false
type: NodePort
ports:
dnla-udp:
enabled: true
port: 1900
protocol: TCP
targetPort: 1900
externalTrafficPolicy: Local
ingress:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# -- Enable devices to be discoverable
hostNetwork: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
config:
enabled: false
emptyDir:
enabled: false
mountPath: /config
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
transcode:
enabled: false
emptyDir:
enabled: false
mountPath: /transcode
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
# podSecurityContext:
# runAsUser: 568
# runAsGroup: 568
# fsGroup: 568
# # Hardware acceleration using an Intel iGPU w/ QuickSync
# # These IDs below should be matched to your `video` and `render` group on the host
# # To obtain those IDs run the following grep statement on the host:
# # $ cat /etc/group | grep "video\|render"
# # video:x:44:
# # render:x:109:
# supplementalGroups:
# - 44
# - 109
# -- Configure the Security Context for the Pod
podSecurityContext: {}
# runAsUser: 568
# runAsGroup: 568
# fsGroup: 568
# # Hardware acceleration using an Intel iGPU w/ QuickSync
# # These IDs below should be matched to your `video` and `render` group on the host
# # To obtain those IDs run the following grep statement on the host:
# # $ cat /etc/group | grep "video\|render"
# # video:x:44:
# # render:x:109:
# supplementalGroups:
# - 44
# - 109
# resources:
# requests:
# # Hardware acceleration using an Intel iGPU w/ QuickSync and
# # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes)
# gpu.intel.com/i915: 1
# cpu: 200m
# memory: 256Mi
# limits:
# # Hardware acceleration using an Intel iGPU w/ QuickSync and
# # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes)
# gpu.intel.com/i915: 1
# memory: 4096Mi
# -- Configure the resource requests and/or limits for the Pod
resources: {}
# requests:
# # Hardware acceleration using an Intel iGPU w/ QuickSync and
# # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes)
# gpu.intel.com/i915: 1
# cpu: 200m
# memory: 256Mi
# limits:
# # Hardware acceleration using an Intel iGPU w/ QuickSync and
# # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes)
# gpu.intel.com/i915: 1
# memory: 4096Mi

View File

@@ -1,168 +0,0 @@
# pod-gateway-setter
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
Admision controller to change the default gateway and DNS server of PODs
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
## Source Code
* <https://github.com/pod-gateway-setter/pod-gateway-setter-docker>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
## TL;DR
```console
helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install pod-gateway-setter k8s-at-home/pod-gateway-setter
```
## Installing the Chart
To install the chart with the release name `pod-gateway-setter`
```console
helm install pod-gateway-setter k8s-at-home/pod-gateway-setter
```
## Uninstalling the Chart
To uninstall the `pod-gateway-setter` deployment
```console
helm uninstall pod-gateway-setter
```
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
## Configuration
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/k8s-at-home/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).
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install pod-gateway-setter \
--set env.TZ="America/New York" \
k8s-at-home/pod-gateway-setter
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install pod-gateway-setter k8s-at-home/pod-gateway-setter -f values.yaml
```
## Custom configuration
You need to set `gateway` to the hostname or address of your gateway. Then
all PODs in namespaces with the matching label (`routed-gateway=true` by default)
will be processed by the webhook.
The webhook by default changes all processed pods (remove `--setGatewayDefault`
if you want to change the default). You can also change the default for a
POD by adding a label or annotation (`setGateway` by default).
Processed PODs will get their default gateway changed. DNS server will
also be set to the gateway (at least the option `--keepDNS` is used).
Multiple instances of this chart might be installed that use different label
values. This is usufull, for example, to route multiple pod groups, each with
a different gateway.
**IMPORTANT**: Do not deploy this chart to a namespace controlled by this
webhook. This would result in a likelly deathlock when upgrading the chart.
**NOTE**: This char requires the cert-manager CRD to generate the required
certificates.
## Values
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| additionalVolumeMounts[0].mountPath | string | `"/tls"` | |
| additionalVolumeMounts[0].name | string | `"certs"` | |
| additionalVolumeMounts[0].readOnly | bool | `true` | |
| args[0] | string | `"--tls-cert-file-path=/tls/tls.crt"` | |
| args[1] | string | `"--tls-key-file-path=/tls/tls.key"` | |
| args[2] | string | `"--setGatewayDefault"` | |
| args[3] | string | `"--setGatewayLabel=setGateway"` | |
| args[4] | string | `"--setGatewayAnnotation=setGateway"` | |
| gateway | string | `"10.0.2.7"` | Gateway to route traffic to. Can be an hostname or an IP |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/k8s-at-home/gateway-admision-controller"` | |
| image.tag | string | `"v2.0.0"` | |
| ingress.enabled | bool | `false` | |
| namespaceSelector | object | `{"matchLabels":{"routed-gateway":"true"}}` | Selector for namespace. All pods in this namespace will get their default gateway changed |
| probes.liveness.custom | bool | `true` | |
| probes.liveness.enabled | bool | `true` | |
| probes.liveness.spec.failureThreshold | int | `5` | |
| probes.liveness.spec.httpGet.path | string | `"/wh/health"` | |
| probes.liveness.spec.httpGet.port | int | `8080` | |
| probes.liveness.spec.httpGet.scheme | string | `"HTTPS"` | |
| probes.liveness.spec.initialDelaySeconds | int | `1` | |
| probes.liveness.spec.timeoutSeconds | int | `10` | |
| probes.readiness.custom | bool | `true` | |
| probes.readiness.enabled | bool | `true` | |
| probes.readiness.spec.failureThreshold | int | `5` | |
| probes.readiness.spec.httpGet.path | string | `"/wh/health"` | |
| probes.readiness.spec.httpGet.port | int | `8080` | |
| probes.readiness.spec.httpGet.scheme | string | `"HTTPS"` | |
| probes.readiness.spec.initialDelaySeconds | int | `1` | |
| probes.readiness.spec.timeoutSeconds | int | `10` | |
| probes.startup.custom | bool | `true` | |
| probes.startup.enabled | bool | `true` | |
| probes.startup.spec.failureThreshold | int | `30` | |
| probes.startup.spec.httpGet.path | string | `"/wh/health"` | |
| probes.startup.spec.httpGet.port | int | `8080` | |
| probes.startup.spec.httpGet.scheme | string | `"HTTPS"` | |
| probes.startup.spec.periodSeconds | int | `1` | |
| service.port.path | string | `"/wh/mutating/setgateway"` | |
| service.port.port | int | `8080` | |
| strategy.type | string | `"RollingUpdate"` | |
## Changelog
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [1.0.0]
#### Added
- Initial version
#### Changed
- N/A
#### Removed
- N/A
[1.0.0]: #1.0.0
## Support
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
- Join our [Discord](https://discord.gg/sTMX7Vh) community
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)

View File

@@ -1,40 +0,0 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{- define "pod-gateway-setter.selfSignedIssuer" -}}
{{ printf "%s-selfsign" (include "common.names.fullname" .) }}
{{- end -}}
{{- define "pod-gateway-setter.rootCAIssuer" -}}
{{ printf "%s-ca" (include "common.names.fullname" .) }}
{{- end -}}
{{- define "pod-gateway-setter.rootCACertificate" -}}
{{ printf "%s-ca" (include "common.names.fullname" .) }}
{{- end -}}
{{- define "pod-gateway-setter.servingCertificate" -}}
{{ printf "%s-webhook-tls" (include "common.names.fullname" .) }}
{{- end -}}
{{/* Append the cert secret to the additionalVolumes */}}
{{- define "pod-gateway-setter.servingCertificate.volume" -}}
name: certs
secret:
secretName: {{ include "pod-gateway-setter.servingCertificate" . }}
{{- end -}}
{{- $volume := include "pod-gateway-setter.servingCertificate.volume" . | fromYaml -}}
{{- if $volume -}}
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
{{- end -}}
{{/* Append generated args */}}
{{- $noop := printf "--webhook-listen-address=:%s" (.Values.service.port.port |toString) | append .Values.args | set .Values "args" -}}
{{- $noop := printf "--gateway=%s" .Values.gateway | append .Values.args | set .Values "args" -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -1,92 +0,0 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#
image:
repository: ghcr.io/k8s-at-home/gateway-admision-controller
pullPolicy: IfNotPresent
tag: v2.0.0
# -- Gateway to route traffic to.
# Can be an hostname or an IP
gateway: 10.0.2.7
# -- Selector for namespace.
# All pods in this namespace will get their default gateway changed
namespaceSelector:
matchLabels:
routed-gateway: "true"
# matchExpressions:
# - key: notTouch
# operator: NotIn
# values: ["1"]
strategy:
type: RollingUpdate
# Args for webhook
# See more information in the container git repository at
# https://github.com/k8s-at-home/gateway-admision-controller
args:
- --tls-cert-file-path=/tls/tls.crt
- --tls-key-file-path=/tls/tls.key
- --setGatewayDefault
- --setGatewayLabel=setGateway
- --setGatewayAnnotation=setGateway
# - --debug
# - --development
# - --keepDNS
# Set by Helm chart:
# --webhook-listen-address=:<set to service port>
# --gateway=<set automatically to 'gateway'>
service:
port:
path: /wh/mutating/setgateway
port: 8080
ingress:
enabled: false
additionalVolumeMounts:
- name: certs
mountPath: /tls
readOnly: true
# Probes configuration
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
scheme: HTTPS
port: 8080
path: /wh/health
initialDelaySeconds: 1
failureThreshold: 5
timeoutSeconds: 10
readiness:
enabled: true
custom: true
spec:
httpGet:
scheme: HTTPS
port: 8080
path: /wh/health
initialDelaySeconds: 1
failureThreshold: 5
timeoutSeconds: 10
startup:
enabled: true
custom: true
spec:
httpGet:
scheme: HTTPS
port: 8080
path: /wh/health
failureThreshold: 30
periodSeconds: 1

View File

@@ -0,0 +1,26 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl

View File

@@ -1,15 +1,16 @@
apiVersion: v2
appVersion: 1.0.0
appVersion: 1.2.6
description: Admision controller to change the default gateway and DNS server of PODs
name: pod-gateway-setter
version: 1.0.0
name: pod-gateway
version: 2.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- pod-gateway-setter
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/pod-gateway-setter
icon: https://pod-gateway-setter.org/icon
- pod-gateway
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/pod-gateway
icon: https://pod-gateway.org/icon
sources:
- https://github.com/pod-gateway-setter/pod-gateway-setter-docker
- https://github.com/k8s-at-home/gateway-admision-controller
- https://github.com/k8s-at-home/pod-gateway
maintainers:
- name: angelnu
email: git@angelnu.com

View File

@@ -0,0 +1,278 @@
# pod-gateway
![Version: 2.1.1](https://img.shields.io/badge/Version-2.1.1-informational?style=flat-square) ![AppVersion: 1.2.6](https://img.shields.io/badge/AppVersion-1.2.6-informational?style=flat-square)
Admision controller to change the default gateway and DNS server of PODs
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
## Source Code
* <https://github.com/k8s-at-home/gateway-admision-controller>
* <https://github.com/k8s-at-home/pod-gateway>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
## TL;DR
```console
helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install pod-gateway k8s-at-home/pod-gateway
```
## Installing the Chart
To install the chart with the release name `pod-gateway`
```console
helm install pod-gateway k8s-at-home/pod-gateway
```
## Uninstalling the Chart
To uninstall the `pod-gateway` deployment
```console
helm uninstall pod-gateway
```
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
## Configuration
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/k8s-at-home/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).
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install pod-gateway \
--set env.TZ="America/New York" \
k8s-at-home/pod-gateway
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install pod-gateway k8s-at-home/pod-gateway -f values.yaml
```
## Custom configuration
Please check [this guide](https://docs.k8s-at-home.com/guides/pod-gateway/)
for the full instructions.
You need to add `routed-gateway=true` to the namespaces with PODs you
want to route through this POD gateway. If needed the label name can be changed
in .Values.
The webhook by default changes all processed pods (remove `--setGatewayDefault`
if you want to change the default). You can also change the default for a
POD by adding a label or annotation (`setGateway` by default).
Processed PODs will get their default gateway changed. DNS server will
also be set to the gateway (at least the option `--keepDNS` is used).
If you want to use the VPN please follow the
[common chart VPN sidecar docummentation](https://github.com/k8s-at-home/library-charts/blob/main/charts/stable/common/values.yaml).
If you want to test without VPN client you can
set the `VPN_BLOCK_OTHER_TRAFFIC` to false.
**IMPORTANT**: Do not deploy this chart to a namespace controlled by this
webhook. This would result in a likelly deathlock when upgrading the chart.
**NOTE**: This char requires the cert-manager CRD to generate the required
certificates. It does not install it as dependency to avoid conflicts.
## Values
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| DNS | string | `"172.16.0.1"` | IP address of the DNS server within the vxlan tunnel. All mutated PODs will get this as their DNS server. It must match VXLAN_GATEWAY_IP in settings.sh |
| additionalVolumeMounts[0].mountPath | string | `"/config"` | |
| additionalVolumeMounts[0].name | string | `"config"` | |
| additionalVolumeMounts[0].readOnly | bool | `true` | |
| addons.vpn.configFileSecret | string | `"openvpn"` | |
| addons.vpn.enabled | bool | `false` | Enable the VPN if you want to route through a VPN. You might also want to set VPN_BLOCK_OTHER_TRAFFIC to true for extra safeness in case the VPN does connect |
| addons.vpn.env | string | `nil` | |
| addons.vpn.networkPolicy.egress[0].ports[0].port | int | `443` | |
| addons.vpn.networkPolicy.egress[0].ports[0].protocol | string | `"UDP"` | |
| addons.vpn.networkPolicy.egress[0].to[0].ipBlock.cidr | string | `"0.0.0.0/0"` | |
| addons.vpn.networkPolicy.egress[1].to[0].ipBlock.cidr | string | `"10.0.0.0/8"` | |
| addons.vpn.networkPolicy.enabled | bool | `true` | |
| addons.vpn.openvpn | string | `nil` | |
| addons.vpn.type | string | `"openvpn"` | |
| addons.vpn.wireguard | string | `nil` | |
| clusterName | string | `"cluster.local"` | cluster name used to derive the gateway full name |
| command[0] | string | `"/bin/gateway_sidecar.sh"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/k8s-at-home/pod-gateway"` | |
| image.tag | string | `"v1.2.6"` | |
| initContainers[0].command[0] | string | `"/bin/gateway_init.sh"` | |
| initContainers[0].image | string | `nil` | Will be set automatically |
| initContainers[0].imagePullPolicy | string | `nil` | Will be set automatically |
| initContainers[0].name | string | `"routes"` | |
| initContainers[0].securityContext.privileged | bool | `true` | |
| initContainers[0].volumeMounts[0].mountPath | string | `"/config"` | |
| initContainers[0].volumeMounts[0].name | string | `"config"` | |
| initContainers[0].volumeMounts[0].readOnly | bool | `true` | |
| probes.liveness.enabled | bool | `false` | |
| probes.readiness.enabled | bool | `false` | |
| probes.startup.enabled | bool | `false` | |
| publicPorts | string | `nil` | settings to expose ports, usually through a VPN provider. NOTE: if you change it you will need to manually restart the gateway POD |
| routed_namespaces | list | `[]` | Namespaces that might contain routed PODs and therefore require a copy of the gneerated settings configmap. |
| securityContext.capabilities.add[0] | string | `"NET_ADMIN"` | |
| service.clusterIP | string | `"None"` | |
| service.port.port | int | `4789` | |
| service.port.protocol | string | `"UDP"` | |
| service.type | string | `"ClusterIP"` | |
| settings.DNS_LOCAL_CIDRS | string | `"local"` | DNS queries to these domains will be resolved by K8S DNS instead of the default (typcally the VPN client changes it) |
| settings.NOT_ROUTED_TO_GATEWAY_CIDRS | string | `""` | IPs not sent to the POD gateway but to the default K8S. Multiple CIDRs can be specified using blanks as separator. Example for Calico: ""172.22.0.0/16 172.24.0.0/16" This is needed, for example, in case your CNI does not add a non-default rule for the K8S addresses (Flannel does). |
| settings.VPN_BLOCK_OTHER_TRAFFIC | bool | `false` | Prevent non VPN traffic to leave the gateway |
| settings.VPN_INTERFACE | string | `"tun0"` | If using a VPN, interface name created by it |
| settings.VPN_LOCAL_CIDRS | string | `"10.0.0.0/8 192.168.0.0/16"` | Traffic to these IPs will be send through the K8S gateway |
| settings.VPN_TRAFFIC_PORT | int | `443` | If VPN_BLOCK_OTHER_TRAFFIC is true, allow VPN traffic over this port |
| settings.VXLAN_GATEWAY_FIRST_DYNAMIC_IP | int | `20` | Keep a range of IPs for static assignment in nat.conf |
| settings.VXLAN_ID | int | `42` | Vxlan ID to use |
| settings.VXLAN_IP_NETWORK | string | `"172.16.0"` | VXLAN needs an /24 IP range not conflicting with K8S and local IP ranges |
| webhook.additionalVolumes | list | `[]` | |
| webhook.args[0] | string | `"--tls-cert-file-path=/tls/tls.crt"` | |
| webhook.args[1] | string | `"--tls-key-file-path=/tls/tls.key"` | |
| webhook.args[2] | string | `"--setGatewayDefault"` | |
| webhook.args[3] | string | `"--setGatewayLabel=setGateway"` | |
| webhook.args[4] | string | `"--setGatewayAnnotation=setGateway"` | |
| webhook.args[5] | string | `"--DNSPolicy=None"` | |
| webhook.image.pullPolicy | string | `"IfNotPresent"` | |
| webhook.image.repository | string | `"ghcr.io/k8s-at-home/gateway-admision-controller"` | |
| webhook.image.tag | string | `"v3.3.2"` | |
| webhook.inserted.init.cmd | string | `"/bin/client_init.sh"` | |
| webhook.inserted.init.mountPath | string | `"/config"` | |
| webhook.inserted.init.pullPolicy | string | `nil` | Will be set automatically |
| webhook.inserted.init.repository | string | `nil` | Will be set automatically |
| webhook.inserted.init.tag | string | `nil` | Will be set automatically |
| webhook.inserted.sidecar.cmd | string | `"/bin/client_sidecar.sh"` | |
| webhook.inserted.sidecar.mountPath | string | `"/config"` | |
| webhook.inserted.sidecar.pullPolicy | string | `nil` | Will be set automatically |
| webhook.inserted.sidecar.repository | string | `nil` | Will be set automatically |
| webhook.inserted.sidecar.tag | string | `nil` | Will be set automatically |
| webhook.namespaceSelector | object | `{"matchLabels":{"routed-gateway":"true"}}` | Selector for namespace. All pods in this namespace will get their default gateway changed |
| webhook.replicas | int | `1` | |
| webhook.service.port.path | string | `"/wh/mutating/setgateway"` | |
| webhook.service.port.port | int | `8080` | |
| webhook.service.port.protocol | string | `"HTTPS"` | |
| webhook.strategy.type | string | `"RollingUpdate"` | |
## Changelog
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.1.1]
#### Added
- Tolerate PODs that do not include namespace
- fix for missing VXLAN_GATEWAY_IP
#### Changed
- N/A
#### Removed
- N/A
[2.1.1]: #2.1.1
### [2.1.0]
#### Added
- set Search and Options when DNSPolicy is "None"
- update instructions
#### Changed
- N/A
#### Removed
- N/A
[2.1.0]: #2.1.0
### [2.0.0]
#### Added
- N/A
#### Changed
- run gateway init container as privileged
- configmap is now a dictionary instead of a long string
- only modifed settings need to be specified
#### Removed
- N/A
[2.0.0]: #2.0.0
### [1.0.1]
#### Added
- N/A
#### Changed
- remove test container - sidecar allows exec as well
- remove hardcoded namespaces for configmaps
#### Removed
- N/A
[1.0.1]: #1.0.1
### [1.0.0]
#### Added
- renamed chart from `pod-gateway-setter` to `pod-gateway`
- sidecar support
- gatewaySufix
- init container uses now an image
#### Changed
- N/A
#### Removed
- N/A
[1.0.0]: #1.0.0
## Support
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
- Join our [Discord](https://discord.gg/sTMX7Vh) community
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)

View File

@@ -0,0 +1,146 @@
{{- define "custom.repository.organization" -}}
k8s-at-home
{{- end -}}
{{- define "custom.repository.url" -}}
https://github.com/k8s-at-home/charts
{{- end -}}
{{- define "custom.helm.url" -}}
https://k8s-at-home.com/charts/
{{- end -}}
{{- define "custom.helm.path" -}}
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
{{- end -}}
{{- define "custom.notes" -}}
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
{{- end -}}
{{- define "custom.requirements" -}}
## Requirements
{{ template "chart.kubeVersionLine" . }}
{{- end -}}
{{- define "custom.dependencies" -}}
## Dependencies
{{ template "chart.requirementsTable" . }}
{{- end -}}
{{- define "custom.install.tldr" -}}
## TL;DR
```console
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
helm repo update
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
```
{{- end -}}
{{- define "custom.install" -}}
## Installing the Chart
To install the chart with the release name `{{ template "chart.name" . }}`
```console
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
```
{{- end -}}
{{- define "custom.uninstall" -}}
## Uninstalling the Chart
To uninstall the `{{ template "chart.name" . }}` deployment
```console
helm uninstall {{ template "chart.name" . }}
```
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
{{- end -}}
{{- define "custom.configuration.header" -}}
## Configuration
{{- end -}}
{{- define "custom.configuration.readValues" -}}
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/k8s-at-home/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).
{{- end -}}
{{- define "custom.configuration.example.set" -}}
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install {{ template "chart.name" . }} \
--set env.TZ="America/New York" \
{{ template "custom.helm.path" . }}
```
{{- end -}}
{{- define "custom.configuration.example.file" -}}
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
```
{{- end -}}
{{- define "custom.valuesSection" -}}
## Values
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
{{ template "chart.valuesTable" . }}
{{- end -}}
{{- define "custom.support" -}}
## Support
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
- Join our [Discord](https://discord.gg/sTMX7Vh) community
{{- end -}}
{{ template "chart.header" . }}
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
{{ template "chart.description" . }}
{{ template "custom.notes" . }}
{{ template "chart.sourcesSection" . }}
{{ template "custom.requirements" . }}
{{ template "custom.dependencies" . }}
{{ template "custom.install.tldr" . }}
{{ template "custom.install" . }}
{{ template "custom.uninstall" . }}
{{ template "custom.configuration.header" . }}
{{ template "custom.configuration.readValues" . }}
{{ template "custom.configuration.example.set" . }}
{{ template "custom.configuration.example.file" . }}
{{ template "custom.custom.configuration" . }}
{{ template "custom.valuesSection" . }}
{{ template "custom.changelog" . }}
{{ template "custom.support" . }}
{{ template "helm-docs.versionFooter" . }}
{{ "" }}

View File

@@ -0,0 +1,99 @@
{{- define "custom.changelog.header" -}}
## Changelog
{{- end -}}
{{- define "custom.changelog" -}}
{{ template "custom.changelog.header" . }}
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.1.1]
#### Added
- Tolerate PODs that do not include namespace
- fix for missing VXLAN_GATEWAY_IP
#### Changed
- N/A
#### Removed
- N/A
[2.1.1]: #2.1.1
### [2.1.0]
#### Added
- set Search and Options when DNSPolicy is "None"
- update instructions
#### Changed
- N/A
#### Removed
- N/A
[2.1.0]: #2.1.0
### [2.0.0]
#### Added
- N/A
#### Changed
- run gateway init container as privileged
- configmap is now a dictionary instead of a long string
- only modifed settings need to be specified
#### Removed
- N/A
[2.0.0]: #2.0.0
### [1.0.1]
#### Added
- N/A
#### Changed
- remove test container - sidecar allows exec as well
- remove hardcoded namespaces for configmaps
#### Removed
- N/A
[1.0.1]: #1.0.1
### [1.0.0]
#### Added
- renamed chart from `pod-gateway-setter` to `pod-gateway`
- sidecar support
- gatewaySufix
- init container uses now an image
#### Changed
- N/A
#### Removed
- N/A
[1.0.0]: #1.0.0
{{- end -}}

View File

@@ -5,9 +5,12 @@
{{- define "custom.custom.configuration" -}}
{{ template "custom.custom.configuration.header" . }}
You need to set `gateway` to the hostname or address of your gateway. Then
all PODs in namespaces with the matching label (`routed-gateway=true` by default)
will be processed by the webhook.
Please check [this guide](https://docs.k8s-at-home.com/guides/pod-gateway/)
for the full instructions.
You need to add `routed-gateway=true` to the namespaces with PODs you
want to route through this POD gateway. If needed the label name can be changed
in .Values.
The webhook by default changes all processed pods (remove `--setGatewayDefault`
if you want to change the default). You can also change the default for a
@@ -16,14 +19,15 @@ POD by adding a label or annotation (`setGateway` by default).
Processed PODs will get their default gateway changed. DNS server will
also be set to the gateway (at least the option `--keepDNS` is used).
Multiple instances of this chart might be installed that use different label
values. This is usufull, for example, to route multiple pod groups, each with
a different gateway.
If you want to use the VPN please follow the
[common chart VPN sidecar docummentation](https://github.com/k8s-at-home/library-charts/blob/main/charts/stable/common/values.yaml).
If you want to test without VPN client you can
set the `VPN_BLOCK_OTHER_TRAFFIC` to false.
**IMPORTANT**: Do not deploy this chart to a namespace controlled by this
webhook. This would result in a likelly deathlock when upgrading the chart.
**NOTE**: This char requires the cert-manager CRD to generate the required
certificates.
certificates. It does not install it as dependency to avoid conflicts.
{{- end -}}

View File

@@ -0,0 +1 @@
{{- include "common.notes.defaultNotes" . -}}

View File

@@ -0,0 +1,22 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{- $_ := set (first .Values.initContainers ) "image" (printf "%s:%s" .Values.image.repository .Values.image.tag ) -}}
{{- $_ := set (first .Values.initContainers ) "imagePullPolicy" .Values.image.pullPolicy -}}
{{/* Append the cert secret to the additionalVolumes */}}
{{- define "pod-gateway.settings.volume" -}}
name: config
configMap:
name: {{ include "pod-gateway.configmap" . }}
defaultMode: 0555
{{- end -}}
{{- $volume := include "pod-gateway.settings.volume" . | fromYaml -}}
{{- if $volume -}}
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -0,0 +1,30 @@
{{- range $namespace := append .Values.routed_namespaces .Release.Namespace }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "pod-gateway.configmap" $ | quote }}
namespace: {{ $namespace }}
labels:
{{- include "common.labels" $ | nindent 4 }}
data:
settings.sh: |
#!/bin/sh
# Generated by {{ include "common.names.fullname" $ }}
{{- range $key, $value := $.Values.settings }}
{{ $key }}={{ $value | quote }}
{{- end }}
nat.conf: |
# Generated by {{ include "common.names.fullname" $ }}
{{- range $entry := $.Values.publicPorts }}
{{ $entry.hostname | required "Missing hostname" }} {{ $entry.IP | required "Missing IP" }}
{{- range $index, $port := $entry.ports -}}
{{- if eq $index 0 -}}
{{- print " " -}}
{{- else -}}
{{- print "," -}}
{{- end -}}
{{- $port.type | required "Missing port type" }}:{{ $port.port | required "Missing port number" -}}
{{- end }}
{{- end }}
{{- end -}}

View File

@@ -5,11 +5,11 @@ metadata:
labels:
{{- include "common.labels" . | nindent 4 }}
annotations:
cert-manager.io/inject-ca-from: "{{ .Release.Namespace }}/{{ include "pod-gateway-setter.servingCertificate" . }}"
cert-manager.io/inject-ca-from: "{{ .Release.Namespace }}/{{ include "pod-gateway.servingCertificate" . }}"
webhooks:
- name: "{{ include "common.names.fullname" . }}.svc.cluster.local"
namespaceSelector:
{{- with .Values.namespaceSelector }}
{{- with .Values.webhook.namespaceSelector }}
{{ toYaml . | nindent 4 }}
{{- end }}
rules:
@@ -21,9 +21,9 @@ webhooks:
clientConfig:
service:
namespace: {{ .Release.Namespace | quote }}
name: {{ include "common.names.fullname" . | quote }}
path: {{ .Values.service.port.path | quote }}
port: {{ .Values.service.port.port }}
name: {{ include "common.names.fullname" . }}-webhook
path: {{ .Values.webhook.service.port.path | quote }}
port: {{ .Values.webhook.service.port.port }}
admissionReviewVersions: ["v1", "v1beta1"]
sideEffects: None
timeoutSeconds: 5

View File

@@ -0,0 +1,64 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{- $_ := set .Values.webhook.inserted.init "repository" .Values.image.repository -}}
{{- $_ := set .Values.webhook.inserted.init "tag" .Values.image.tag -}}
{{- $_ := set .Values.webhook.inserted.init "pullPolicy" .Values.image.pullPolicy -}}
{{- $_ := set .Values.webhook.inserted.sidecar "repository" .Values.image.repository -}}
{{- $_ := set .Values.webhook.inserted.sidecar "tag" .Values.image.tag -}}
{{- $_ := set .Values.webhook.inserted.sidecar "pullPolicy" .Values.image.pullPolicy -}}
{{- define "pod-gateway.webhook-inserted-init-repository" -}}
{{ printf "%s:%s" ( .Values.image.repository | default .Values.webhook.inserted.init.repository ) ( .Values.image.tag | default .Values.webhook.inserted.init.tag ) }}
{{- end -}}
{{- define "pod-gateway.webhook-inserted-init-pullPolicy" -}}
{{ .Values.webhook.inserted.init.pullPolicy | default .Values.image.pullPolicy }}
{{- end -}}
{{- define "pod-gateway.webhook-inserted-sidecar-repository" -}}
{{ printf "%s:%s" ( .Values.image.repository | default .Values.webhook.inserted.sidecar.repository ) ( .Values.image.tag | default .Values.webhook.inserted.sidecar.tag ) }}
{{- end -}}
{{- define "pod-gateway.webhook-inserted-sidecar-pullPolicy" -}}
{{ .Values.webhook.inserted.sidecar.pullPolicy | default .Values.image.pullPolicy }}
{{- end -}}
{{- define "pod-gateway.gateway" -}}
{{ printf "%s.%s.svc.%s" (include "common.names.fullname" .) .Release.Namespace .Values.clusterName }}
{{- end -}}
{{- define "pod-gateway.init.image" -}}
{{ printf "%s:%s" .Values.webhook.inserted.init.repository (.Values.webhook.inserted.init.tag | default "latest" ) }}
{{- end -}}
{{- define "pod-gateway.sidecar.image" -}}
{{ printf "%s:%s" .Values.webhook.inserted.sidecar.repository (.Values.webhook.inserted.sidecar.tag | default "latest" ) }}
{{- end -}}
{{- define "pod-gateway.configmap" -}}
{{ include "common.names.fullname" . }}
{{- end -}}
{{- define "pod-gateway.selfSignedIssuer" -}}
{{ printf "%s-webhook-selfsign" (include "common.names.fullname" .) }}
{{- end -}}
{{- define "pod-gateway.rootCAIssuer" -}}
{{ printf "%s-webhook-ca" (include "common.names.fullname" .) }}
{{- end -}}
{{- define "pod-gateway.rootCACertificate" -}}
{{ printf "%s-webhook-ca" (include "common.names.fullname" .) }}
{{- end -}}
{{- define "pod-gateway.servingCertificate" -}}
{{ printf "%s-webhook-tls" (include "common.names.fullname" .) }}
{{- end -}}
{{- define "pod-gateway.labels.selectorLabels" -}}
app.kubernetes.io/name: {{ include "common.names.name" . }}-webhook
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}

View File

@@ -0,0 +1,101 @@
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
kind: Deployment
metadata:
name: {{ include "common.names.fullname" . }}-webhook
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with .Values.webhook.controllerLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.webhook.controllerAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.webhook.replicas }}
{{- with .Values.webhook.strategy }}
strategy:
{{- toYaml . | nindent 4 }}
{{- end }}
selector:
matchLabels:
{{ include "pod-gateway.labels.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.webhook.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{ include "pod-gateway.labels.selectorLabels" . | nindent 8 }}
spec:
volumes:
- name: certs
secret:
secretName: {{ include "pod-gateway.servingCertificate" . }}
defaultMode: 420
containers:
- name: foo-pod-gateway
image: {{ .Values.webhook.image.repository }}:{{ .Values.webhook.image.tag }}
args:
- --webhook-listen-address=:{{ .Values.webhook.service.port.port |toString }}
- --gateway={{ include "pod-gateway.gateway" . }}
- --DNS={{ .Values.DNS }}
- --configmapName={{ include "pod-gateway.configmap" . }}
{{- if ( include "pod-gateway.webhook-inserted-init-repository" . ) }}
- --initImage={{ include "pod-gateway.webhook-inserted-init-repository" . }}
- --initImagePullPol={{ include "pod-gateway.webhook-inserted-init-pullPolicy" . }}
- --initCmd={{ .Values.webhook.inserted.init.cmd }}
- --initMountPoint={{ .Values.webhook.inserted.init.mountPath }}
{{- end}}
{{- if ( include "pod-gateway.webhook-inserted-sidecar-repository" . ) }}
- --sidecarImage={{ include "pod-gateway.webhook-inserted-init-repository" . }}
- --sidecarImagePullPol={{ include "pod-gateway.webhook-inserted-sidecar-pullPolicy" . }}
- --sidecarCmd={{ .Values.webhook.inserted.sidecar.cmd }}
- --sidecarMountPoint={{ .Values.webhook.inserted.sidecar.mountPath }}
{{- end}}
{{ toYaml .Values.webhook.args | nindent 12 }}
ports:
- name: http
containerPort: {{ .Values.webhook.service.port.port }}
protocol: TCP
resources: {}
volumeMounts:
- name: certs
readOnly: true
mountPath: /tls
livenessProbe:
httpGet:
path: /wh/health
port: {{ .Values.webhook.service.port.port }}
scheme: {{ .Values.webhook.service.port.protocol }}
initialDelaySeconds: 1
timeoutSeconds: 10
periodSeconds: 10
successThreshold: 1
failureThreshold: 5
readinessProbe:
httpGet:
path: /wh/health
port: {{ .Values.webhook.service.port.port }}
scheme: {{ .Values.webhook.service.port.protocol }}
initialDelaySeconds: 1
timeoutSeconds: 10
periodSeconds: 10
successThreshold: 1
failureThreshold: 5
startupProbe:
httpGet:
path: /wh/health
port: {{ .Values.webhook.service.port.port }}
scheme: {{ .Values.webhook.service.port.protocol }}
timeoutSeconds: 1
periodSeconds: 1
successThreshold: 1
failureThreshold: 30
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: {{ .Values.webhook.image.pullPolicy }}
restartPolicy: Always
strategy:
type: {{ .Values.webhook.strategy.type }}

View File

@@ -4,7 +4,7 @@
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: {{ include "pod-gateway-setter.selfSignedIssuer" . }}
name: {{ include "pod-gateway.selfSignedIssuer" . }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "common.labels" . | nindent 4 }}
@@ -17,17 +17,17 @@ spec:
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ include "pod-gateway-setter.rootCACertificate" . }}
name: {{ include "pod-gateway.rootCACertificate" . }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "common.labels" . | nindent 4 }}
spec:
secretName: {{ include "pod-gateway-setter.rootCACertificate" . }}
secretName: {{ include "pod-gateway.rootCACertificate" . }}
duration: 43800h # 5y
issuerRef:
name: {{ include "pod-gateway-setter.selfSignedIssuer" . }}
name: {{ include "pod-gateway.selfSignedIssuer" . }}
kind: Issuer
commonName: "ca.pod-gateway-setter.cert-manager"
commonName: "ca.pod-gateway.cert-manager"
isCA: true
---
@@ -36,13 +36,13 @@ spec:
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: {{ include "pod-gateway-setter.rootCAIssuer" . }}
name: {{ include "pod-gateway.rootCAIssuer" . }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "common.labels" . | nindent 4 }}
spec:
ca:
secretName: {{ include "pod-gateway-setter.rootCACertificate" . }}
secretName: {{ include "pod-gateway.rootCACertificate" . }}
---
@@ -50,17 +50,17 @@ spec:
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ include "pod-gateway-setter.servingCertificate" . }}
name: {{ include "pod-gateway.servingCertificate" . }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "common.labels" . | nindent 4 }}
spec:
secretName: {{ include "pod-gateway-setter.servingCertificate" . }}
secretName: {{ include "pod-gateway.servingCertificate" . }}
duration: 8760h # 1y
issuerRef:
name: {{ include "pod-gateway-setter.rootCAIssuer" . }}
name: {{ include "pod-gateway.rootCAIssuer" . }}
kind: Issuer
dnsNames:
- {{ include "common.names.fullname" . }}
- {{ include "common.names.fullname" . }}.{{ .Release.Namespace }}
- {{ include "common.names.fullname" . }}.{{ .Release.Namespace }}.svc
- {{ include "common.names.fullname" . }}-webhook
- {{ include "common.names.fullname" . }}-webhook.{{ .Release.Namespace }}
- {{ include "common.names.fullname" . }}-webhook.{{ .Release.Namespace }}.svc

View File

@@ -0,0 +1,32 @@
{{- $values := .Values.webhook.service -}}
apiVersion: v1
kind: Service
metadata:
name: {{ include "common.names.fullname" . }}-webhook
labels:
{{- include "common.labels" . | nindent 4 }}
{{- if $values.labels }}
{{ toYaml $values.labels | nindent 4 }}
{{- end }}
annotations:
{{- if eq ( $values.port.protocol | default "" ) "HTTPS" }}
traefik.ingress.kubernetes.io/service.serversscheme: https
{{- end }}
{{- with $values.annotations }}
{{ toYaml . | nindent 4 }}
{{- end }}
spec:
type: ClusterIP
{{- if $values.clusterIP }}
clusterIP: {{ $values.clusterIP }}
{{end}}
{{- if $values.sessionAffinity }}
sessionAffinity: {{ $values.sessionAffinity }}
{{- if $values.sessionAffinityConfig }}
sessionAffinityConfig:
{{ toYaml $values.sessionAffinityConfig | nindent 4 }}
{{- end -}}
{{- end }}
{{- include "common.classes.service.ports" (dict "svcType" "ClusterIP" "values" $values ) | trim | nindent 2 }}
selector:
{{- include "pod-gateway.labels.selectorLabels" . | nindent 4 }}

View File

@@ -0,0 +1,225 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#
image:
repository: ghcr.io/k8s-at-home/pod-gateway
pullPolicy: IfNotPresent
tag: v1.2.6
# -- IP address of the DNS server within the vxlan tunnel.
# All mutated PODs will get this as their DNS server.
# It must match VXLAN_GATEWAY_IP in settings.sh
DNS: 172.16.0.1
# -- cluster name used to derive the gateway full name
clusterName: "cluster.local"
# -- Namespaces that might contain routed PODs and therefore
# require a copy of the gneerated settings configmap.
routed_namespaces: []
# - vpn
settings:
# -- IPs not sent to the POD gateway but to the default K8S.
# Multiple CIDRs can be specified using blanks as separator.
# Example for Calico: ""172.22.0.0/16 172.24.0.0/16"
#
# This is needed, for example, in case your CNI does
# not add a non-default rule for the K8S addresses (Flannel does).
NOT_ROUTED_TO_GATEWAY_CIDRS: ""
# -- Vxlan ID to use
VXLAN_ID: 42
# -- VXLAN needs an /24 IP range not conflicting with K8S and local IP ranges
VXLAN_IP_NETWORK: "172.16.0"
# -- Keep a range of IPs for static assignment in nat.conf
VXLAN_GATEWAY_FIRST_DYNAMIC_IP: 20
# -- If using a VPN, interface name created by it
VPN_INTERFACE: tun0
# -- Prevent non VPN traffic to leave the gateway
VPN_BLOCK_OTHER_TRAFFIC: false
# -- If VPN_BLOCK_OTHER_TRAFFIC is true, allow VPN traffic over this port
VPN_TRAFFIC_PORT: 443
# -- Traffic to these IPs will be send through the K8S gateway
VPN_LOCAL_CIDRS: "10.0.0.0/8 192.168.0.0/16"
# -- DNS queries to these domains will be resolved by K8S DNS instead of
# the default (typcally the VPN client changes it)
DNS_LOCAL_CIDRS: "local"
# -- settings to expose ports, usually through a VPN provider.
# NOTE: if you change it you will need to manually restart the gateway POD
publicPorts:
# - hostname: qbittorrent
# IP: 10
# ports:
# - type: udp
# port: 18289
# - type: tcp
# port: 18289
addons:
vpn:
# -- Enable the VPN if you want to route through a VPN.
# You might also want to set VPN_BLOCK_OTHER_TRAFFIC to true
# for extra safeness in case the VPN does connect
enabled: false
type: openvpn
openvpn:
wireguard:
env:
configFileSecret: openvpn
networkPolicy:
enabled: true
egress:
# Allow only VPN traffic to Internet
- to:
- ipBlock:
cidr: 0.0.0.0/0
ports:
# VPN traffic (default OpenVPN)
- port: 443
protocol: UDP
# Allow any traffic within k8s
- to:
- ipBlock:
# Cluster IPs (default k3s)
cidr: 10.0.0.0/8
# You should not need to change the settings bellow this
# at least you have ready the webhook and pod-gateway containers
# documentation
command:
- /bin/gateway_sidecar.sh
securityContext:
capabilities:
add:
- NET_ADMIN
additionalVolumeMounts:
- name: config
mountPath: /config
readOnly: true
initContainers:
- name: "routes"
# -- Will be set automatically
# @default -- <image.repository>:<image.tag>
image:
# -- Will be set automatically
# @default -- <image.pullPolicy>
imagePullPolicy:
command:
- /bin/gateway_init.sh
securityContext:
privileged: true
volumeMounts:
- name: config
mountPath: /config
readOnly: true
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
service:
type: ClusterIP
clusterIP: None
port:
port: 4789
protocol: UDP
webhook:
image:
repository: ghcr.io/k8s-at-home/gateway-admision-controller
pullPolicy: IfNotPresent
tag: v3.3.2
# -- Selector for namespace.
# All pods in this namespace will get their default gateway changed
namespaceSelector:
matchLabels:
routed-gateway: "true"
# matchExpressions:
# - key: notTouch
# operator: NotIn
# values: ["1"]
additionalVolumes: []
inserted:
init:
# -- Will be set automatically
# @default -- <image.repository>
repository:
# -- Will be set automatically
# @default -- <image.pullPolicy>
pullPolicy:
# -- Will be set automatically
# @default -- <image.tag>
tag:
cmd: /bin/client_init.sh
mountPath: /config
sidecar:
# -- Will be set automatically
# @default -- <image.repository>
repository:
# -- Will be set automatically
# @default -- <image.pullPolicy>
pullPolicy:
# -- Will be set automatically
# @default -- <image.tag>
tag:
cmd: /bin/client_sidecar.sh
mountPath: /config
replicas: 1
strategy:
type: RollingUpdate
# Args for webhook
# See more information in the container git repository at
# https://github.com/k8s-at-home/gateway-admision-controller
args:
- --tls-cert-file-path=/tls/tls.crt
- --tls-key-file-path=/tls/tls.key
- --setGatewayDefault
- --setGatewayLabel=setGateway
- --setGatewayAnnotation=setGateway
- --DNSPolicy=None
# - --debug
# - --development
# Set by Helm chart:
# --webhook-listen-address=:<set to service port>
# --gateway=<set automatically to 'gateway'>
# --DNS=<set automatically to 'gateway'>
# --initImage
# --initImagePullPol
# --initCmd
# --initMountPoint
# --sidecarImage
# --sidecarImagePullPol
# --sidecarCmd
# --sidecarMountPoint
# --configmapName
service:
port:
path: /wh/mutating/setgateway
protocol: HTTPS
port: 8080

View File

@@ -3,7 +3,7 @@ apiVersion: v2
appVersion: 0.16.1
description: Docker registry v2 command line client and repo listing generator with security checks.
name: reg
version: 1.2.0
version: 2.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- reg
@@ -18,4 +18,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2

View File

@@ -1,6 +1,6 @@
# reg
![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![AppVersion: 0.16.1](https://img.shields.io/badge/AppVersion-0.16.1-informational?style=flat-square)
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: 0.16.1](https://img.shields.io/badge/AppVersion-0.16.1-informational?style=flat-square)
Docker registry v2 command line client and repo listing generator with security checks.
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR
@@ -76,13 +76,13 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | `{}` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/k8s-at-home/reg"` | |
| image.tag | string | `"v0.16.1"` | |
| ingress.enabled | bool | `false` | |
| service.port.port | int | `8080` | |
| strategy.type | string | `"Recreate"` | |
| env | object | `{"TZ":"UTC"}` | environment variables. See more environment variables in the [reg documentation](https://github.com/genuinetools/reg). |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"ghcr.io/k8s-at-home/reg"` | image repository |
| image.tag | string | `"v0.16.1"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
@@ -90,13 +90,21 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
### [1.0.0]
#### Added
- Initial version
[1.0.0]: #1.0.0
[2.0.0]: #200
[1.0.0]: #100
## Support

View File

@@ -9,11 +9,19 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
### [1.0.0]
#### Added
- Initial version
[1.0.0]: #1.0.0
[2.0.0]: #200
[1.0.0]: #100
{{- end -}}

View File

@@ -6,22 +6,30 @@
#
image:
# -- image repository
repository: ghcr.io/k8s-at-home/reg
# -- image pull policy
pullPolicy: IfNotPresent
# -- image tag
tag: v0.16.1
strategy:
type: Recreate
# See more environment variables in the reg documentation
# https://github.com/genuinetools/reg
env: {}
# -- environment variables. See more environment variables in the [reg documentation](https://github.com/genuinetools/reg).
env:
# -- Set the container timezone
TZ: UTC
# -- Set the server registry
# EXTRA_ARGS: "server --registry r.j3ss.co"
# TZ:
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
port: 8080
main:
ports:
http:
port: 8080
ingress:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false

View File

@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 2.6.2
appVersion: 2.7.1
description: A self-hosted and PHP-based URL shortener application with CLI and REST interfaces
name: shlink
version: 1.0.1
version: 2.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- shlink
@@ -17,7 +17,7 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2
- name: postgresql
version: 10.4.8
repository: https://charts.bitnami.com/bitnami

View File

@@ -1,6 +1,6 @@
# shlink
![Version: 1.0.1](https://img.shields.io/badge/Version-1.0.1-informational?style=flat-square) ![AppVersion: 2.6.2](https://img.shields.io/badge/AppVersion-2.6.2-informational?style=flat-square)
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: 2.7.1](https://img.shields.io/badge/AppVersion-2.7.1-informational?style=flat-square)
A self-hosted and PHP-based URL shortener application with CLI and REST interfaces
@@ -20,7 +20,7 @@ Kubernetes: `>=1.16.0-0`
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.13 |
| https://charts.bitnami.com/bitnami | postgresql | 10.4.8 |
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR
@@ -77,31 +77,15 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | `{}` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"shlinkio/shlink"` | |
| image.tag | string | `"2.6.2"` | |
| ingress.enabled | bool | `false` | |
| mariadb.architecture | string | `"standalone"` | |
| mariadb.auth.database | string | `"shlink"` | |
| mariadb.auth.password | string | `"shlink-pass"` | |
| mariadb.auth.rootPassword | string | `"shlinkrootpass"` | |
| mariadb.auth.username | string | `"shlink"` | |
| mariadb.enabled | bool | `false` | |
| mariadb.primary.persistence.enabled | bool | `false` | |
| persistence.data.emptyDir.enabled | bool | `false` | |
| persistence.data.enabled | bool | `false` | |
| persistence.data.mountPath | string | `"/etc/shlink/data"` | |
| persistence.params.emptyDir.enabled | bool | `false` | |
| persistence.params.enabled | bool | `false` | |
| persistence.params.mountPath | string | `"/etc/shlink/config/params"` | |
| postgresql.enabled | bool | `false` | |
| postgresql.persistence.enabled | bool | `false` | |
| postgresql.postgresqlDatabase | string | `"shlink"` | |
| postgresql.postgresqlPassword | string | `"shlink-pass"` | |
| postgresql.postgresqlUsername | string | `"shlink"` | |
| service.port.port | int | `8080` | |
| strategy.type | string | `"Recreate"` | |
| env | object | `{}` | environment variables. See more environment variables in the [shlink documentation](https://shlink.io/documentation/install-docker-image/) |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"shlinkio/shlink"` | image repository |
| image.tag | string | `"2.7.1"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| mariadb | object | See values.yaml | Enable and configure mariadb database subchart under this key. For more options see [mariadb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mariadb). |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| postgresql | object | See values.yaml | Enable and configure postgres database subchart under this key. For more options see [postgres chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
@@ -109,12 +93,21 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `2.7.1`.
### [1.0.0]
#### Added
- Initial version
[2.0.0]: #200
[1.0.0]: #100
## Support

View File

@@ -9,11 +9,20 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `2.7.1`.
### [1.0.0]
#### Added
- Initial version
[2.0.0]: #200
[1.0.0]: #100
{{- end -}}

View File

@@ -6,41 +6,46 @@
#
image:
# -- image repository
repository: shlinkio/shlink
# -- image pull policy
pullPolicy: IfNotPresent
tag: 2.6.2
# -- image tag
tag: 2.7.1
strategy:
type: Recreate
# See more environment variables in the shlink documentation
# https://shlink.io/documentation/install-docker-image/
# -- environment variables. See more environment variables in the [shlink documentation](https://shlink.io/documentation/install-docker-image/)
env: {}
# SHORT_DOMAIN_HOST: "doma.in"
# SHORT_DOMAIN_SCHEMA: "https"
# GEOLITE_LICENSE_KEY: "kjh23ljkbndskj345"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
port: 8080
main:
ports:
http:
port: 8080
ingress:
enabled: false
persistence:
params:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
emptyDir:
enabled: false
mountPath: /etc/shlink/config/params
data:
enabled: false
emptyDir:
enabled: false
mountPath: /etc/shlink/data
# Enabled mariadb
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence: {}
# params:
# enabled: false
# mountPath: /etc/shlink/config/params
# data:
# enabled: false
# mountPath: /etc/shlink/data
# -- Enable and configure mariadb database subchart under this key.
# For more options see [mariadb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mariadb).
# @default -- See values.yaml
mariadb:
enabled: false
architecture: standalone
@@ -54,8 +59,9 @@ mariadb:
enabled: false
# storageClass: ""
# Enabled postgres
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
# -- Enable and configure postgres database subchart under this key.
# For more options see [postgres chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql)
# @default -- See values.yaml
postgresql:
enabled: false
postgresqlUsername: shlink

View File

@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 1.16.1
appVersion: 1.17.0
description: Open Source Continuous File Synchronization
name: syncthing
version: 1.3.0
version: 1.3.1
kubeVersion: ">=1.16.0-0"
keywords:
- syncthing
@@ -15,6 +15,7 @@ sources:
maintainers:
- name: FlipEnergy
email: dennis.zhang.nrg@gmail.com
- name: claughinghouse
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com

View File

@@ -1,6 +1,6 @@
# syncthing
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) ![AppVersion: 1.16.1](https://img.shields.io/badge/AppVersion-1.16.1-informational?style=flat-square)
![Version: 1.3.1](https://img.shields.io/badge/Version-1.3.1-informational?style=flat-square) ![AppVersion: 1.17.0](https://img.shields.io/badge/AppVersion-1.17.0-informational?style=flat-square)
Open Source Continuous File Synchronization
@@ -78,7 +78,7 @@ N/A
|-----|------|---------|-------------|
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"syncthing/syncthing"` | |
| image.tag | string | `"1.16.1"` | |
| image.tag | string | `"1.17.0"` | |
| ingress.enabled | bool | `false` | |
| persistence.data.emptyDir.enabled | bool | `false` | |
| persistence.data.enabled | bool | `false` | |
@@ -108,6 +108,20 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [1.3.1]
#### Added
- N/A
#### Changed
- Updated syncthing container image version to `v1.17.0`.
#### Removed
- N/A
### [1.3.0]
#### Added
@@ -151,6 +165,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[1.3.1]: #1.3.1
[1.3.0]: #1.3.0
[1.1.2]: #1.1.2
[1.0.0]: #1.0.0

View File

@@ -9,6 +9,20 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [1.3.1]
#### Added
- N/A
#### Changed
- Updated syncthing container image version to `v1.17.0`.
#### Removed
- N/A
### [1.3.0]
#### Added
@@ -52,6 +66,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[1.3.1]: #1.3.1
[1.3.0]: #1.3.0
[1.1.2]: #1.1.2
[1.0.0]: #1.0.0

View File

@@ -8,7 +8,7 @@
image:
repository: syncthing/syncthing
pullPolicy: IfNotPresent
tag: 1.16.1
tag: 1.17.0
strategy:
type: Recreate

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "4.2.0"
description: The Lounge, modern web IRC client designed for self-hosting
name: thelounge
version: 1.2.0
version: 2.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- thelounge
@@ -20,4 +20,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2

View File

@@ -1,6 +1,6 @@
# thelounge
![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![AppVersion: 4.2.0](https://img.shields.io/badge/AppVersion-4.2.0-informational?style=flat-square)
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: 4.2.0](https://img.shields.io/badge/AppVersion-4.2.0-informational?style=flat-square)
The Lounge, modern web IRC client designed for self-hosting
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.0 |
## TL;DR
@@ -75,14 +75,13 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env.THELOUNGE_HOME | string | `"/config"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"thelounge/thelounge"` | |
| image.tag | string | `"4.2.0-alpine"` | |
| ingress.enabled | bool | `false` | |
| persistence.config.emptyDir.enabled | bool | `false` | |
| persistence.config.enabled | bool | `false` | |
| service.port.port | int | `9000` | |
| env | object | See below | environment variables. See [image docs](https://hub.docker.com/r/thelounge/thelounge/) for more details. |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"thelounge/thelounge"` | image repository |
| image.tag | string | `"4.2.0-alpine"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. Normally this does not need to be modified. |
| strategy.type | string | `"Recreate"` | |
## Changelog
@@ -91,6 +90,21 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.0.0]
#### Added
- N/A
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
#### Removed
- N/A
### [1.1.2]
#### Added

View File

@@ -9,6 +9,22 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.0.0]
#### Added
- N/A
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.0/charts/stable/common/) for the up-to-date values.
#### Removed
- N/A
### [1.1.2]
#### Added

View File

@@ -6,27 +6,37 @@
#
image:
# -- image repository
repository: thelounge/thelounge
# -- image pull policy
pullPolicy: IfNotPresent
# -- image tag
tag: 4.2.0-alpine
strategy:
type: Recreate
# See more environment variables in the thelounge documentation
# https://hub.docker.com/r/thelounge/thelounge/
# -- environment variables. See [image docs](https://hub.docker.com/r/thelounge/thelounge/) for more details.
# @default -- See below
env:
THELOUNGE_HOME: "/config"
# -- Configures service settings for the chart. Normally this does not need to be modified.
# @default -- See values.yaml
service:
port:
port: 9000
main:
ports:
http:
port: 9000
ingress:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
config:
enabled: false
emptyDir:
enabled: false

View File

@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 1.17.1
appVersion: 1.19.1
description: Bridges events and allows you to control your Zigbee devices via MQTT
name: zigbee2mqtt
version: 7.4.0
version: 8.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- zigbee
@@ -13,11 +13,11 @@ icon: https://www.zigbee2mqtt.io/images/logo.png
sources:
- https://github.com/Koenkk/zigbee2mqtt
maintainers:
- name: ishioni
email: helm@movishell.pl
- name: masantiago
email: miguelangel.santiago@hotmail.com
- name: bjw-s
email: me@bjw-s.dev
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2

View File

@@ -1,6 +1,6 @@
# zigbee2mqtt
![Version: 7.4.0](https://img.shields.io/badge/Version-7.4.0-informational?style=flat-square) ![AppVersion: 1.17.1](https://img.shields.io/badge/AppVersion-1.17.1-informational?style=flat-square)
![Version: 8.0.0](https://img.shields.io/badge/Version-8.0.0-informational?style=flat-square) ![AppVersion: 1.19.1](https://img.shields.io/badge/AppVersion-1.19.1-informational?style=flat-square)
Bridges events and allows you to control your Zigbee devices via MQTT
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR
@@ -98,38 +98,31 @@ affinity:
... where a node with an attached zigbee controller USB device is labeled with `app: zigbee-controller`
If you are getting errors, that the device cannot be opened when starting Zigbee2Mqtt, try uncommenting the privileged flag:
```
securityContext:
privileged: true
```
## Values
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| additionalVolumeMounts | list | `[]` | |
| additionalVolumes | list | `[]` | |
| config.advanced.homeassistant_discovery_topic | string | `"homeassistant"` | |
| config.advanced.homeassistant_status_topic | string | `"homeassistant/status"` | |
| config.advanced.last_seen | string | `"ISO_8601"` | |
| config.advanced.log_level | string | `"info"` | |
| config.advanced.log_output[0] | string | `"console"` | |
| config.advanced.network_key | string | `"GENERATE"` | |
| config.experimental.new_api | bool | `true` | |
| config.frontend.port | int | `8080` | |
| config.homeassistant | bool | `false` | |
| config.mqtt.base_topic | string | `"zigbee2mqtt"` | |
| config.mqtt.include_device_information | bool | `true` | |
| config.mqtt.server | string | `"mqtt://localhost"` | |
| config.permit_join | bool | `true` | |
| config.serial | string | `nil` | |
| env.ZIGBEE2MQTT_DATA | string | `"/data"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"koenkk/zigbee2mqtt"` | |
| image.tag | string | `"1.17.1"` | |
| ingress.enabled | bool | `false` | |
| persistence.data.emptyDir.enabled | bool | `false` | |
| persistence.data.enabled | bool | `false` | |
| persistence.data.mountPath | string | `"/data"` | |
| service.port.port | int | `8080` | |
| strategy.type | string | `"Recreate"` | |
| affinity | object | `{}` | Affinity constraint rules to place the Pod on a specific node. [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) |
| config | object | See values.yaml | zigbee2mqtt configuration settings. This will be copied into the container's persistent storage at first run only. Further configuration should be done in the application itself! See [project documentation](https://www.zigbee2mqtt.io/information/configuration.html) for more information. |
| env | object | See below | environment variables. See [image docs](https://www.zigbee2mqtt.io/information/configuration.html#override-via-environment-variables) for more details. |
| env.ZIGBEE2MQTT_DATA | string | `"/data"` | Set the data folder for Zigbee2MQTT. |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"koenkk/zigbee2mqtt"` | image repository |
| image.tag | string | `"1.19.1"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| persistence.usb | object | See values.yaml | Configure a hostPathMount to mount a USB device in the container. |
| securityContext.privileged | bool | `nil` | Privileged securityContext may be required if USB controller is accessed directly through the host machine |
| service | object | See values.yaml | Configures service settings for the chart. Normally this does not need to be modified. |
## Changelog
@@ -137,6 +130,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [8.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `1.19.1`.
### [1.0.0]
#### Added
@@ -151,7 +152,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[1.0.0]: #1.0.0
[8.0.0]: #800
[1.0.0]: #100
## Support

View File

@@ -9,6 +9,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [8.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `1.19.1`.
### [1.0.0]
#### Added
@@ -23,5 +31,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[1.0.0]: #1.0.0
[8.0.0]: #800
[1.0.0]: #100
{{- end -}}

View File

@@ -35,4 +35,11 @@ affinity:
```
... where a node with an attached zigbee controller USB device is labeled with `app: zigbee-controller`
If you are getting errors, that the device cannot be opened when starting Zigbee2Mqtt, try uncommenting the privileged flag:
```
securityContext:
privileged: true
```
{{- end -}}

View File

@@ -1,8 +1,9 @@
ingress:
enabled: true
main:
enabled: true
persistence:
data:
enabled: true
emptyDir:
enabled: true
type: emptyDir
mountPath: /data

View File

@@ -1,31 +1,17 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the configMap to the additionalVolumes */}}
{{- define "zigbee2mqtt.configmap.volume" -}}
name: zigbee2mqtt-settings
configMap:
name: {{ template "common.names.fullname" . }}-settings
{{- end -}}
{{- $volume := include "zigbee2mqtt.configmap.volume" . | fromYaml -}}
{{- if $volume -}}
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
{{- end -}}
{{/* Append the configMap volume to the additionalVolumeMounts */}}
{{- define "zigbee2mqtt.configmap.volumeMount" -}}
name: zigbee2mqtt-settings
mountPath: /app/configuration.yaml
subPath: configuration.yaml
{{- end -}}
{{- $volumeMount := include "zigbee2mqtt.configmap.volumeMount" . | fromYaml -}}
{{- if $volumeMount -}}
{{- $additionalVolumeMounts := append .Values.additionalVolumeMounts $volumeMount }}
{{- $_ := set .Values "additionalVolumeMounts" (deepCopy $additionalVolumeMounts) -}}
{{/* Append the configMap volume to the volumes */}}
{{- define "zigbee2mqtt.settingsVolume" -}}
enabled: "true"
mountPath: "/app/configuration.yaml"
subPath: "configuration.yaml"
type: "custom"
volumeSpec:
configMap:
name: {{ include "common.names.fullname" . }}-settings
{{- end -}}
{{- $_ := set .Values.persistence "zigbee2mqtt-settings" (include "zigbee2mqtt.settingsVolume" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -6,58 +6,53 @@
#
image:
# -- image repository
repository: koenkk/zigbee2mqtt
# -- image tag
tag: 1.19.1
# -- image pull policy
pullPolicy: IfNotPresent
tag: 1.17.1
strategy:
type: Recreate
# -- environment variables. See [image docs](https://www.zigbee2mqtt.io/information/configuration.html#override-via-environment-variables) for more details.
# @default -- See below
env:
# -- Set the data folder for Zigbee2MQTT.
ZIGBEE2MQTT_DATA: /data
# -- Configures service settings for the chart. Normally this does not need to be modified.
# @default -- See values.yaml
service:
port:
port: 8080
main:
ports:
http:
port: 8080
ingress:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# Privileged may be required if USB controller is accessed directly through the host machine
# securityContext:
# privileged: true
securityContext:
# -- (bool) Privileged securityContext may be required if USB controller is accessed directly through the host machine
privileged: # true
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
data:
enabled: false
emptyDir:
enabled: false
mountPath: /data
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
# -- Configure a hostPathMount to mount a USB device in the container.
# @default -- See values.yaml
usb:
enabled: false
type: hostPath
hostPath: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2400981-if00
# Path to your zigbee device in the container
additionalVolumeMounts: []
# - name: usb
# mountPath: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2400981-if00
# Path to your zigbee device on the host
additionalVolumes: []
# - name: usb
# hostPath:
# path: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2400981-if00
# affinity:
# -- Affinity constraint rules to place the Pod on a specific node.
# [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)
affinity: {}
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
@@ -67,8 +62,11 @@ additionalVolumes: []
# values:
# - zigbee-controller
# zigbee2mqtt configuration settings
# https://www.zigbee2mqtt.io/information/configuration.html
# -- zigbee2mqtt configuration settings.
# This will be copied into the container's persistent storage at first run only.
# Further configuration should be done in the application itself!
# See [project documentation](https://www.zigbee2mqtt.io/information/configuration.html) for more information.
# @default -- See values.yaml
config:
# These will be applied ONLY on first run
# Home Assistant integration (MQTT discovery)

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.0.0
description: ${CHARTNAME} helm package
name: ${CHARTNAME}
version: 1.3.0
version: 1.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- ${CHARTNAME}
@@ -16,4 +16,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.0.2

View File

@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 1.0.0 |
| https://library-charts.k8s-at-home.com | common | 3.0.2 |
## TL;DR
@@ -75,13 +75,14 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | `{}` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"${CHARTNAME}/${CHARTNAME}"` | |
| image.tag | string | `"1.0.0"` | |
| ingress.enabled | bool | `false` | |
| service.port.port | int | `1880` | |
| strategy.type | string | `"Recreate"` | |
| env | object | See below | environment variables. See more environment variables in the [${CHARTNAME} documentation](https://${CHARTNAME}.org/docs). |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"${CHARTNAME}/${CHARTNAME}"` | image repository |
| image.tag | string | `"1.0.0"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
@@ -93,7 +94,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
#### Added
- N/A
- Initial version
#### Changed
@@ -113,4 +114,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Join our [Discord](https://discord.gg/sTMX7Vh) community
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)

View File

@@ -6,28 +6,36 @@
#
image:
# -- image repository
repository: ${CHARTNAME}/${CHARTNAME}
pullPolicy: IfNotPresent
# -- image tag
tag: 1.0.0
# -- image pull policy
pullPolicy: IfNotPresent
strategy:
type: Recreate
# See more environment variables in the ${CHARTNAME} documentation
# https://${CHARTNAME}.org/docs
env: {}
# TZ:
# -- environment variables. See more environment variables in the [${CHARTNAME} documentation](https://${CHARTNAME}.org/docs).
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
port: 1880
main:
ports:
http:
port: 1880
ingress:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# persistence:
# data:
# enabled: false
# emptyDir:
# enabled: false
# mountPath: /data
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence: {}
# data:
# enabled: false
# mountPath: /data