Compare commits

..

24 Commits

Author SHA1 Message Date
Jeff Billimek
490dc82894 [multiple] Bump various chart image versions (#88)
* Bump various chart image versions

* friagte: 0.6.0
* home-assistant: 0.116.1
* plex: 1.20.2.3402-0fec14d92
* teslamate: 1.20.0

Signed-off-by: Jeff Billimek <jeff@billimek.com>

* fix teslamate postgres dependency chart

Signed-off-by: Jeff Billimek <jeff@billimek.com>

* remove global reference

Signed-off-by: Jeff Billimek <jeff@billimek.com>
2020-10-09 13:16:16 -04:00
Hugo Fonseca
8be3edfc59 [Adguard-home] Allow to mount secret with certs so we can set the tls … (#87)
* Adguard-home: Allow to mount secret with certs so we can set the tls configs with these

* adguard-home bump to 2.2.0
2020-10-08 15:38:10 -04:00
Denis
eb2f4bac88 [uptimerobot-prometheus] Support annotations in Service (#86)
* bump chart version

* [uptimerobot-prometheus] Support annotations in Service (#1)

* add annotations to service

* add example annotations to values.yaml

* fix trailing spaces
2020-10-07 13:26:13 -04:00
Ryan Holt
7f1f2b9150 Merge pull request #84 from CuBiC3D/master
[media-common] Fixes HELM error on extraIngresses
2020-10-07 11:25:44 -04:00
Waldemar Faist
4bde4fa33f Fixes HELM error on extraIngresses
Signed-off-by: Waldemar Faist <cubic@coldice.net>
2020-10-07 14:01:34 +02:00
Piotr Maksymiuk
2e541d77e5 [zigbee2mqtt] Chart version bump (#81) 2020-10-04 14:19:18 -04:00
Piotr Maksymiuk
e60063a352 [zigbee2mqtt] Version 1.15, new UI (#80) 2020-10-04 13:23:07 -04:00
Ryan Holt
e19708e37d [adguard-home] fix svc path (#79)
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-10-02 16:44:11 -04:00
Ryan Holt
3258774c07 [adguard-home] enable additional service options (#77) 2020-10-02 16:11:05 -04:00
Bernd Schörgers
ef5f8b3451 [intel-gpu-plugin] New chart (#76) 2020-10-02 08:39:38 -04:00
Richard Cox
c516c4e05d [home-assistant] Adds control over vscode image arguments (#75)
* Added ability to control vscode arguments

Signed-off-by: Richard Cox <cox.richard200@gmail.com>

* Fixed helpers function to handle null and empty string vscode.args value

Signed-off-by: Richard Cox <cox.richard200@gmail.com>

Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-09-29 15:45:50 -04:00
nolte
6104d0bc80 update git sync image version, the new version supports multiply architectures like armhf (#72)
Co-authored-by: nolte <nolte07@googlemail.com>
Co-authored-by: Ryan Holt <ryan@ryanholt.net>
2020-09-29 15:38:32 -04:00
Nicholas St. Germain
12752f4018 Merge pull request #69 from k8s-at-home/maint/media-common-semver
[media-common (parents)] Annotations and semver
2020-09-28 21:10:50 -05:00
Ryan Holt
010c3dbf06 Merge branch 'master' into maint/media-common-semver 2020-09-28 16:12:03 -04:00
Ryan Holt
2dba5d9d8e Merge pull request #70 from nolte/feature/esphome-git-sync
[esphome] adding a option for git init container
2020-09-28 16:08:35 -04:00
nolte
1a3f1ad996 using arm supported version
Signed-off-by: nolte <nolte07@googlemail.com>
2020-09-28 19:57:36 +02:00
nolte
f00fef03b6 Adding a option for a git init container.
Signed-off-by: nolte <nolte07@googlemail.com>
2020-09-27 21:39:48 +02:00
Nicholas St. Germain
23dc0d5b14 add maintainer url and artifacthub annotations 2020-09-27 14:05:04 -05:00
Nicholas St. Germain
bae95225cf use minor version matching instead of micro version matching 2020-09-27 13:52:08 -05:00
Nicholas St. Germain
d90ddd9e2b Merge pull request #68 from k8s-at-home/bug/media-common
[media-common] fix nested kube check and update for kube version 1.19 check
2020-09-27 12:58:59 -05:00
Nicholas St. Germain
c058d4adc0 Merge branch 'master' into bug/media-common 2020-09-26 22:44:07 -05:00
Nicholas St. Germain
7e56103498 Update Chart.yaml 2020-09-26 22:42:02 -05:00
Nicholas St. Germain
b237726244 Merge branch 'master' into bug/media-common 2020-09-26 22:36:41 -05:00
Nicholas St. Germain
b8ae055561 fix nested kube check and update for kube version 1.19 check 2020-09-26 19:34:30 -05:00
50 changed files with 801 additions and 313 deletions

View File

@@ -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

View File

@@ -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:

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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: {}

View File

@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 1.14.5
appVersion: 1.15.2
description: ESPHome
name: esphome
version: 2.0.0
version: 2.2.0
keywords:
- esphome
home: https://github.com/k8s-at-home/charts/tree/master/charts/esphome

View File

@@ -34,65 +34,72 @@ The command removes all the Kubernetes components associated with the chart and
The following tables lists the configurable parameters of the ESPHome chart and their default values.
| Parameter | Description | Default |
|----------------------------|-------------------------------------|---------------------------------------------------------|
| `image.repository` | Image repository | `esphome/esphome` |
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/esphome/esphome/tags/).| `0.14.5`|
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Secrets to use when pulling the image | `[]` |
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
| `probes.liveness.enabled` | Use the livenessProbe? | `true` |
| `probes.liveness.scheme ` | Specify liveness `scheme` parameter for the deployment | `HTTP` |
| `probes.liveness.initialDelaySeconds` | Specify liveness `initialDelaySeconds` parameter for the deployment | `60` |
| `probes.liveness.failureThreshold` | Specify liveness `failureThreshold` parameter for the deployment | `5` |
| `probes.liveness.timeoutSeconds` | Specify liveness `timeoutSeconds` parameter for the deployment | `10` |
| `probes.readiness.enabled` | Use the readinessProbe? | `true` |
| `probes.readiness.scheme ` | Specify readiness `scheme` parameter for the deployment | `HTTP` |
| `probes.readiness.initialDelaySeconds` | Specify readiness `initialDelaySeconds` parameter for the deployment | `60` |
| `probes.readiness.failureThreshold` | Specify readiness `failureThreshold` parameter for the deployment | `5` |
| `probes.readiness.timeoutSeconds` | Specify readiness `timeoutSeconds` parameter for the deployment | `10` |
| `probes.startup.enabled` | Use the startupProbe? (new in kubernetes 1.16) | `false` |
| `probes.startup.scheme ` | Specify startup `scheme` parameter for the deployment | `HTTP` |
| `probes.startup.failureThreshold` | Specify startup `failureThreshold` parameter for the deployment | `5` |
| `probes.startup.periodSeconds` | Specify startup `periodSeconds` parameter for the deployment | `10` |
| `service.type` | Kubernetes service type for the esphome GUI | `ClusterIP` |
| `service.port` | Kubernetes port where the esphome GUI is exposed| `6052` |
| `service.portName` | Kubernetes port name where the esphome GUI is exposed | `api` |
| `service.additionalPorts` | Add additional ports exposed by the esphome container integrations. Example homematic needs to expose a proxy port | `{}` |
| `service.annotations` | Service annotations for the esphome GUI | `{}` |
| `service.clusterIP` | Cluster IP for the esphom GUI | `` |
| `service.externalIPs` | External IPs for the esphome GUI | `[]` |
| `service.loadBalancerIP` | Loadbalancer IP for the esphome GUI | `` |
| `service.loadBalancerSourceRanges` | Loadbalancer client IP restriction range for the esphome GUI | `[]` |
| `service.publishNotReadyAddresses` | Set to true if the notReadyAddresses should be published | `false` |
| `service.externalTrafficPolicy` | Loadbalancer externalTrafficPolicy | `` |
| `hostNetwork` | Enable hostNetwork - might be needed for discovery to work | `false` |
| `service.nodePort` | nodePort to listen on for the esphome GUI | `` |
| `ingress.enabled` | Enables Ingress | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.path` | Ingress path | `/` |
| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` |
| `ingress.tls` | Ingress TLS configuration | `[]` |
| `persistence.enabled` | Use persistent volume to store data | `true` |
| `persistence.size` | Size of persistent volume claim | `5Gi` |
| `persistence.existingClaim`| Use an existing PVC to persist data | `nil` |
| `persistence.hostPath`| The path to the config directory on the host, instead of a PVC | `nil` |
| `persistence.storageClass` | Type of persistent volume claim | `-` |
| `persistence.accessMode` | Persistence access modes | `ReadWriteMany` |
| `hostMounts` | Array of host directories to mount; can be used for devices | [] |
| `hostMounts.name` | Name of the volume | `nil` |
| `hostMounts.hostPath` | The path on the host machine | `nil` |
| `hostMounts.mountPath` | The path at which to mount (optional; assumed same as hostPath) | `nil` |
| `hostMounts.type` | The type to mount (optional, i.e., `Directory`) | `nil` |
| `extraEnv` | Extra ENV vars to pass to the esphome container | `{}` |
| `extraEnvSecrets` | Extra env vars to pass to the esphome container from k8s secrets - see `values.yaml` for an example | `{}` |
| `resources` | CPU/Memory resource requests/limits or the esphome GUI | `{}` |
| `nodeSelector` | Node labels for pod assignment or the esphome GUI | `{}` |
| `tolerations` | Toleration labels for pod assignment or the esphome GUI | `[]` |
| `affinity` | Affinity settings for pod assignment or the esphome GUI | `{}` |
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
| `extraVolumes` | Any extra volumes to define for the pod | `{}` |
| `extraVolumeMounts` | Any extra volumes mounts to define for each container of the pod | `{}` |
| Parameter | Description | Default |
|----------------------------------------|--------------------------------------------------------------------------------------------------------------------|-----------------------|
| `image.repository` | Image repository | `esphome/esphome` |
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/esphome/esphome/tags/). | `0.14.5` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Secrets to use when pulling the image | `[]` |
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
| `probes.liveness.enabled` | Use the livenessProbe? | `true` |
| `probes.liveness.scheme ` | Specify liveness `scheme` parameter for the deployment | `HTTP` |
| `probes.liveness.initialDelaySeconds` | Specify liveness `initialDelaySeconds` parameter for the deployment | `60` |
| `probes.liveness.failureThreshold` | Specify liveness `failureThreshold` parameter for the deployment | `5` |
| `probes.liveness.timeoutSeconds` | Specify liveness `timeoutSeconds` parameter for the deployment | `10` |
| `probes.readiness.enabled` | Use the readinessProbe? | `true` |
| `probes.readiness.scheme ` | Specify readiness `scheme` parameter for the deployment | `HTTP` |
| `probes.readiness.initialDelaySeconds` | Specify readiness `initialDelaySeconds` parameter for the deployment | `60` |
| `probes.readiness.failureThreshold` | Specify readiness `failureThreshold` parameter for the deployment | `5` |
| `probes.readiness.timeoutSeconds` | Specify readiness `timeoutSeconds` parameter for the deployment | `10` |
| `probes.startup.enabled` | Use the startupProbe? (new in kubernetes 1.16) | `false` |
| `probes.startup.scheme ` | Specify startup `scheme` parameter for the deployment | `HTTP` |
| `probes.startup.failureThreshold` | Specify startup `failureThreshold` parameter for the deployment | `5` |
| `probes.startup.periodSeconds` | Specify startup `periodSeconds` parameter for the deployment | `10` |
| `service.type` | Kubernetes service type for the esphome GUI | `ClusterIP` |
| `service.port` | Kubernetes port where the esphome GUI is exposed | `6052` |
| `service.portName` | Kubernetes port name where the esphome GUI is exposed | `api` |
| `service.additionalPorts` | Add additional ports exposed by the esphome container integrations. Example homematic needs to expose a proxy port | `{}` |
| `service.annotations` | Service annotations for the esphome GUI | `{}` |
| `service.clusterIP` | Cluster IP for the esphom GUI | `` |
| `service.externalIPs` | External IPs for the esphome GUI | `[]` |
| `service.loadBalancerIP` | Loadbalancer IP for the esphome GUI | `` |
| `service.loadBalancerSourceRanges` | Loadbalancer client IP restriction range for the esphome GUI | `[]` |
| `service.publishNotReadyAddresses` | Set to true if the notReadyAddresses should be published | `false` |
| `service.externalTrafficPolicy` | Loadbalancer externalTrafficPolicy | `` |
| `hostNetwork` | Enable hostNetwork - might be needed for discovery to work | `false` |
| `service.nodePort` | nodePort to listen on for the esphome GUI | `` |
| `ingress.enabled` | Enables Ingress | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.path` | Ingress path | `/` |
| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` |
| `ingress.tls` | Ingress TLS configuration | `[]` |
| `persistence.enabled` | Use persistent volume to store data | `true` |
| `persistence.size` | Size of persistent volume claim | `5Gi` |
| `persistence.existingClaim` | Use an existing PVC to persist data | `nil` |
| `persistence.hostPath` | The path to the config directory on the host, instead of a PVC | `nil` |
| `persistence.storageClass` | Type of persistent volume claim | `-` |
| `persistence.accessMode` | Persistence access modes | `ReadWriteMany` |
| `git.enabled` | Use git-sync in init container | `false` |
| `git.secret` | Git secret to use for git-sync | `git-creds` |
| `git.syncPath` | Git sync path | `/config` |
| `git.keyPath` | Git ssh key path | `/root/.ssh` |
| `git.user.name` | Human-readable name in the “committer” and “author” fields | `` |
| `git.user.email` | Email address for the “committer” and “author” fields | `` |
| `hostMounts` | Array of host directories to mount; can be used for devices | [] |
| `hostMounts.name` | Name of the volume | `nil` |
| `hostMounts.hostPath` | The path on the host machine | `nil` |
| `hostMounts.mountPath` | The path at which to mount (optional; assumed same as hostPath) | `nil` |
| `hostMounts.type` | The type to mount (optional, i.e., `Directory`) | `nil` |
| `extraEnv` | Extra ENV vars to pass to the esphome container | `{}` |
| `extraEnvSecrets` | Extra env vars to pass to the esphome container from k8s secrets - see `values.yaml` for an example | `{}` |
| `resources` | CPU/Memory resource requests/limits or the esphome GUI | `{}` |
| `nodeSelector` | Node labels for pod assignment or the esphome GUI | `{}` |
| `tolerations` | Toleration labels for pod assignment or the esphome GUI | `[]` |
| `affinity` | Affinity settings for pod assignment or the esphome GUI | `{}` |
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
| `extraVolumes` | Any extra volumes to define for the pod | `{}` |
| `extraVolumeMounts` | Any extra volumes mounts to define for each container of the pod | `{}` |

View File

@@ -37,6 +37,56 @@ spec:
hostNetwork: {{ .Values.hostNetwork }}
dnsPolicy: ClusterFirstWithHostNet
{{- end }}
initContainers:
{{- if .Values.git.enabled }}
- name: git-sync
image: "{{ .Values.git.image.repository }}:{{ .Values.git.image.tag }}"
imagePullPolicy: {{ .Values.git.image.pullPolicy }}
{{- if .Values.git.command }}
command:
{{- range .Values.git.command }}
- {{ . | quote }}
{{- end }}
{{- else }}
command: ["/bin/sh", "-c"]
args:
- set -e;
if [ -d "{{ .Values.git.syncPath }}/.git" ];
then
git -C "{{ .Values.git.syncPath }}" pull || true;
else
if [ "$(ls -A {{ .Values.git.syncPath }})" ];
then
git clone --depth 2 "{{ .Values.git.repo }}" /tmp/repo;
cp -rf /tmp/repo/.git "{{ .Values.git.syncPath }}";
cd "{{ .Values.git.syncPath }}";
git checkout -f;
else
git clone --depth 2 "{{ .Values.git.repo }}" "{{ .Values.git.syncPath }}";
fi;
fi;
if [ -f "{{ .Values.git.keyPath }}/git-crypt-key" ];
then
cd {{ .Values.git.syncPath }};
git-crypt unlock "{{ .Values.git.keyPath }}/git-crypt-key";
fi;
{{- end }}
volumeMounts:
- mountPath: /config
name: config
- mountPath: {{ .Values.git.keyPath }}
name: git-secret
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 8 }}{{ end }}
{{- if .Values.usePodSecurityContext }}
securityContext:
runAsUser: {{ default 0 .Values.runAsUser }}
{{- if and (.Values.runAsUser) (.Values.fsGroup) }}
{{- if not (eq .Values.runAsUser 0.0) }}
fsGroup: {{ .Values.fsGroup }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
@@ -144,6 +194,13 @@ spec:
type: {{ .type }}
{{- end }}
{{- end }}
{{- if .Values.git.enabled }}
- name: git-secret
secret:
defaultMode: 256
secretName: {{ .Values.git.secret }}
optional: true
{{ end }}
{{- if .Values.extraVolumes }}{{ toYaml .Values.extraVolumes | trim | nindent 6 }}{{ end }}
{{- with .Values.nodeSelector }}
nodeSelector:

View File

@@ -4,7 +4,7 @@
image:
repository: esphome/esphome
tag: 1.14.5
tag: 1.15.2
pullPolicy: IfNotPresent
pullSecrets: []
@@ -152,3 +152,25 @@ extraVolumes: []
extraVolumeMounts: []
# - name: example-name
# mountPath: /path/in/container
git:
enabled: false
image:
repository: k8sathome/git-crypt
tag: 2020.09.28
pullPolicy: IfNotPresent
## Specify the command that runs in the git-sync container to pull in configuration.
# command: []
# Committer settings
user:
name: ""
email: ""
repo: ""
secret: git-creds
syncPath: /config
keyPath: /root/.ssh

View File

@@ -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

View File

@@ -9,7 +9,7 @@ strategyType: Recreate
image:
repository: blakeblackshear/frigate
tag: 0.5.2
tag: 0.6.0
pullPolicy: IfNotPresent
rtspPassword: password

View File

@@ -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.1
keywords:
- home-assistant
- hass

View File

@@ -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` |

View File

@@ -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 -}}

View File

@@ -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 }}

View File

@@ -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: {}

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/

View 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

View 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"
```

View 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 }}

View 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 }}

View 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 }}

View 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: {}

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: lidarr
description: Looks and smells like Sonarr but made for music
type: application
version: 4.0.0
version: 4.0.1
appVersion: 0.7.1.1785-ls18
keywords:
- lidarr
@@ -14,8 +14,18 @@ sources:
maintainers:
- name: DirtyCajunRice
email: nick@cajun.pro
url: https://github.com/dirtycajunrice
dependencies:
- name: media-common
repository: https://k8s-at-home.com/charts/
version: ~1.0.0
version: ^1.0.0
alias: lidarr
annotations:
artifacthub.io/links: |
- name: App Source
url: https://github.com/Lidarr/Lidarr
- name: Default Docker Image
url: https://hub.docker.com/r/linuxserver/lidarr
artifacthub.io/maintainers: |
- name: Nicholas St. Germain
email: nick@cajun.pro

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: media-common
description: Common dependancy chart for media ecosystem containers
type: application
version: 1.2.0
version: 1.3.1
keywords:
- media-common
home: https://github.com/k8s-at-home/charts/tree/master/charts/media-common

View File

@@ -1,7 +1,10 @@
{{- if .Values.ingress.enabled -}}
{{- $kubeVersion := .Capabilities.KubeVersion.GitVersion -}}
{{- $fullName := include "media-common.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
{{- if semverCompare ">= 1.19-0" $kubeVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">= 1.14-0 < 1.19-0" $kubeVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
@@ -32,24 +35,36 @@ spec:
http:
paths:
{{- range .paths }}
- path: {{ . }}
- path: {{ .path }}
{{- if semverCompare ">= 1.14-0" $kubeVersion}}
pathType: {{ .pathType }}
{{- end }}
backend:
{{- if semverCompare ">= 1.19-0" $kubeVersion}}
service:
name: {{ $fullName }}
port:
name: http
{{- else }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- range $index, $ingress := .Values.ingress.extraIngresses }}
---
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
{{- if semverCompare ">= 1.19-0" $kubeVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">= 1.14-0 < 1.19-0" $kubeVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
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 }}
@@ -71,11 +86,21 @@ spec:
http:
paths:
{{- range .paths }}
- path: {{ . }}
- path: {{ .path }}
{{- if semverCompare ">= 1.14-0" $kubeVersion}}
pathType: {{ .pathType }}
{{- end }}
backend:
{{- if semverCompare ">= 1.19-0" $kubeVersion}}
service:
name: {{ $fullName }}
port:
name: http
{{- else }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -50,7 +50,9 @@ ingress:
hosts:
- host: chart-example.local
paths:
- /
- path: /
# Ignored if not kubeVersion >= 1.14-0
pathType: Prefix
tls: []
# - secretName: chart-example-tls
# hosts:
@@ -65,7 +67,9 @@ ingress:
# hosts:
# - host: chart-example.local
# paths:
# - /api
# - path: /api
# # Ignored if not kubeVersion >= 1.14-0
# pathType: Prefix
# tls: []
# # - secretName: chart-example-tls
# # hosts:

View File

@@ -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.0
version: 4.0.1
appVersion: 4.0.471
keywords:
- ombi
@@ -14,8 +14,18 @@ sources:
maintainers:
- name: DirtyCajunRice
email: nick@cajun.pro
url: https://github.com/dirtycajunrice
dependencies:
- name: media-common
repository: https://k8s-at-home.com/charts/
version: ~1.0.0
version: ^1.0.0
alias: ombi
annotations:
artifacthub.io/links: |
- name: App Source
url: https://github.com/tidusjar/Ombi
- name: Default Docker Image
url: https://hub.docker.com/r/linuxserver/ombi
artifacthub.io/maintainers: |
- name: Nicholas St. Germain
email: nick@cajun.pro

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: organizr
description: HTPC/Homelab Services Organizer - Written in PHP
type: application
version: 1.0.0
version: 1.0.1
appVersion: latest
keywords:
- organizr
@@ -14,8 +14,18 @@ sources:
maintainers:
- name: DirtyCajunRice
email: nick@cajun.pro
url: https://github.com/dirtycajunrice
dependencies:
- name: media-common
repository: https://k8s-at-home.com/charts/
version: ~1.0.0
version: ^1.0.0
alias: organizr
annotations:
artifacthub.io/links: |
- name: App Source
url: https://github.com/causefx/Organizr
- name: Default Docker Image
url: https://hub.docker.com/r/organizr/organizr
artifacthub.io/maintainers: |
- name: Nicholas St. Germain
email: nick@cajun.pro

View File

@@ -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/

View File

@@ -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

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: radarr
description: A fork of Sonarr to work with movies à la Couchpotato
type: application
version: 6.0.0
version: 6.0.1
appVersion: 3.0.0.3591
keywords:
- radarr
@@ -14,8 +14,18 @@ sources:
maintainers:
- name: DirtyCajunRice
email: nick@cajun.pro
url: https://github.com/dirtycajunrice
dependencies:
- name: media-common
repository: https://k8s-at-home.com/charts/
version: ~1.0.0
version: ^1.0.0
alias: radarr
annotations:
artifacthub.io/links: |
- name: App Source
url: https://github.com/Radarr/Radarr
- name: Default Docker Image
url: https://hub.docker.com/r/linuxserver/radarr
artifacthub.io/maintainers: |
- name: Nicholas St. Germain
email: nick@cajun.pro

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: sonarr
description: Smart PVR for newsgroup and bittorrent users
type: application
version: 6.0.0
version: 6.0.1
appVersion: 3.0.3.913
keywords:
- sonarr
@@ -14,8 +14,18 @@ sources:
maintainers:
- name: DirtyCajunRice
email: nick@cajun.pro
url: https://github.com/dirtycajunrice
dependencies:
- name: media-common
repository: https://k8s-at-home.com/charts/
version: ~1.0.0
version: ^1.0.0
alias: sonarr
annotations:
artifacthub.io/links: |
- name: App Source
url: https://github.com/Sonarr/Sonarr
- name: Default Docker Image
url: https://hub.docker.com/r/linuxserver/sonarr
artifacthub.io/maintainers: |
- name: Nicholas St. Germain
email: nick@cajun.pro

View File

@@ -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.0
version: 4.0.1
appVersion: v2.5.4
keywords:
- tautulli
@@ -14,8 +14,18 @@ sources:
maintainers:
- name: DirtyCajunRice
email: nick@cajun.pro
url: https://github.com/dirtycajunrice
dependencies:
- name: media-common
repository: https://k8s-at-home.com/charts/
version: ~1.0.0
version: ^1.0.0
alias: tautulli
annotations:
artifacthub.io/links: |
- name: App Source
url: https://github.com/Tautulli/Tautulli
- name: Default Docker Image
url: https://hub.docker.com/r/tautulli/tautulli
artifacthub.io/maintainers: |
- name: Nicholas St. Germain
email: nick@cajun.pro

View File

@@ -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

View File

@@ -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/"

View File

@@ -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

View File

@@ -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:

View File

@@ -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

View File

@@ -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.0.1
keywords:
- zigbee
- mqtt

View File

@@ -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

View File

@@ -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 }}

View File

@@ -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 }}

View File

@@ -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 }}

View File

@@ -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 }}

View File

@@ -41,6 +41,14 @@ spec:
- name: DEBUG
value: {{ .Values.debug }}
{{- 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 +59,6 @@ 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 }}
volumes:
- name: zigbee2mqtt
configMap:

View File

@@ -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