Compare commits
21 Commits
radarr-6.0
...
zigbee2mqt
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
714708050a | ||
|
|
f55c117431 | ||
|
|
0470f937bf | ||
|
|
930df4c36b | ||
|
|
a1a0fd4c99 | ||
|
|
0487aa49fb | ||
|
|
490dc82894 | ||
|
|
54efffaf52 | ||
|
|
8be3edfc59 | ||
|
|
20047cade1 | ||
|
|
eb2f4bac88 | ||
|
|
b4dda5a1ad | ||
|
|
7f1f2b9150 | ||
|
|
4bde4fa33f | ||
|
|
2e541d77e5 | ||
|
|
e60063a352 | ||
|
|
e19708e37d | ||
|
|
3258774c07 | ||
|
|
ef5f8b3451 | ||
|
|
c516c4e05d | ||
|
|
6104d0bc80 |
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v0.102.0
|
||||
description: DNS proxy as ad-blocker for local network
|
||||
name: adguard-home
|
||||
version: 2.0.0
|
||||
version: 2.2.0
|
||||
keywords:
|
||||
- adguard-home
|
||||
- adguard
|
||||
|
||||
@@ -83,6 +83,11 @@ spec:
|
||||
- name: config
|
||||
mountPath: /opt/adguardhome/conf
|
||||
readOnly: false
|
||||
{{- if .Values.tlsSecretName }}
|
||||
- name: certs
|
||||
mountPath: /certs
|
||||
readOnly: false
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
{{- if .Values.configAsCode.enabled }}
|
||||
@@ -153,6 +158,11 @@ spec:
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumes:
|
||||
{{- if .Values.tlsSecretName }}
|
||||
- name: certs
|
||||
secret:
|
||||
secretName: {{ .Values.tlsSecretName }}
|
||||
{{- end }}
|
||||
{{- if .Values.configAsCode.enabled }}
|
||||
- name: configmap
|
||||
configMap:
|
||||
|
||||
@@ -17,6 +17,14 @@ spec:
|
||||
{{- if .Values.serviceDHCP.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.serviceDHCP.loadBalancerIP }}
|
||||
{{- end }}
|
||||
{{- if .Values.serviceDHCP.loadBalancerSourceRanges }}
|
||||
loadBalancerSourceRanges:
|
||||
{{ toYaml .Values.serviceDHCP.loadBalancerSourceRanges | indent 4 }}
|
||||
{{- end -}}
|
||||
{{- if .Values.serviceDHCP.externalIPs }}
|
||||
externalIPs:
|
||||
{{ toYaml .Values.serviceDHCP.externalIPs | indent 4 }}
|
||||
{{- end }}
|
||||
externalTrafficPolicy: {{ .Values.serviceDHCP.externalTrafficPolicy }}
|
||||
ports:
|
||||
- port: 67
|
||||
|
||||
@@ -17,6 +17,14 @@ spec:
|
||||
{{- if .Values.serviceDNSOverTLS.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.serviceDNSOverTLS.loadBalancerIP }}
|
||||
{{- end }}
|
||||
{{- if .Values.serviceDNSOverTLS.loadBalancerSourceRanges }}
|
||||
loadBalancerSourceRanges:
|
||||
{{ toYaml .Values.serviceDNSOverTLS.loadBalancerSourceRanges | indent 4 }}
|
||||
{{- end -}}
|
||||
{{- if .Values.serviceDNSOverTLS.externalIPs }}
|
||||
externalIPs:
|
||||
{{ toYaml .Values.serviceDNSOverTLS.externalIPs | indent 4 }}
|
||||
{{- end }}
|
||||
externalTrafficPolicy: {{ .Values.serviceDNSOverTLS.externalTrafficPolicy }}
|
||||
ports:
|
||||
- port: 853
|
||||
|
||||
@@ -17,6 +17,14 @@ spec:
|
||||
{{- if .Values.serviceTCP.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.serviceTCP.loadBalancerIP }}
|
||||
{{- end }}
|
||||
{{- if .Values.serviceTCP.loadBalancerSourceRanges }}
|
||||
loadBalancerSourceRanges:
|
||||
{{ toYaml .Values.serviceTCP.loadBalancerSourceRanges | indent 4 }}
|
||||
{{- end -}}
|
||||
{{- if .Values.serviceTCP.externalIPs }}
|
||||
externalIPs:
|
||||
{{ toYaml .Values.serviceTCP.externalIPs | indent 4 }}
|
||||
{{- end }}
|
||||
externalTrafficPolicy: {{ .Values.serviceTCP.externalTrafficPolicy }}
|
||||
ports:
|
||||
- port: 53
|
||||
|
||||
@@ -17,6 +17,14 @@ spec:
|
||||
{{- if .Values.serviceUDP.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.serviceUDP.loadBalancerIP }}
|
||||
{{- end }}
|
||||
{{- if .Values.serviceUDP.loadBalancerSourceRanges }}
|
||||
loadBalancerSourceRanges:
|
||||
{{ toYaml .Values.serviceUDP.loadBalancerSourceRanges | indent 4 }}
|
||||
{{- end -}}
|
||||
{{- if .Values.serviceUDP.externalIPs }}
|
||||
externalIPs:
|
||||
{{ toYaml .Values.serviceUDP.externalIPs | indent 4 }}
|
||||
{{- end }}
|
||||
externalTrafficPolicy: {{ .Values.serviceUDP.externalTrafficPolicy }}
|
||||
ports:
|
||||
- port: 53
|
||||
|
||||
@@ -16,6 +16,14 @@ spec:
|
||||
{{- if .Values.service.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||
{{- end }}
|
||||
{{- if .Values.service.loadBalancerSourceRanges }}
|
||||
loadBalancerSourceRanges:
|
||||
{{ toYaml .Values.service.loadBalancerSourceRanges | indent 4 }}
|
||||
{{- end -}}
|
||||
{{- if .Values.service.externalIPs }}
|
||||
externalIPs:
|
||||
{{ toYaml .Values.service.externalIPs | indent 4 }}
|
||||
{{- end }}
|
||||
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
|
||||
ports:
|
||||
- port: 3000
|
||||
|
||||
@@ -165,6 +165,10 @@ configAsCode:
|
||||
verbose: false
|
||||
schema_version: 6
|
||||
|
||||
tlsSecretName: ""
|
||||
# name of the secret that contains the tls cert and key.
|
||||
# this secret will be mounted inside the adguard container /certs path. e.g. works with cert-manager
|
||||
|
||||
image:
|
||||
repository: adguard/adguardhome
|
||||
# Image tag is set via charts appVersion. If you want to override the tag, specify it here
|
||||
@@ -224,8 +228,10 @@ probes:
|
||||
service:
|
||||
type: ClusterIP
|
||||
# externalTrafficPolicy: Local
|
||||
# externalIPs: []
|
||||
# loadBalancerIP: ""
|
||||
# a fixed LoadBalancer IP
|
||||
# loadBalancerSourceRanges: []
|
||||
annotations: {}
|
||||
# metallb.universe.tf/address-pool: network-services
|
||||
# metallb.universe.tf/allow-shared-ip: adguard-home-svc
|
||||
@@ -234,8 +240,10 @@ serviceTCP:
|
||||
enabled: false
|
||||
type: NodePort
|
||||
# externalTrafficPolicy: Local
|
||||
# externalIPs: []
|
||||
loadBalancerIP: ""
|
||||
# a fixed LoadBalancer IP
|
||||
# loadBalancerSourceRanges: []
|
||||
annotations: {}
|
||||
# metallb.universe.tf/address-pool: network-services
|
||||
# metallb.universe.tf/allow-shared-ip: adguard-home-svc
|
||||
@@ -244,8 +252,10 @@ serviceUDP:
|
||||
enabled: true
|
||||
type: NodePort
|
||||
# externalTrafficPolicy: Local
|
||||
# externalIPs: []
|
||||
loadBalancerIP: ""
|
||||
# a fixed LoadBalancer IP
|
||||
# loadBalancerSourceRanges: []
|
||||
annotations: {}
|
||||
# metallb.universe.tf/address-pool: network-services
|
||||
# metallb.universe.tf/allow-shared-ip: adguard-home-svc
|
||||
@@ -255,8 +265,10 @@ serviceDNSOverTLS:
|
||||
## Enable if you use AdGuard as a DNS over TLS/HTTPS server
|
||||
type: NodePort
|
||||
# externalTrafficPolicy: Local
|
||||
# externalIPs: []
|
||||
loadBalancerIP: ""
|
||||
# a fixed LoadBalancer IP
|
||||
# loadBalancerSourceRanges: []
|
||||
annotations: {}
|
||||
# metallb.universe.tf/address-pool: network-services
|
||||
# metallb.universe.tf/allow-shared-ip: adguard-home-svc
|
||||
@@ -266,6 +278,7 @@ serviceDHCP:
|
||||
## Enable if you use AdGuard as a DHCP Server
|
||||
type: NodePort
|
||||
# externalTrafficPolicy: Local
|
||||
# externalIPs: []
|
||||
loadBalancerIP: ""
|
||||
# a fixed LoadBalancer IP
|
||||
annotations: {}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: "0.5.2"
|
||||
appVersion: "0.6.0"
|
||||
description: Realtime object detection on RTSP cameras with the Google Coral
|
||||
name: frigate
|
||||
version: 4.0.0
|
||||
version: 4.0.1
|
||||
keywords:
|
||||
- tensorflow
|
||||
- coral
|
||||
|
||||
@@ -9,7 +9,7 @@ strategyType: Recreate
|
||||
|
||||
image:
|
||||
repository: blakeblackshear/frigate
|
||||
tag: 0.5.2
|
||||
tag: 0.6.0
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
rtspPassword: password
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: 0.115.2
|
||||
appVersion: 0.116.1
|
||||
description: Home Assistant
|
||||
name: home-assistant
|
||||
version: 2.4.0
|
||||
version: 2.5.2
|
||||
keywords:
|
||||
- home-assistant
|
||||
- hass
|
||||
@@ -22,7 +22,7 @@ maintainers:
|
||||
dependencies:
|
||||
- name: esphome
|
||||
repository: https://k8s-at-home.com/charts/
|
||||
version: ~1.0.0
|
||||
version: ~2.2.0
|
||||
condition: esphome.enabled
|
||||
- name: postgresql
|
||||
version: 9.1.2
|
||||
|
||||
@@ -135,6 +135,7 @@ The following tables lists the configurable parameters of the Home Assistant cha
|
||||
| `vscode.vscodePath` | Base path of the VS Code configuration files | `/config/.vscode` |
|
||||
| `vscode.password` | If this is set, will require a password to access the VS Code Server UI | `` |
|
||||
| `vscode.extraEnv` | Extra ENV vars to pass to the configuration UI | `{}` |
|
||||
| `vscode.args` | Optional arguments to pass into vscode image. Defaulting to "-" uses default arguments. | `-` |
|
||||
| `vscode.ingress.enabled` | Enables Ingress for the VS Code UI | `false` |
|
||||
| `vscode.ingress.annotations` | Ingress annotations for the VS Code UI | `{}` |
|
||||
| `vscode.ingress.hosts` | Ingress accepted hostnames for the VS Code UI | `chart-example.local` |
|
||||
|
||||
@@ -30,3 +30,24 @@ Create chart name and version as used by the chart label.
|
||||
{{- define "home-assistant.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create argument list for vscode image.
|
||||
*/}}
|
||||
{{- define "home-assistant.vscode.args" -}}
|
||||
{{- if empty .Values.vscode.args -}}
|
||||
{{- "" -}}
|
||||
{{- else if (eq (typeOf .Values.vscode.args) "string") -}}
|
||||
- --port={{ .Values.vscode.service.port }}
|
||||
{{- if not (.Values.vscode.password) }}
|
||||
- --auth=none
|
||||
{{- end }}
|
||||
{{- if .Values.vscode.vscodePath }}
|
||||
- --extensions-dir={{ .Values.vscode.vscodePath }}
|
||||
- --user-data-dir={{ .Values.vscode.vscodePath }}
|
||||
- {{ .Values.vscode.hassConfig }}
|
||||
{{- end }}
|
||||
{{- else -}}
|
||||
{{ toYaml .Values.vscode.args }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- $args := include "home-assistant.vscode.args" . -}}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -273,15 +274,9 @@ spec:
|
||||
imagePullPolicy: {{ .Values.vscode.image.pullPolicy }}
|
||||
workingDir: {{ .Values.vscode.hassConfig }}
|
||||
args:
|
||||
- --port={{ .Values.vscode.service.port }}
|
||||
{{- if not (.Values.vscode.password) }}
|
||||
- --auth=none
|
||||
{{- end }}
|
||||
{{- if .Values.vscode.vscodePath }}
|
||||
- --extensions-dir={{ .Values.vscode.vscodePath }}
|
||||
- --user-data-dir={{ .Values.vscode.vscodePath }}
|
||||
- {{ .Values.vscode.hassConfig }}
|
||||
{{- end }}
|
||||
{{- with $args }}
|
||||
{{ . | indent 12 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: vscode
|
||||
containerPort: {{ .Values.vscode.service.port }}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
image:
|
||||
repository: homeassistant/home-assistant
|
||||
tag: 0.115.2
|
||||
tag: 0.116.1
|
||||
pullPolicy: IfNotPresent
|
||||
pullSecrets: []
|
||||
|
||||
@@ -123,7 +123,7 @@ git:
|
||||
|
||||
image:
|
||||
repository: k8sathome/git-crypt
|
||||
tag: 2020.09.07
|
||||
tag: 2020.09.28
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
## Specify the command that runs in the git-sync container to pull in configuration.
|
||||
@@ -250,6 +250,10 @@ vscode:
|
||||
##
|
||||
extraEnv: {}
|
||||
|
||||
## Set to "-" to use default argument list
|
||||
## Otherwise convert to list of arguments
|
||||
args: "-"
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
annotations: {}
|
||||
|
||||
23
charts/intel-gpu-plugin/.helmignore
Normal file
23
charts/intel-gpu-plugin/.helmignore
Normal 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/intel-gpu-plugin/Chart.yaml
Normal file
17
charts/intel-gpu-plugin/Chart.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v2
|
||||
name: intel-gpu-plugin
|
||||
version: 1.0.0
|
||||
appVersion: 0.18.1
|
||||
description: The Intel GPU plugin facilitates offloading the processing of computation intensive workloads to GPU hardware
|
||||
keywords:
|
||||
- kubernetes
|
||||
- cluster
|
||||
- hardware
|
||||
- gpu
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/intel-gpu-plugin
|
||||
icon: https://avatars0.githubusercontent.com/u/17888862?s=400&v=4
|
||||
sources:
|
||||
- https://github.com/intel/intel-device-plugins-for-kubernetes/blob/master/cmd/gpu_plugin
|
||||
maintainers:
|
||||
- name: billimek
|
||||
email: jeff@billimek.com
|
||||
73
charts/intel-gpu-plugin/README.md
Normal file
73
charts/intel-gpu-plugin/README.md
Normal file
@@ -0,0 +1,73 @@
|
||||
# intel-gpu-plugin helm chart
|
||||
|
||||
This is a helm chart that will deploy [intel-gpu-plugin](https://github.com/intel/intel-device-plugins-for-kubernetes/blob/master/cmd/gpu_plugin) as a DaemonSet.
|
||||
|
||||
The GPU plugin facilitates offloading the processing of computation intensive workloads to GPU hardware.
|
||||
|
||||
## TL;DR
|
||||
|
||||
```shell
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm install k8s-at-home/intel-gpu-plugin
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `my-release`:
|
||||
|
||||
```shell
|
||||
helm install my-release k8s-at-home/intel-gpu-plugin
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall/delete the `my-release` deployment:
|
||||
|
||||
```shell
|
||||
helm delete my-release --purge
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
The following tables lists the configurable parameters of the Sentry chart and their default values.
|
||||
Read through the [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/intel-gpu-plugin/values.yaml) file. It has several commented out suggested values.
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| ------------------------------------------- | -------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
|
||||
| `image.repository` | Image repository | `intel/intel-gpu-plugin` |
|
||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/intel/intel-gpu-plugin/tags). | `0.18.1` |
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
```shell
|
||||
helm install my-release \
|
||||
--set image.pullPolicy="Always" \
|
||||
k8s-at-home/intel-gpu-plugin
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||
|
||||
```shell
|
||||
helm install my-release -f values.yaml k8s-at-home/intel-gpu-plugin
|
||||
```
|
||||
|
||||
### Node Feature Discovery
|
||||
|
||||
If your cluster runs [Node Feature Discovery](https://github.com/k8s-at-home/charts/blob/master/charts/node-feature-discovery), you can deploy the device plugin only on nodes with Intel GPU by specifying the desired `nodeSelector` or `affinity` in your values. For example (make sure to update to your exact feature label):
|
||||
|
||||
```yaml
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: feature.node.kubernetes.io/pci-0300_8086.present
|
||||
operator: In
|
||||
values:
|
||||
- "true"
|
||||
```
|
||||
62
charts/intel-gpu-plugin/templates/_helpers.tpl
Normal file
62
charts/intel-gpu-plugin/templates/_helpers.tpl
Normal file
@@ -0,0 +1,62 @@
|
||||
{{/*
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "intel-gpu-plugin.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
If release name contains chart name it will be used as a full name.
|
||||
*/}}
|
||||
{{- define "intel-gpu-plugin.fullname" -}}
|
||||
{{- if .Values.fullnameOverride }}
|
||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- else }}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||
{{- if contains $name .Release.Name }}
|
||||
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
||||
{{- else }}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create chart name and version as used by the chart label.
|
||||
*/}}
|
||||
{{- define "intel-gpu-plugin.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Common labels
|
||||
*/}}
|
||||
{{- define "intel-gpu-plugin.labels" -}}
|
||||
helm.sh/chart: {{ include "intel-gpu-plugin.chart" . }}
|
||||
{{ include "intel-gpu-plugin.selectorLabels" . }}
|
||||
{{- if .Chart.AppVersion }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
{{- end }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Selector labels
|
||||
*/}}
|
||||
{{- define "intel-gpu-plugin.selectorLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "intel-gpu-plugin.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create the name of the service account to use
|
||||
*/}}
|
||||
{{- define "intel-gpu-plugin.serviceAccountName" -}}
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
{{- default (include "intel-gpu-plugin.fullname" .) .Values.serviceAccount.name }}
|
||||
{{- else }}
|
||||
{{- default "default" .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
71
charts/intel-gpu-plugin/templates/daemonset.yaml
Normal file
71
charts/intel-gpu-plugin/templates/daemonset.yaml
Normal file
@@ -0,0 +1,71 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: {{ include "intel-gpu-plugin.fullname" . }}
|
||||
labels:
|
||||
{{- include "intel-gpu-plugin.labels" . | nindent 4 }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "intel-gpu-plugin.selectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
{{- with .Values.podAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "intel-gpu-plugin.selectorLabels" . | nindent 8 }}
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "intel-gpu-plugin.serviceAccountName" . }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
env:
|
||||
- name: NODE_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
volumeMounts:
|
||||
- name: devfs
|
||||
mountPath: /dev/dri
|
||||
readOnly: true
|
||||
- name: sysfs
|
||||
mountPath: /sys/class/drm
|
||||
readOnly: true
|
||||
- name: kubeletsockets
|
||||
mountPath: /var/lib/kubelet/device-plugins
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumes:
|
||||
- name: devfs
|
||||
hostPath:
|
||||
path: /dev/dri
|
||||
- name: sysfs
|
||||
hostPath:
|
||||
path: /sys/class/drm
|
||||
- name: kubeletsockets
|
||||
hostPath:
|
||||
path: /var/lib/kubelet/device-plugins
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
12
charts/intel-gpu-plugin/templates/serviceaccount.yaml
Normal file
12
charts/intel-gpu-plugin/templates/serviceaccount.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- if .Values.serviceAccount.create -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "intel-gpu-plugin.serviceAccountName" . }}
|
||||
labels:
|
||||
{{- include "intel-gpu-plugin.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
50
charts/intel-gpu-plugin/values.yaml
Normal file
50
charts/intel-gpu-plugin/values.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
# Default values for intel-gpu-plugin.
|
||||
|
||||
image:
|
||||
repository: intel/intel-gpu-plugin
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 0.18.1
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
serviceAccount:
|
||||
# Specifies whether a service account should be created
|
||||
create: true
|
||||
# Annotations to add to the service account
|
||||
annotations: {}
|
||||
# The name of the service account to use.
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name: ""
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
|
||||
securityContext: {}
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
# readOnlyRootFilesystem: true
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v0.16.1045
|
||||
description: API Support for your favorite torrent trackers
|
||||
name: jackett
|
||||
version: 4.0.0
|
||||
version: 4.0.1
|
||||
keywords:
|
||||
- jackett
|
||||
- torrent
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: lidarr
|
||||
description: Looks and smells like Sonarr but made for music
|
||||
type: application
|
||||
version: 4.0.1
|
||||
version: 4.0.2
|
||||
appVersion: 0.7.1.1785-ls18
|
||||
keywords:
|
||||
- lidarr
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: media-common
|
||||
description: Common dependancy chart for media ecosystem containers
|
||||
type: application
|
||||
version: 1.3.0
|
||||
version: 1.3.1
|
||||
keywords:
|
||||
- media-common
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/media-common
|
||||
|
||||
@@ -64,7 +64,7 @@ kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}-{{ $ingress.nameSuffix | default $index }}
|
||||
labels:
|
||||
{{- include "media-common.labels" . | nindent 4 }}
|
||||
{{- include "media-common.labels" $ | nindent 4 }}
|
||||
{{- with $ingress.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v21.0
|
||||
description: NZBGet is a Usenet downloader client
|
||||
name: nzbget
|
||||
version: 5.0.0
|
||||
version: 5.0.1
|
||||
keywords:
|
||||
- nzbget
|
||||
- usenet
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: ombi
|
||||
description: Want a Movie or TV Show on Plex or Emby? Use Ombi!
|
||||
type: application
|
||||
version: 4.0.1
|
||||
version: 4.0.2
|
||||
appVersion: 4.0.471
|
||||
keywords:
|
||||
- ombi
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: organizr
|
||||
description: HTPC/Homelab Services Organizer - Written in PHP
|
||||
type: application
|
||||
version: 1.0.1
|
||||
version: 1.0.2
|
||||
appVersion: latest
|
||||
keywords:
|
||||
- organizr
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v3.8.1
|
||||
description: Program for forwarding ADS-B data to FlightAware
|
||||
name: piaware
|
||||
version: 2.0.1
|
||||
version: 2.1.0
|
||||
keywords:
|
||||
- piaware
|
||||
- flight-aware
|
||||
|
||||
@@ -17,6 +17,15 @@ To install the chart with the release name `my-release`:
|
||||
helm install --name my-release k8s-at-home/piaware
|
||||
```
|
||||
|
||||
### Configuration
|
||||
There are two main options for this chart, either use a UBB device on the node where the pod runs or use
|
||||
[readsb](https://hub.docker.com/r/mikenye/readsb) with beast
|
||||
|
||||
#### USB
|
||||
Set the value
|
||||
|
||||
device: "/dev/bus/usb/001/004"
|
||||
|
||||
**IMPORTANT NOTE:** a flight-aware USB device must be accessible on the node where this pod runs, in order for this chart to function properly.
|
||||
|
||||
A way to achieve this can be with nodeAffinity rules, for example:
|
||||
@@ -35,6 +44,12 @@ affinity:
|
||||
|
||||
... where a node with an attached flight-aware USB device is labeled with `app: flight-aware`
|
||||
|
||||
#### Beast
|
||||
Use this together with the [readsb](https://hub.docker.com/r/mikenye/readsb)
|
||||
Set the value
|
||||
|
||||
beastHost: <host running readsb>
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall/delete the `my-release` deployment:
|
||||
@@ -53,12 +68,12 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm
|
||||
|
||||
```console
|
||||
helm install --name my-release \
|
||||
--set rtspPassword="nosecrets" \
|
||||
--set feederId="nosecrets" \
|
||||
k8s-at-home/piaware
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||
|
||||
```console
|
||||
helm install --name my-release -f values.yaml stable/piaware
|
||||
helm install --name my-release -f values.yaml k8s-at-home/piaware
|
||||
```
|
||||
|
||||
@@ -33,8 +33,10 @@ spec:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- if .Values.device }}
|
||||
securityContext:
|
||||
privileged: true
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
@@ -56,15 +58,27 @@ spec:
|
||||
- name: FEEDER_ID
|
||||
value: "{{ .Values.feederId }}"
|
||||
{{- end }}
|
||||
{{- if .Values.beastHost }}
|
||||
- name: BEASTHOST
|
||||
value: "{{ .Values.beastHost }}"
|
||||
{{- end }}
|
||||
{{- if .Values.beastPort }}
|
||||
- name: BEASTPORT
|
||||
value: "{{ .Values.beastPort }}"
|
||||
{{- end }}
|
||||
{{- if .Values.device }}
|
||||
volumeMounts:
|
||||
- mountPath: {{ .Values.device }}
|
||||
name: usb
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- if .Values.device }}
|
||||
volumes:
|
||||
- name: usb
|
||||
hostPath:
|
||||
path: {{ .Values.device }}
|
||||
{{- end }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
||||
@@ -21,7 +21,10 @@ image:
|
||||
# longitude: "30.66783"
|
||||
|
||||
# device where the flight-aware device can be accessed
|
||||
device: "/dev/bus/usb/001/004"
|
||||
# device: "/dev/bus/usb/001/004"
|
||||
|
||||
# beastHost: 10.0.1.88
|
||||
# beastPort: 30005
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: 1.20.1.3252
|
||||
appVersion: 1.20.2.3402
|
||||
description: Plex Media Server
|
||||
name: plex
|
||||
version: 2.0.3
|
||||
version: 2.0.4
|
||||
keywords:
|
||||
- plex
|
||||
home: https://plex.tv/
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
image:
|
||||
repository: plexinc/pms-docker
|
||||
tag: 1.20.1.3252-a78fef9a9
|
||||
tag: 1.20.2.3402-0fec14d92
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
##### START --> Official PLEX container environment variables
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 4.2.5
|
||||
description: qBittorrent is a cross-platform free and open-source BitTorrent client
|
||||
name: qbittorrent
|
||||
version: 5.0.0
|
||||
version: 5.0.1
|
||||
keywords:
|
||||
- qbittorrent
|
||||
- torrrent
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: radarr
|
||||
description: A fork of Sonarr to work with movies à la Couchpotato
|
||||
type: application
|
||||
version: 6.0.1
|
||||
version: 6.0.2
|
||||
appVersion: 3.0.0.3591
|
||||
keywords:
|
||||
- radarr
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: sonarr
|
||||
description: Smart PVR for newsgroup and bittorrent users
|
||||
type: application
|
||||
version: 6.0.1
|
||||
version: 6.0.2
|
||||
appVersion: 3.0.3.913
|
||||
keywords:
|
||||
- sonarr
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: tautulli
|
||||
description: A Python based monitoring and tracking tool for Plex Media Server
|
||||
type: application
|
||||
version: 4.0.1
|
||||
version: 4.0.2
|
||||
appVersion: v2.5.4
|
||||
keywords:
|
||||
- tautulli
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: v1.19.3
|
||||
appVersion: v1.20.0
|
||||
description: A self-hosted data logger for your Tesla 🚘
|
||||
name: teslamate
|
||||
version: 3.0.1
|
||||
version: 3.0.2
|
||||
keywords:
|
||||
- teslamate
|
||||
- tesla
|
||||
@@ -12,8 +12,8 @@ sources:
|
||||
- https://github.com/adriankumpf/teslamate
|
||||
dependencies:
|
||||
- name: postgresql
|
||||
version: 8.1.0
|
||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
||||
version: 9.1.2
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: postgresql.enabled
|
||||
maintainers:
|
||||
- name: billimek
|
||||
|
||||
@@ -2,7 +2,7 @@ replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: teslamate/teslamate
|
||||
tag: 1.19.3
|
||||
tag: 1.20.0
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
nameOverride: ""
|
||||
@@ -81,54 +81,21 @@ tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
## Configuration values for the postgresql dependency.
|
||||
## Ref: https://github.com/helm/charts/blob/master/stable/postgresql/README.md
|
||||
# Configuration values for the postgresql dependency.
|
||||
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
|
||||
postgresql:
|
||||
enabled: true
|
||||
postgresqlUsername: teslamate
|
||||
postgresqlPassword: teslamate
|
||||
postgresqlDatabase: teslamate
|
||||
image:
|
||||
repository: postgres
|
||||
tag: 12.1
|
||||
postgresqlDataDir: "/data/pgdata"
|
||||
|
||||
### PostgreSQL User to create.
|
||||
##
|
||||
postgresqlUsername: teslamate
|
||||
|
||||
## PostgreSQL Password for the new user.
|
||||
## If not set, a random 10 characters password will be used.
|
||||
##
|
||||
postgresqlPassword: teslamate
|
||||
|
||||
## PostgreSQL Database to create.
|
||||
##
|
||||
postgresqlDatabase: teslamate
|
||||
|
||||
## Persistent Volume Storage configuration for PostgreSQL.
|
||||
##
|
||||
## Ref: https://kubernetes.io/docs/user-guide/persistent-volumes
|
||||
##
|
||||
persistence:
|
||||
## Enable PostgreSQL persistence using Persistent Volume Claims.
|
||||
##
|
||||
enabled: true
|
||||
|
||||
## Persistent Volume Storage Class to be used by PersistentVolumes created
|
||||
## for PostgreSQL.
|
||||
##
|
||||
## 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:
|
||||
|
||||
## Persistent Volume Access Mode.
|
||||
##
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
## Persistent Volume Storage Size.
|
||||
##
|
||||
size: 8Gi
|
||||
|
||||
mountPath: "/data/"
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: uptimerobot-prometheus
|
||||
description: Prometheus Exporter for the official uptimerobot CLI
|
||||
type: application
|
||||
version: 2.0.0
|
||||
version: 2.0.1
|
||||
appVersion: 0.0.1
|
||||
keywords:
|
||||
- uptimerobot
|
||||
|
||||
@@ -4,6 +4,10 @@ metadata:
|
||||
name: {{ include "uptimerobot-prometheus.fullname" . }}
|
||||
labels:
|
||||
{{- include "uptimerobot-prometheus.labels" . | nindent 4 }}
|
||||
{{- if .Values.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
|
||||
@@ -29,6 +29,10 @@ securityContext: {}
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 9705
|
||||
# Sometimes you may need to add annotations to the service
|
||||
# to integrate with external operators
|
||||
# annotations:
|
||||
# prometheus.io/scrape: "true"
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
|
||||
@@ -2,8 +2,8 @@ apiVersion: v2
|
||||
name: zigbee2mqtt
|
||||
type: application
|
||||
description: Bridges events and allows you to control your Zigbee devices via MQTT
|
||||
appVersion: 1.14.1
|
||||
version: 1.0.0
|
||||
appVersion: 1.15.0
|
||||
version: 2.1.0
|
||||
keywords:
|
||||
- zigbee
|
||||
- mqtt
|
||||
|
||||
@@ -64,3 +64,21 @@ Alternatively, a YAML file that specifies the values for the above parameters ca
|
||||
```console
|
||||
helm install --name my-release -f values.yaml k8s-at-home/zigbee2mqtt
|
||||
```
|
||||
|
||||
## Upgrading an existing Release to a new major version
|
||||
|
||||
A major chart version change (like 1.0.0 -> 2.0.0) indicates that there is an
|
||||
incompatible breaking change needing manual actions.
|
||||
|
||||
### Upgrading from 1.x.x to 2.x.x
|
||||
|
||||
Zigbee2MQTT has gained a native full-feature WebUI. Because of this, Zigbee2MQTTAssistant was dropped from the chart
|
||||
|
||||
You should delete the assistant config from your values.yaml. If you wish to use the new UI, make sure you have
|
||||
```
|
||||
frontend:
|
||||
port: 8080
|
||||
experimental:
|
||||
new_api: true
|
||||
```
|
||||
in the config section, and enable the ingress in values.yaml. Because of the way this chart works, you'll need to add this section to your configuration.yaml in zigbee2mqtt manually if you want to upgrade in-place
|
||||
|
||||
@@ -7,24 +7,26 @@ WARNING: You have not set a network key, which makes zigbee2mqtt run with a well
|
||||
Please read https://www.zigbee2mqtt.io/how_tos/how_to_secure_network.html
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.assistant.enabled }}
|
||||
Get the Z2MA URL by running these commands:
|
||||
{{- if .Values.assistant.ingress.enabled }}
|
||||
{{- range .Values.assistant.ingress.hosts }}
|
||||
http{{ if $.Values.assistant.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.assistant.ingress.path }}
|
||||
{{- if and .Values.config.frontend .Values.config.experimental }}
|
||||
{{- if and .Values.config.frontend.port .Values.config.experimental.new_api }}
|
||||
Get the Zigbee2MQTT WebUI URL by running these commands:
|
||||
{{- if .Values.ingress.enabled }}
|
||||
{{- range .Values.ingress.hosts }}
|
||||
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.ingress.path }}
|
||||
{{- end }}
|
||||
{{- else if contains "NodePort" .Values.assistant.service.type }}
|
||||
{{- else if contains "NodePort" .Values.service.type }}
|
||||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "zigbee2mqtt.fullname" . }})
|
||||
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
|
||||
echo http://$NODE_IP:$NODE_PORT
|
||||
{{- else if contains "LoadBalancer" .Values.assistant.service.type }}
|
||||
{{- else if contains "LoadBalancer" .Values.service.type }}
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
You can watch the status of by running 'kubectl get svc -w {{ include "zigbee2mqtt.fullname" . }}'
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "zigbee2mqtt.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
echo http://$SERVICE_IP:{{ .Values.assistant.service.port }}
|
||||
{{- else if contains "ClusterIP" .Values.assistant.service.type }}
|
||||
echo http://$SERVICE_IP:{{ .Values.service.port }}
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "zigbee2mqtt.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
||||
echo "Visit http://127.0.0.1:5000 to use your application"
|
||||
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 5000:80
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -9,40 +9,3 @@ data:
|
||||
{{- with .Values.config }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
---
|
||||
{{- if .Values.assistant.enabled }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "zigbee2mqtt.fullname" . }}assistant
|
||||
labels:
|
||||
{{ include "zigbee2mqtt.labels" . | indent 4 }}
|
||||
data:
|
||||
TZ: {{ .Values.timezone | quote }}
|
||||
{{- $server := default "mqtt://localhost:1883" .Values.config.mqtt.server }}
|
||||
{{- $protocol := (split "://" $server)._0 }}
|
||||
{{- $host := (split ":" (split "://" $server)._1)._0 }}
|
||||
{{- $port := (split ":" $server)._2 }}
|
||||
Z2MA_SETTINGS__MQTTSERVER: {{ $host }}
|
||||
{{- if eq $protocol "mqtts"}}
|
||||
Z2MA_SETTINGS__MQTTSECURE: "true"
|
||||
{{- end }}
|
||||
{{- if $port }}
|
||||
Z2MA_SETTINGS__MQTTPORT: {{ $port }}
|
||||
{{- end }}
|
||||
{{- if .Values.config.mqtt.user }}
|
||||
Z2MA_SETTINGS__MQTTUSERNAME: {{ .Values.config.mqtt.user }}
|
||||
{{- end }}
|
||||
{{- if .Values.config.mqtt.password }}
|
||||
Z2MA_SETTINGS__MQTTPASSWORD: {{ .Values.config.mqtt.password }}
|
||||
{{- end }}
|
||||
{{- if .Values.config.mqtt.base_topic }}
|
||||
Z2MA_SETTINGS__BASETOPIC: {{ .Values.config.mqtt.base_topic }}
|
||||
{{- end }}
|
||||
{{- if and .Values.config.homeassistant .Values.config.advanced.homeassistant_discovery_topic }}
|
||||
Z2MA_SETTINGS__HOMEASSISTANTDISCOVERYBASETOPIC: {{ .Values.config.advanced.homeassistant_discovery_topic }}
|
||||
{{- end }}
|
||||
{{- range $key, $val := .Values.assistant.config }}
|
||||
Z2MA_SETTINGS__{{ $key | upper }}: {{ $val | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -1,20 +1,21 @@
|
||||
{{- if and .Values.assistant.enabled .Values.assistant.ingress.enabled -}}
|
||||
{{- if and .Values.config.frontend .Values.config.experimental }}
|
||||
{{- if and .Values.config.frontend.port .Values.config.experimental.new_api }}
|
||||
{{- $fullName := include "zigbee2mqtt.fullname" . -}}
|
||||
{{- $ingressPath := .Values.assistant.ingress.path -}}
|
||||
{{- $ingressPath := .Values.ingress.path -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}
|
||||
labels:
|
||||
{{ include "zigbee2mqtt.labels" . | indent 4 }}
|
||||
{{- with .Values.assistant.ingress.annotations }}
|
||||
{{- with .Values.ingress.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.assistant.ingress.tls }}
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- range .Values.assistant.ingress.tls }}
|
||||
{{- range .Values.ingress.tls }}
|
||||
- hosts:
|
||||
{{- range .hosts }}
|
||||
- {{ . | quote }}
|
||||
@@ -23,7 +24,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- range .Values.assistant.ingress.hosts }}
|
||||
{{- range .Values.ingress.hosts }}
|
||||
- host: {{ . | quote }}
|
||||
http:
|
||||
paths:
|
||||
@@ -32,4 +33,5 @@ spec:
|
||||
serviceName: {{ $fullName }}
|
||||
servicePort: http
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -1,50 +1,52 @@
|
||||
{{- if .Values.assistant.enabled -}}
|
||||
{{- if and .Values.config.frontend .Values.config.experimental }}
|
||||
{{- if and .Values.config.frontend.port .Values.config.experimental.new_api }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ template "zigbee2mqtt.fullname" . }}
|
||||
labels:
|
||||
{{ include "zigbee2mqtt.labels" . | indent 4 }}
|
||||
{{- if .Values.assistant.service.labels }}
|
||||
{{ toYaml .Values.assistant.service.labels | indent 4 }}
|
||||
{{- if .Values.service.labels }}
|
||||
{{ toYaml .Values.service.labels | indent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.assistant.service.annotations }}
|
||||
{{- with .Values.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if (or (eq .Values.assistant.service.type "ClusterIP") (empty .Values.assistant.service.type)) }}
|
||||
{{- if (or (eq .Values.service.type "ClusterIP") (empty .Values.service.type)) }}
|
||||
type: ClusterIP
|
||||
{{- if .Values.assistant.service.clusterIP }}
|
||||
clusterIP: {{ .Values.assistant.service.clusterIP }}
|
||||
{{- if .Values.service.clusterIP }}
|
||||
clusterIP: {{ .Values.service.clusterIP }}
|
||||
{{end}}
|
||||
{{- else if eq .Values.assistant.service.type "LoadBalancer" }}
|
||||
type: {{ .Values.assistant.service.type }}
|
||||
{{- if .Values.assistant.service.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.assistant.service.loadBalancerIP }}
|
||||
{{- else if eq .Values.service.type "LoadBalancer" }}
|
||||
type: {{ .Values.service.type }}
|
||||
{{- if .Values.service.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||
{{- end }}
|
||||
{{- if .Values.assistant.service.loadBalancerSourceRanges }}
|
||||
{{- if .Values.service.loadBalancerSourceRanges }}
|
||||
loadBalancerSourceRanges:
|
||||
{{ toYaml .Values.assistant.service.loadBalancerSourceRanges | indent 4 }}
|
||||
{{ toYaml .Values.service.loadBalancerSourceRanges | indent 4 }}
|
||||
{{- end -}}
|
||||
{{- else }}
|
||||
type: {{ .Values.assistant.service.type }}
|
||||
type: {{ .Values.service.type }}
|
||||
{{- end }}
|
||||
{{- if .Values.assistant.service.externalIPs }}
|
||||
{{- if .Values.service.externalIPs }}
|
||||
externalIPs:
|
||||
{{ toYaml .Values.assistant.service.externalIPs | indent 4 }}
|
||||
{{ toYaml .Values.service.externalIPs | indent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.assistant.service.externalTrafficPolicy }}
|
||||
externalTrafficPolicy: {{ .Values.assistant.service.externalTrafficPolicy }}
|
||||
{{- if .Values.service.externalTrafficPolicy }}
|
||||
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
port: {{ .Values.assistant.service.port }}
|
||||
port: {{ .Values.service.port }}
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
{{ if (and (eq .Values.assistant.service.type "NodePort") (not (empty .Values.assistant.service.nodePort))) }}
|
||||
nodePort: {{.Values.assistant.service.nodePort}}
|
||||
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
|
||||
nodePort: {{.Values.service.nodePort}}
|
||||
{{ end }}
|
||||
selector:
|
||||
{{- include "zigbee2mqtt.selectorLabels" . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -41,6 +41,30 @@ spec:
|
||||
- name: DEBUG
|
||||
value: {{ .Values.debug }}
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.extraEnv }}
|
||||
- name: {{ $key | quote }}
|
||||
value: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- range $name, $opts := .Values.extraEnvSecrets }}
|
||||
- name: {{ $name }}
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ $opts.secret }}
|
||||
key: {{ $opts.key }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
{{- range .Values.extraSecretForEnvFrom }}
|
||||
- secretRef:
|
||||
name: {{ . }}
|
||||
{{- end }}
|
||||
{{- if and .Values.config.frontend .Values.config.experimental }}
|
||||
{{- if and .Values.config.frontend.port .Values.config.experimental.new_api }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.config.frontend.port }}
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumeMounts:
|
||||
@@ -51,34 +75,7 @@ spec:
|
||||
mountPath: /data
|
||||
- name: sniffer
|
||||
mountPath: {{ .Values.config.serial.port }}
|
||||
{{- if .Values.assistant.enabled }}
|
||||
- name: {{ .Chart.Name }}assistant
|
||||
image: "{{ .Values.assistant.image.repository }}:{{ .Values.assistant.image.tag | default "latest" }}"
|
||||
imagePullPolicy: {{ .Values.assistant.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: {{ .Values.assistant.probes.liveness.initialDelaySeconds }}
|
||||
failureThreshold: {{ .Values.assistant.probes.liveness.failureThreshold }}
|
||||
timeoutSeconds: {{ .Values.assistant.probes.liveness.timeoutSeconds }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: {{ .Values.assistant.probes.readiness.initialDelaySeconds }}
|
||||
failureThreshold: {{ .Values.assistant.probes.readiness.failureThreshold }}
|
||||
timeoutSeconds: {{ .Values.assistant.probes.readiness.timeoutSeconds }}
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "zigbee2mqtt.fullname" . }}assistant
|
||||
{{- end }}
|
||||
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 8 }}{{ end }}
|
||||
volumes:
|
||||
- name: zigbee2mqtt
|
||||
configMap:
|
||||
@@ -95,6 +92,7 @@ spec:
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.existingClaim }}
|
||||
{{- end }}
|
||||
{{- if .Values.extraVolumes }}{{ toYaml .Values.extraVolumes | trim | nindent 6 }}{{ end }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
||||
@@ -39,66 +39,45 @@ config:
|
||||
log_output:
|
||||
- console
|
||||
|
||||
assistant:
|
||||
enabled: true
|
||||
image:
|
||||
repository: carldebilly/zigbee2mqttassistant
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is latest.
|
||||
tag: ""
|
||||
# Config values from https://github.com/yllibed/Zigbee2MqttAssistant
|
||||
# MQTT (connection or topic) parameters are retrieved from general config, but they can be overriden.
|
||||
# All of them are case insensitive.
|
||||
config:
|
||||
lowBatteryThreshold: 30
|
||||
allowJoinTimeout: 20
|
||||
autosetLastSeen: false
|
||||
devicesPollingSchedule: "*/12 * * * *"
|
||||
networkScanSchedule: "0 */3 * * *"
|
||||
# Both of these need to be enabled for the webui
|
||||
frontend:
|
||||
port: 8080
|
||||
experimental:
|
||||
new_api: true
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
initialDelaySeconds: 30
|
||||
failureThreshold: 5
|
||||
timeoutSeconds: 10
|
||||
readiness:
|
||||
initialDelaySeconds: 30
|
||||
failureThreshold: 5
|
||||
timeoutSeconds: 10
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8080
|
||||
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
||||
##
|
||||
# nodePort:
|
||||
## Provide any additional annotations which may be required. This can be used to
|
||||
## set the LoadBalancer service type to internal only.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
||||
##
|
||||
annotations: {}
|
||||
labels: {}
|
||||
## Use loadBalancerIP to request a specific static IP,
|
||||
## otherwise leave blank
|
||||
##
|
||||
loadBalancerIP:
|
||||
# loadBalancerSourceRanges: []
|
||||
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
||||
# externalTrafficPolicy: Cluster
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8091
|
||||
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
||||
##
|
||||
# nodePort:
|
||||
## Provide any additional annotations which may be required. This can be used to
|
||||
## set the LoadBalancer service type to internal only.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
||||
##
|
||||
annotations: {}
|
||||
labels: {}
|
||||
## Use loadBalancerIP to request a specific static IP,
|
||||
## otherwise leave blank
|
||||
##
|
||||
loadBalancerIP:
|
||||
# loadBalancerSourceRanges: []
|
||||
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
||||
# externalTrafficPolicy: Cluster
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
path: /
|
||||
hosts:
|
||||
- chart-example.local
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
ingress:
|
||||
enabled: false
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
path: /
|
||||
hosts:
|
||||
- chart-example.local
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
persistence:
|
||||
enabled: false
|
||||
@@ -118,6 +97,28 @@ persistence:
|
||||
accessMode: ReadWriteOnce
|
||||
size: 100Mi
|
||||
|
||||
## Additional zigbee2mqtt container environment variable
|
||||
## For instance to add a http_proxy
|
||||
##
|
||||
extraEnv: {}
|
||||
|
||||
## Additional zigbee2mqtt container environment variable from k8s secrets
|
||||
## For instance to add a password
|
||||
extraEnvSecrets:
|
||||
# Example
|
||||
# This will set ${ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD} to the 'password' key from the 'mqtt' secret
|
||||
# ZIGBEE2MQTT_CONFIG_MQTT_PASSWORD:
|
||||
# secret: mqtt
|
||||
# key: password
|
||||
|
||||
## If you'd like to provide your own Kubernetes Secret object instead of passing your values
|
||||
## individually, pass in the name of a created + populated Secret.
|
||||
## All secrets will be mounted as environment variables, with each key/value mapping to a
|
||||
## corresponding environment variable.
|
||||
##
|
||||
extraSecretForEnvFrom: []
|
||||
# - zigbee2mqtt-secrets
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
@@ -162,3 +163,15 @@ nodeSelector: {}
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
# Any extra volumes to define for the pod
|
||||
extraVolumes: []
|
||||
# - name: example-name
|
||||
# hostPath:
|
||||
# path: /path/on/host
|
||||
# type: DirectoryOrCreate
|
||||
|
||||
# Any extra volume mounts to define for the containers
|
||||
extraVolumeMounts: []
|
||||
# - name: example-name
|
||||
# mountPath: /path/in/container
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 4.0.3
|
||||
description: Fully configurable Zwave to MQTT gateway and Control Panel using NodeJS and Vue
|
||||
name: zwave2mqtt
|
||||
version: 3.0.1
|
||||
version: 4.0.0
|
||||
keywords:
|
||||
- zwave
|
||||
- mqtt
|
||||
|
||||
@@ -62,3 +62,14 @@ Alternatively, a YAML file that specifies the values for the above parameters ca
|
||||
```console
|
||||
helm install --name my-release -f values.yaml stable/zwave2mqtt
|
||||
```
|
||||
|
||||
## Upgrading an existing Release to a new major version
|
||||
|
||||
A major chart version change (like 2.2.2 -> 3.0.0) indicates that there is an
|
||||
incompatible breaking change needing manual actions.
|
||||
|
||||
### Upgrading from 3.x.x to 4.x.x
|
||||
|
||||
Upgrading to this release it is suggested to enable the flag in Settings > Zwave > Auto update database
|
||||
|
||||
In order to use an updated configuration for the devices, you have to send a refreshNodeInfo to that node
|
||||
|
||||
@@ -65,9 +65,6 @@ spec:
|
||||
name: usb
|
||||
- mountPath: /usr/src/app/store
|
||||
name: config
|
||||
- mountPath: /usr/local/etc/openzwave
|
||||
name: config
|
||||
subPath: openzwave
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user