Compare commits

..

8 Commits

Author SHA1 Message Date
Tarvi Pillessaar
e0ce54f4f3 [oauth2-proxy] Add support for initContainers (#446) 2020-12-29 12:49:53 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
323a2bc496 [octoprint] Use built-in haproxy (#445) 2020-12-29 07:20:53 -05:00
Jon Baker
1e46b5c7d6 [home-assistant] Update documentation for HA and Ingress (#442)
* Update documentation for HA and Ingress

Signed-off-by: Jon Baker <jonbaker85@gmail.com>

* Bump chart version

Signed-off-by: Jon Baker <jonbaker85@gmail.com>

* Bump chart version

Signed-off-by: Jon Baker <jonbaker85@gmail.com>
2020-12-28 20:51:59 -05:00
Mark McWhirter
aa45228a8d [Readarr] New Readarr chart (#438)
* V1 of Readarr

* Feedback from PR

* Additional message around early-dev project
2020-12-28 15:14:30 -05:00
Mike K
157e898ed0 [neolink] New chart contribution (#434)
* Neolink chart

* .

* Revert

* Heh

* Comment out sample config

* Revert last commit
2020-12-27 11:36:48 -05:00
Mike K
0e6c5c3617 Tweak readme (#435) 2020-12-27 07:23:36 -05:00
dza89
144350e4c9 Remove /metrics from probes (#433)
Signed-off-by: Daan <dhapotter@gmail.com>
2020-12-25 15:12:35 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
1d0cce4146 [network-ups-tools] New chart (#431) 2020-12-24 06:51:18 -05:00
35 changed files with 554 additions and 17 deletions

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v0.11
description: DNS proxy as ad-blocker for local network
name: blocky
version: 4.1.0
version: 4.1.1
keywords:
- blocky
- dbs

View File

@@ -63,19 +63,19 @@ spec:
protocol: UDP
livenessProbe:
httpGet:
path: /metrics
path: /
port: api
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
readinessProbe:
httpGet:
path: /metrics
path: /
port: api
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}
startupProbe:
httpGet:
path: /metrics
path: /
port: api
initialDelaySeconds: {{ .Values.probes.startup.initialDelaySeconds }}
failureThreshold: {{ .Values.probes.startup.failureThreshold }}

View File

@@ -1,5 +1,3 @@
replicaCount: 1
image:
repository: spx01/blocky
tag: v0.11

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2020.12.1
description: Home Assistant
name: home-assistant
version: 5.2.1
version: 5.2.2
keywords:
- home-assistant
- hass

View File

@@ -56,6 +56,21 @@ affinity:
... where a node with an attached zwave and/or zigbee controller USB device is labeled with `app: zwave-controller`
### Websockets
If an ingress controller is being used with home assistant, web sockets must be enabled using annotations to enable support of web sockets.
Using NGINX as an example the following will need to be added to your values:
```yaml
ingress:
enabled: true
annotations:
nginx.org/websocket-services: home-assistant
```
The value derived is the name of the kubernetes service object for home-assistant
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:

View File

@@ -0,0 +1,23 @@
# 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
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

17
charts/neolink/Chart.yaml Normal file
View File

@@ -0,0 +1,17 @@
apiVersion: v2
appVersion: 0.3.0
description: Neolink - RTSP bridge to Reolink IP cameras
name: neolink
version: 1.0.0
keywords:
- reolink
- rtsp
home: https://github.com/k8s-at-home/charts/tree/master/charts/neolink
sources:
- https://github.com/thirtythreeforty/neolink
maintainers:
- name: mr-onion-2
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 2.1.1

46
charts/neolink/README.md Normal file
View File

@@ -0,0 +1,46 @@
# Neolink
This is a helm chart for [Neolink](https://github.com/thirtythreeforty/neolink).
**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).**
## TL;DR;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/neolink
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install my-release k8s-at-home/neolink
```
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:
```console
helm delete my-release --purge
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
The chart's [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/neolink/values.yaml) file contains a set of suggested values for a minimal deployment. Further configuration options are found in the [common library](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml).
The configuration for the application itself is set as a configmap and mounted in the container as /etc/neolink.toml. Refer to the sample config [here.](https://github.com/thirtythreeforty/neolink/blob/master/sample_config.toml)
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console
helm install neolink \
--set env.TZ="America/New_York" \
k8s-at-home/neolink
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
```console
helm install neolink k8s-at-home/neolink --values values.yaml
```

View File

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

View File

@@ -0,0 +1,31 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the configMap to the additionalVolumes */}}
{{- define "neolink.configmap.volume" -}}
name: neolink-settings
configMap:
name: {{ template "common.names.fullname" . }}-settings
{{- end -}}
{{- $volume := include "neolink.configmap.volume" . | fromYaml -}}
{{- if $volume -}}
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
{{- end -}}
{{/* Append the configMap volume to the additionalVolumeMounts */}}
{{- define "neolink.configmap.volumeMount" -}}
name: neolink-settings
mountPath: /etc/neolink.toml
subPath: neolink.toml
{{- end -}}
{{- $volumeMount := include "neolink.configmap.volumeMount" . | fromYaml -}}
{{- if $volumeMount -}}
{{- $additionalVolumeMounts := append .Values.additionalVolumeMounts $volumeMount }}
{{- $_ := set .Values "additionalVolumeMounts" (deepCopy $additionalVolumeMounts) -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "common.names.fullname" . }}-settings
labels:
{{- include "common.labels" . | nindent 4 }}
data:
neolink.toml:
{{- with .Values.config }}
{{- toYaml . | nindent 4 }}
{{- end }}

View File

@@ -0,0 +1,23 @@
# Default values for Neolink.
image:
repository: thirtythreeforty/neolink
pullPolicy: IfNotPresent
tag: latest
strategy:
type: Recreate
service:
port:
port: 8554
# Neolink configuration settings
# https://github.com/thirtythreeforty/neolink/blob/master/sample_config.toml
config: |
bind = "0.0.0.0"
[[cameras]]
name = "driveway"
username = "admin"
password = "12345678"
address = "192.168.1.187:9000"

View File

@@ -0,0 +1,24 @@
# 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

View File

@@ -0,0 +1,20 @@
apiVersion: v2
appVersion: v2.7.4-2061-g46c7da76
description: Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware.
name: network-ups-tools
version: 1.0.0
keywords:
- nut
- network-ups-tools
- ups
home: https://github.com/k8s-at-home/charts/tree/master/charts/network-ups-tools
icon: https://avatars0.githubusercontent.com/u/3526263?s=400&v=4
sources:
- https://github.com/networkupstools/nut
maintainers:
- name: billimek
email: jeff@billimek.com
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 2.1.1

View File

@@ -0,0 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- onedr0p
- bjw-s

View File

@@ -0,0 +1,67 @@
# network-ups-tools
This is a helm chart for [network-ups-tools](https://github.com/networkupstools/nut).
**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)**
## TL;DR;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/network-ups-tools
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/network-ups-tools
```
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:
```console
helm delete my-release --purge
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/network-ups-tools/values.yaml)
file. It has several commented out suggested values.
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console
helm install network-ups-tools \
--set env.TZ="America/New_York" \
k8s-at-home/network-ups-tools
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install network-ups-tools k8s-at-home/network-ups-tools --values values.yaml
```
```yaml
image:
tag: ...
```
---
**NOTE**
If you get
```console
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
```
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
---
## Upgrading an existing Release to a new major version
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.

View File

@@ -0,0 +1,4 @@
config:
files:
dummy-ups.dev: |
ups.status: OL

View File

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

View File

@@ -0,0 +1,36 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the configMap to the additionalVolumes */}}
{{- define "network-ups-tools.configmap.volume" -}}
name: nut-config
configMap:
name: {{ template "common.names.fullname" . }}-config
defaultMode: 256
optional: true
{{- end -}}
{{- if eq .Values.config.mode "values" -}}
{{- $volume := include "network-ups-tools.configmap.volume" . | fromYaml -}}
{{- if $volume -}}
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
{{- end -}}
{{- end -}}
{{/* Append the configMap volume to the additionalVolumeMounts */}}
{{- define "network-ups-tools.configmap.volumeMount" -}}
name: nut-config
mountPath: /etc/nut
{{- end -}}
{{- if eq .Values.config.mode "values" -}}
{{- $volumeMount := include "network-ups-tools.configmap.volumeMount" . | fromYaml -}}
{{- if $volumeMount -}}
{{- $additionalVolumeMounts := append .Values.additionalVolumeMounts $volumeMount }}
{{- $_ := set .Values "additionalVolumeMounts" (deepCopy $additionalVolumeMounts) -}}
{{- end -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -0,0 +1,19 @@
{{- if eq .Values.config.mode "values" -}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "common.names.fullname" . }}-config
labels:
{{- include "common.labels" . | nindent 4 }}
data:
{{- range $file, $content := .Values.config.files }}
{{ $file }}: |-
{{- $content | nindent 4}}
{{- end }}
{{- /* upsd.users is a required file, but can be empty */}}
{{- if not (hasKey .Values.config.files "upsd.users") }}
upsd.users: |-
# Required file, empty by default
{{- end }}
{{- end }}

View File

@@ -0,0 +1,37 @@
# Default values for network-ups-tools.
image:
repository: k8sathome/network-ups-tools
tag: v2.7.4-2061-g46c7da76
pullPolicy: IfNotPresent
strategy:
type: Recreate
service:
port:
name: server
port: 3493
env: {}
# TZ: UTC
# The main configuration files for network-ups-tools
config:
# If set to 'values', the configuration will be read from these values.
# Otherwise you have to mount a volume to /etc/nut containing the configuration files.
mode: values
# See https://github.com/networkupstools/nut/tree/master/conf for config sample files
files:
nut.conf: |
MODE=netserver
upsd.conf: |
LISTEN 0.0.0.0
ups.conf: |
[dummy]
driver = dummy-ups
port = dummy-ups.dev
desc = "dummy-ups in dummy mode"

View File

@@ -1,5 +1,5 @@
name: oauth2-proxy
version: 4.0.1
version: 4.1.0
apiVersion: v1
appVersion: 5.1.0
home: https://oauth2-proxy.github.io/oauth2-proxy/

View File

@@ -92,6 +92,7 @@ Parameter | Description | Default
`ingress.annotations` | Ingress annotations | `nil`
`ingress.hosts` | Ingress accepted hostnames | `nil`
`ingress.tls` | Ingress TLS configuration | `nil`
`initContainers` | pod init containers | `[]`
`livenessProbe.enabled` | enable Kubernetes livenessProbe. Disable to use oauth2-proxy with Istio mTLS. See [Istio FAQ](https://istio.io/help/faq/security/#k8s-health-checks) | `true`
`livenessProbe.initialDelaySeconds` | number of seconds | 0
`livenessProbe.timeoutSeconds` | number of seconds | 1

View File

@@ -41,6 +41,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ template "oauth2-proxy.serviceAccountName" . }}
{{- if ne (len .Values.initContainers) 0 }}
initContainers:
{{ toYaml .Values.initContainers | indent 6 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"

View File

@@ -169,6 +169,10 @@ podDisruptionBudget:
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
podSecurityContext: {}
# Configure init containers for pod
# REF: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
initContainers: []
# whether to use http or https
httpScheme: http

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.4.2
description: OctoPrint is the snappy web interface for your 3D printer
name: octoprint
version: 2.2.1
version: 2.2.2
keywords:
- octoprint
- 3d

View File

@@ -13,11 +13,15 @@ securityContext:
service:
port:
port: 5000
port: 80
env:
OCTOPRINT_PORT: "5000"
# TZ: UTC
## uncomment the environment variables below to ensure camera streaming is enabled when
## you add a video device
# ENABLE_MJPG_STREAMER: "true"
# MJPG_STREAMER_INPUT: "-y -n -r 640x480"
# CAMERA_DEV: /dev/video0
persistence:

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.7.0
description: Paperless - Index and archive all of your scanned paper documents
name: paperless
version: 2.2.1
version: 2.2.2
keywords:
- paperless
home: https://github.com/k8s-at-home/charts/tree/master/charts/paperless
@@ -11,7 +11,6 @@ sources:
- https://github.com/the-paperless-project/paperless
maintainers:
- name: mr-onion-2
email: securitybyte@hotmail.com
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/

View File

@@ -1,8 +1,8 @@
# Paperless
This is a helm chart for [Paperless](https://github.com/the-paperless-project/paperless). The documentation can be found here [here](https://paperless.readthedocs.io/en/latest/index.html).
This is a helm chart for [Paperless](https://github.com/the-paperless-project/paperless). The documentation can be found [here](https://paperless.readthedocs.io/en/latest/index.html).
**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)**
**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).**
## TL;DR;
@@ -44,7 +44,7 @@ helm install paperless k8s-at-home/paperless --values values.yaml
```
## Backup & Restore
A more elegant solution will be added, but until then your document can be exported and re-imported by running the following commands directly on the pod. [More info](https://paperless.readthedocs.io/en/latest/migrating.html).
Documents can be exported and re-imported by running the following commands directly on the pod. [More info](https://paperless.readthedocs.io/en/latest/migrating.html).
Backup: `/usr/src/paperless/src/manage.py document_exporter /path/to/somewhere/`
Backup: `/usr/src/paperless/src/manage.py document_exporter /path/to/somewhere/`
Restore: `/usr/src/paperless/src/manage.py document_importer /path/to/somewhere/`

View File

@@ -0,0 +1,24 @@
# 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
# OWNERS file for Kubernetes
OWNERS
.vscode/

23
charts/readarr/Chart.yaml Normal file
View File

@@ -0,0 +1,23 @@
apiVersion: v2
appVersion: 0.1.0.351
description: A fork of Radarr to work with Books & AudioBooks
name: readarr
version: 1.0.0
keywords:
- readarr
- torrent
- usenet
- AudioBooks
- ebooks
home: https://github.com/k8s-at-home/charts/tree/master/charts/readarr
icon: https://readarr.com/img/logo.png
sources:
- https://github.com/Readarr/Readarr
- https://readarr.com
maintainers:
- name: mcmarkj
email: mark@markmcw.uk
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 2.1.1

55
charts/readarr/README.md Normal file
View File

@@ -0,0 +1,55 @@
# Readarr
This is a helm chart for [Readarr](https://github.com/Readarr/Readarr).
**Readarr is still in early development, and this chart will install a nightly build of Readarr.
[See the project readme for more information](https://github.com/Readarr/Readarr#readarr-is-in-early-stages-of-development-alphabeta-binary-builds-are-not-yet-available-use-of-any-test-builds-isnt-recommend-and-may-have-detrimental-effects-on-your-library). Take back-up's if you decide to use this on an existing library as the project is considered unstable**
**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)**
## TL;DR;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/readarr
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/readarr
```
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:
```console
helm delete my-release --purge
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/readarr/values.yaml)
file. It has several commented out suggested values.
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console
helm install readarr \
--set env.TZ="America/New_York" \
k8s-at-home/readarr
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install readarr k8s-at-home/readarr --values values.yaml
```
```yaml
image:
tag: ...
```

View File

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

View File

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

View File

@@ -0,0 +1,40 @@
# Default values for Radarr.
image:
repository: hotio/readarr
pullPolicy: IfNotPresent
tag: nightly
strategy:
type: Recreate
service:
port:
port: 8787
env: {}
# TZ: UTC
# PUID: 1001
# PGID: 1001
persistence:
config:
enabled: false
emptyDir: false
media:
enabled: false
emptyDir: false
mountPath: /media
## 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: ""