Compare commits

...

4 Commits

Author SHA1 Message Date
Mike Wilson
166c4b3cd9 [home-assistant] Tiny typo fix in values.yaml (#315) 2020-12-07 14:16:41 -05:00
Aleksey Sviridkin
351d46296f [home-assistant] Fix env for appdaemon (#305) 2020-12-07 10:54:56 -05:00
auricom
601341ca9b [lychee] new chart (#307) 2020-12-07 10:53:37 -05:00
renovate[bot]
39f3555873 [unifi-poller] Update helm chart influxdb to v1.1.2 (#309)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-07 10:29:24 -05:00
13 changed files with 223 additions and 14 deletions

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 0.118.3
description: Home Assistant
name: home-assistant
version: 3.2.0
version: 3.2.2
keywords:
- home-assistant
- hass

View File

@@ -42,7 +42,7 @@ The command removes all the Kubernetes components associated with the chart and
The following tables lists the configurable parameters of the Home Assistant chart and their default values.
| Parameter | Description | Default |
|-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|
| ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- |
| `image.repository` | Image repository | `homeassistant/home-assistant` |
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/homeassistant/home-assistant/tags/). | `0.118.3` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
@@ -142,7 +142,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.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` |
@@ -163,7 +163,8 @@ The following tables lists the configurable parameters of the Home Assistant cha
| `appdaemon.image.tag` | Image tag | `3.0.5` |
| `appdaemon.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `appdaemon.haToken` | Home Assistant API token - you need to generate it in your Home Assistant profile and then copy here | `` |
| `appdaemon.extraEnv` | Extra ENV vars to pass to the AppDaemon container | `{}` |
| `appdaemon.env` | Extra ENV vars to pass to the AppDaemon container | `{}` |
| `appdaemon.envFrom` | Extra ENV vars from configMap or secret to pass to the AppDaemon container | `{}` |
| `appdaemon.configSubPath` | An optional subPath for the AppDaemon container's config volume mount | `appdaemon` |
| `appdaemon.ingress.enabled` | Enables Ingress for the AppDaemon UI | `false` |
| `appdaemon.ingress.annotations` | Ingress annotations for the AppDaemon UI | `{}` |

View File

@@ -338,7 +338,14 @@ spec:
- name: appdaemon
containerPort: {{ .Values.appdaemon.service.port }}
protocol: TCP
{{- with .Values.appdaemon.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.appdaemon.env }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
- name: HA_URL
value: "http://localhost:{{ .Values.service.port }}"
{{- if .Values.appdaemon.ingress.enabled }}
@@ -365,10 +372,6 @@ spec:
- name: GIT_COMMITTER_EMAIL
value: {{ .Values.git.user.email }}
{{ end }}
{{- range $key, $value := .Values.vscode.extraEnv }}
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
volumeMounts:
- mountPath: /ha-conf
name: config

View File

@@ -313,10 +313,26 @@ appdaemon:
## Home Assistant API token
# haToken:
## Additional hass-vscode container environment variable
## For instance to add a http_proxy
##
extraEnv: {}
# Environment variables to be passed to appdaemon container
env: []
# - name: SOME_VAR
# value: some-var-value
# - name: SOME_VAR_FROM_CONFIG_MAP
# valueFrom:
# configMapRef:
# name: configmap-name
# key: config-key
# - name: SOME_SECRET
# valueFrom:
# secretKeyRef:
# name: secret-name
# key: secret-key
envFrom: []
# - configMapRef:
# name: config-map-name
# - secretRef:
# name: secret-name
# If you use an existingClaim for the config volume then it is sometimes useful to specify a subPath
# within the volume to mount instead of mounting the root.

23
charts/lychee/.helmignore Normal file
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/

21
charts/lychee/Chart.yaml Normal file
View File

@@ -0,0 +1,21 @@
apiVersion: v2
appVersion: 4.0.8
description: Lychee is a free photo-management tool, which runs on your server or web-space
name: lychee
version: 1.0.0
keywords:
- lychee
- photo
- pictures
home: https://github.com/k8s-at-home/charts/tree/master/charts/lychee
icon: https://github.com/LycheeOrg/Lychee/blob/master/Banner.png?raw=true
sources:
- https://github.com/LycheeOrg/Lychee
- https://hub.docker.com/r/lycheeorg/lychee
maintainers:
- name: auricom
email: k8s-at-home@xpander.eml.cc
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 1.7.0

4
charts/lychee/OWNERS Normal file
View File

@@ -0,0 +1,4 @@
approvers:
- auricom
reviewers:
- auricom

67
charts/lychee/README.md Normal file
View File

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

View File

@@ -0,0 +1,2 @@
ingress:
enabled: true

View File

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

View File

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

70
charts/lychee/values.yaml Normal file
View File

@@ -0,0 +1,70 @@
# Default values for Lychee.
image:
repository: lycheeorg/lychee-laravel
pullPolicy: IfNotPresent
tag: v4.0.8
strategy:
type: Recreate
service:
port:
port: 80
env: {}
# PHP_TZ: UTC
# PUID: 1001
# PGID: 1001
persistence:
config:
enabled: false
emptyDir: false
mountPath: /conf
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
uploads:
enabled: false
emptyDir: false
mountPath: /uploads
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
sym:
enabled: false
emptyDir: false
mountPath: /sym
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.0.1
description: Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus
name: unifi-poller
version: 4.1.0
version: 4.2.0
keywords:
- unifi
- unifi-poller
@@ -19,6 +19,6 @@ dependencies:
repository: https://k8s-at-home.com/charts/
version: 1.7.0
- name: influxdb
version: 1.1.1
version: 1.1.2
repository: https://charts.bitnami.com/bitnami
condition: influxdb.enabled