Compare commits
67 Commits
zigbee2mqt
...
teslamate-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a3e9eb93c | ||
|
|
7801f2e626 | ||
|
|
fe64832570 | ||
|
|
0099a56e38 | ||
|
|
cfec6a9cc2 | ||
|
|
13dedb876b | ||
|
|
d0fba6f031 | ||
|
|
d310100ce7 | ||
|
|
c2d6c1c4f1 | ||
|
|
9e2a21995a | ||
|
|
643db3e8cb | ||
|
|
6822d3c4b4 | ||
|
|
df1a3f48e0 | ||
|
|
6cf224d0b0 | ||
|
|
bca5078de2 | ||
|
|
31e992eb4a | ||
|
|
a4c913aef6 | ||
|
|
d4dd34a24b | ||
|
|
19cb90701e | ||
|
|
f0eb5542a4 | ||
|
|
f2336eedaa | ||
|
|
915c94887d | ||
|
|
f84ac3006b | ||
|
|
dde8baec08 | ||
|
|
f2452edfb9 | ||
|
|
db1260e482 | ||
|
|
b1859c895d | ||
|
|
fed0c7a8f1 | ||
|
|
40e3179aaf | ||
|
|
535f78770f | ||
|
|
645f8d4c6e | ||
|
|
7f326fc846 | ||
|
|
df26482e05 | ||
|
|
07fa996d70 | ||
|
|
2a441c9315 | ||
|
|
a16d5ef3a6 | ||
|
|
55c30ff34c | ||
|
|
3281996a22 | ||
|
|
5ebaccedb3 | ||
|
|
111c993fea | ||
|
|
95a84496db | ||
|
|
cba3f59391 | ||
|
|
9d0a7efc7d | ||
|
|
d0bad9dfb0 | ||
|
|
67eed62c99 | ||
|
|
ae38a94541 | ||
|
|
40a2bb2d26 | ||
|
|
fa75854137 | ||
|
|
c379eb9efd | ||
|
|
5b64342920 | ||
|
|
ab746638e8 | ||
|
|
643d60fed7 | ||
|
|
d5377e032d | ||
|
|
d6e87293c1 | ||
|
|
5ae5ab007d | ||
|
|
a077a803d4 | ||
|
|
45b6282a15 | ||
|
|
e6a9d994f9 | ||
|
|
e94ef45b70 | ||
|
|
86907798e0 | ||
|
|
1218e56529 | ||
|
|
902574734b | ||
|
|
f276356baa | ||
|
|
2fdce70485 | ||
|
|
56b03ff1f1 | ||
|
|
6c1e3f0e23 | ||
|
|
25e129b57c |
22
.github/workflows/release.yaml
vendored
22
.github/workflows/release.yaml
vendored
@@ -8,8 +8,19 @@ on:
|
|||||||
- "charts/**"
|
- "charts/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
pre-release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
|
steps:
|
||||||
|
- name: Block concurrent releases
|
||||||
|
uses: softprops/turnstyle@v1
|
||||||
|
with:
|
||||||
|
continue-after-seconds: 180
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
release:
|
||||||
|
needs: pre-release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -17,13 +28,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Turnstyle
|
|
||||||
uses: softprops/turnstyle@v1
|
|
||||||
with:
|
|
||||||
continue-after-seconds: 180
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
run: |
|
run: |
|
||||||
git config user.name "$GITHUB_ACTOR"
|
git config user.name "$GITHUB_ACTOR"
|
||||||
@@ -45,8 +49,8 @@ jobs:
|
|||||||
# needed until https://github.com/helm/chart-releaser/issues/90
|
# needed until https://github.com/helm/chart-releaser/issues/90
|
||||||
# or helm/chart-releaser-action supports this
|
# or helm/chart-releaser-action supports this
|
||||||
post-release:
|
post-release:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: release
|
needs: release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 0.4.2
|
appVersion: 0.4.2
|
||||||
description: Bot for Prometheus Alertmanager
|
description: Bot for Prometheus Alertmanager
|
||||||
name: alertmanager-bot
|
name: alertmanager-bot
|
||||||
version: 1.0.0
|
version: 1.2.0
|
||||||
keywords:
|
keywords:
|
||||||
- alertmanager
|
- alertmanager
|
||||||
- telegram
|
- telegram
|
||||||
@@ -18,4 +18,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.1
|
version: 1.7.0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: v0.9.0.5
|
appVersion: v0.9.0.5
|
||||||
description: Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements
|
description: Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements
|
||||||
name: bazarr
|
name: bazarr
|
||||||
version: 4.7.0
|
version: 4.8.0
|
||||||
keywords:
|
keywords:
|
||||||
- bazarr
|
- bazarr
|
||||||
- radarr
|
- radarr
|
||||||
@@ -21,4 +21,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: bitwardenrs
|
name: bitwardenrs
|
||||||
description: Unofficial Bitwarden compatible server written in Rust
|
description: Unofficial Bitwarden compatible server written in Rust
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
appVersion: 1.16.3
|
appVersion: 1.16.3
|
||||||
keywords:
|
keywords:
|
||||||
- bitwarden
|
- bitwarden
|
||||||
|
|||||||
@@ -8,7 +8,11 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
{{- if eq .Values.persistence.type "statefulset" }}
|
||||||
|
kind: StatefulSet
|
||||||
|
{{- else }}
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
{{- end }}
|
||||||
name: {{ include "bitwardenrs.fullname" . }}
|
name: {{ include "bitwardenrs.fullname" . }}
|
||||||
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
||||||
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
||||||
|
|||||||
20
charts/booksonic-air/Chart.yaml
Normal file
20
charts/booksonic-air/Chart.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: v2009.1.0
|
||||||
|
description: Booksonic is a platform for accessing the audibooks you own wherever you are
|
||||||
|
name: booksonic-air
|
||||||
|
version: 1.0.0
|
||||||
|
keywords:
|
||||||
|
- booksonic
|
||||||
|
- audiobook
|
||||||
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/booksonic-air
|
||||||
|
icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/booksonic-air.png
|
||||||
|
sources:
|
||||||
|
- https://github.com/popeen/Booksonic-Air
|
||||||
|
- https://hub.docker.com/r/linuxserver/booksonic-air
|
||||||
|
maintainers:
|
||||||
|
- name: wojoinc
|
||||||
|
email: wojoinc@pm.me
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
version: 1.7.0
|
||||||
8
charts/booksonic-air/OWNERS
Normal file
8
charts/booksonic-air/OWNERS
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
approvers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
reviewers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
78
charts/booksonic-air/README.md
Normal file
78
charts/booksonic-air/README.md
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
# Booksonic-air
|
||||||
|
|
||||||
|
This is a helm chart for [Booksonic-air](https://github.com/popeen/Booksonic-Air).
|
||||||
|
Booksonic-air is the successor to [Booksonic](https://github.com/popeen/Booksonic-Air#history).
|
||||||
|
|
||||||
|
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||||
|
|
||||||
|
This chart leverages the [linuxserver.io](https://hub.docker.com/r/linuxserver/booksonic-air) image. To specify a specific version, or to use a different image (not recommended),
|
||||||
|
see [configuration](#configuration)
|
||||||
|
|
||||||
|
## TL;DR;
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||||
|
$ helm install k8s-at-home/booksonic-air
|
||||||
|
```
|
||||||
|
|
||||||
|
## Storage
|
||||||
|
|
||||||
|
If you plan to use networked storage to store your media or config for Booksonic, (NFS, etc.) please take a look at the
|
||||||
|
Fast Access option in the Booksonic settings. This will help improve the perfomance of the application
|
||||||
|
by not constantly monitoring media folders.
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm install --name my-release k8s-at-home/booksonic-air
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/booksonic-air/values.yaml)
|
||||||
|
file. It has several commented out suggested values. Most notably, these include several environment variables used to
|
||||||
|
customize the container.
|
||||||
|
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 booksonic \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/booksonic-air
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
|
chart. For example,
|
||||||
|
```console
|
||||||
|
helm install booksonic k8s-at-home/booksonic-air -f values.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
image:
|
||||||
|
tag: ...
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
**NOTE**
|
||||||
|
|
||||||
|
If you get
|
||||||
|
```console
|
||||||
|
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
|
||||||
|
```
|
||||||
|
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Upgrading an existing Release to a new major version
|
||||||
|
|
||||||
|
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.
|
||||||
2
charts/booksonic-air/ci/ct-values.yaml
Normal file
2
charts/booksonic-air/ci/ct-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
1
charts/booksonic-air/templates/NOTES.txt
Normal file
1
charts/booksonic-air/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
1
charts/booksonic-air/templates/common.yaml
Normal file
1
charts/booksonic-air/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
49
charts/booksonic-air/values.yaml
Normal file
49
charts/booksonic-air/values.yaml
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
# Default values for Booksonic-air.
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: linuxserver/booksonic-air
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: v2009.1.0-ls2
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
service:
|
||||||
|
port:
|
||||||
|
port: 4040
|
||||||
|
|
||||||
|
env: {}
|
||||||
|
# TZ: UTC
|
||||||
|
# PUID: "1001"
|
||||||
|
# PGID: "1001"
|
||||||
|
# CONTEXT_PATH=url-base # Used to set the base path for reverse proxies eg. /booksonic, /books, etc.
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
|
||||||
|
audiobooks:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
mountPath: /audiobooks
|
||||||
|
## 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: ""
|
||||||
|
podcasts:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
mountPath: /podcasts
|
||||||
|
othermedia:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
mountPath: /othermedia
|
||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: common
|
name: common
|
||||||
description: Function library for k8s-at-home charts
|
description: Function library for k8s-at-home charts
|
||||||
type: library
|
type: library
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
keywords:
|
keywords:
|
||||||
- k8s-at-home
|
- k8s-at-home
|
||||||
- common
|
- common
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ The main container included in the controller.
|
|||||||
- name: {{ include "common.names.fullname" . }}
|
- name: {{ include "common.names.fullname" . }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
{{- with .Values.args }}
|
||||||
|
args: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.securityContext }}
|
{{- with .Values.securityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ strategy:
|
|||||||
## DaemonSets ignore this
|
## DaemonSets ignore this
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
|
|
||||||
|
# Override the default args
|
||||||
|
args: []
|
||||||
|
|
||||||
# Set annotations on the pod
|
# Set annotations on the pod
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: latest
|
appVersion: latest
|
||||||
description: CouchPotato (CP) is an automatic NZB and torrent downloader.
|
description: CouchPotato (CP) is an automatic NZB and torrent downloader.
|
||||||
name: couchpotato
|
name: couchpotato
|
||||||
version: 3.2.0
|
version: 3.3.0
|
||||||
keywords:
|
keywords:
|
||||||
- couchpotato
|
- couchpotato
|
||||||
- usenet
|
- usenet
|
||||||
@@ -18,4 +18,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
|
|||||||
24
charts/dashmachine/.helmignore
Normal file
24
charts/dashmachine/.helmignore
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode
|
||||||
|
# OWNERS file for Kubernetes
|
||||||
|
OWNERS
|
||||||
@@ -4,7 +4,7 @@ description: DashMachine is another web application bookmark dashboard, with fun
|
|||||||
icon: https://github.com/rmountjoy92/DashMachine/raw/master/dashmachine/static/images/logo/logo.png
|
icon: https://github.com/rmountjoy92/DashMachine/raw/master/dashmachine/static/images/logo/logo.png
|
||||||
home: https://github.com/rmountjoy92/DashMachine
|
home: https://github.com/rmountjoy92/DashMachine
|
||||||
name: dashmachine
|
name: dashmachine
|
||||||
version: 2.1.0
|
version: 2.2.0
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/rmountjoy92/DashMachine
|
- https://github.com/rmountjoy92/DashMachine
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -12,5 +12,5 @@ maintainers:
|
|||||||
email: ryan@ryanholt.net
|
email: ryan@ryanholt.net
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 3.9.1
|
appVersion: 3.9.1
|
||||||
description: Perl client used to update dynamic DNS entries for accounts on Dynamic DNS Network Service Providers
|
description: Perl client used to update dynamic DNS entries for accounts on Dynamic DNS Network Service Providers
|
||||||
name: ddclient
|
name: ddclient
|
||||||
version: 1.2.0
|
version: 1.3.0
|
||||||
keywords:
|
keywords:
|
||||||
- ddclient
|
- ddclient
|
||||||
- dns
|
- dns
|
||||||
@@ -17,4 +17,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 4.1.1
|
appVersion: 4.1.1
|
||||||
description: Flood is a monitoring service for various torrent clients
|
description: Flood is a monitoring service for various torrent clients
|
||||||
name: flood
|
name: flood
|
||||||
version: 1.2.0
|
version: 1.3.0
|
||||||
keywords:
|
keywords:
|
||||||
- flood
|
- flood
|
||||||
- rtorrent
|
- rtorrent
|
||||||
@@ -19,4 +19,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 1.17.0
|
appVersion: 1.17.0
|
||||||
description: FreshRSS is a self-hosted RSS feed aggregator
|
description: FreshRSS is a self-hosted RSS feed aggregator
|
||||||
name: freshrss
|
name: freshrss
|
||||||
version: 1.1.0
|
version: 1.2.0
|
||||||
keywords:
|
keywords:
|
||||||
- freshrss
|
- freshrss
|
||||||
- rss
|
- rss
|
||||||
@@ -17,4 +17,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
|
|||||||
@@ -19,5 +19,6 @@
|
|||||||
.project
|
.project
|
||||||
.idea/
|
.idea/
|
||||||
*.tmproj
|
*.tmproj
|
||||||
|
.vscode
|
||||||
# OWNERS file for Kubernetes
|
# OWNERS file for Kubernetes
|
||||||
OWNERS
|
OWNERS
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: v2.6.1
|
appVersion: v2.7.1
|
||||||
description: ERP beyond your fridge - grocy is a web-based self-hosted groceries & household management solution for your home
|
description: ERP beyond your fridge - grocy is a web-based self-hosted groceries & household management solution for your home
|
||||||
name: grocy
|
name: grocy
|
||||||
version: 2.0.0
|
version: 3.0.0
|
||||||
keywords:
|
keywords:
|
||||||
- grocy
|
- grocy
|
||||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/grocy
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/grocy
|
||||||
@@ -10,5 +10,9 @@ icon: https://github.com/grocy/grocy/raw/master/public/img/appicons/mstile-150x1
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/grocy/grocy
|
- https://github.com/grocy/grocy
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: carpenike
|
- name: billimek
|
||||||
email: ryan@ryanholt.net
|
email: jeff@billimek.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
version: 1.7.0
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
reviewers:
|
reviewers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# Grocy
|
# grocy
|
||||||
|
|
||||||
This is a helm chart for [Grocy](https://grocy.info/) leveraging the [Linuxserver.io image](https://hub.docker.com/r/linuxserver/grocy/)
|
This is a helm chart for [grocy](https://grocy.info/).
|
||||||
|
|
||||||
|
**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;
|
## TL;DR;
|
||||||
|
|
||||||
@@ -28,71 +30,40 @@ helm delete my-release --purge
|
|||||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/grocy/values.yaml)
|
||||||
The following tables lists the configurable parameters of the Sentry chart and their default values.
|
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.
|
||||||
| Parameter | Description | Default |
|
|
||||||
|----------------------------|-------------------------------------|---------------------------------------------------------|
|
|
||||||
| `image.repository` | Image repository | `linuxserver/grocy` |
|
|
||||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/linuxserver/grocy/tags/).| `v2.6.1-ls51`|
|
|
||||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
|
||||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
|
||||||
| `timezone` | Timezone the grocy instance should run as, e.g. 'America/New_York' | `UTC` |
|
|
||||||
| `puid` | process userID the grocy instance should run as | `1000` |
|
|
||||||
| `pgid` | process groupID the grocy instance should run as | `1000` |
|
|
||||||
| `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.liveness.periodSeconds` | Specify liveness `periodSeconds` parameter for the deployment | `10` |
|
|
||||||
| `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.readiness.periodSeconds` | Specify readiness `periodSeconds` parameter for the deployment | `10` |
|
|
||||||
| `Service.type` | Kubernetes service type for the grocy GUI | `ClusterIP` |
|
|
||||||
| `Service.port` | Kubernetes port where the grocy GUI is exposed| `9283` |
|
|
||||||
| `Service.annotations` | Service annotations for the grocy GUI | `{}` |
|
|
||||||
| `Service.labels` | Custom labels | `{}` |
|
|
||||||
| `Service.loadBalancerIP` | Loadbalance IP for the grocy GUI | `{}` |
|
|
||||||
| `Service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | None
|
|
||||||
| `ingress.enabled` | Enables Ingress | `false` |
|
|
||||||
| `ingress.annotations` | Ingress annotations | `{}` |
|
|
||||||
| `ingress.labels` | Custom labels | `{}`
|
|
||||||
| `ingress.path` | Ingress path | `/` |
|
|
||||||
| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` |
|
|
||||||
| `ingress.tls` | Ingress TLS configuration | `[]` |
|
|
||||||
| `persistence.config.enabled` | Use persistent volume to store configuration data | `true` |
|
|
||||||
| `persistence.config.size` | Size of persistent volume claim | `1Gi` |
|
|
||||||
| `persistence.config.existingClaim`| Use an existing PVC to persist data | `nil` |
|
|
||||||
| `persistence.config.subPath` | Mount a sub directory of the persistent volume if set | `""` |
|
|
||||||
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
|
||||||
| `persistence.config.accessMode` | Persistence access mode | `ReadWriteOnce` |
|
|
||||||
| `persistence.config.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
|
|
||||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
|
||||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
|
||||||
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
|
||||||
| `affinity` | Affinity settings for pod assignment | `{}` |
|
|
||||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
|
||||||
| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` |
|
|
||||||
|
|
||||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||||
|
|
||||||
```console
|
```console
|
||||||
helm install --name my-release \
|
helm install grocy \
|
||||||
--set timezone="America/New York" \
|
--set env.TZ="America/New_York" \
|
||||||
k8s-at-home/grocy
|
k8s-at-home/grocy
|
||||||
```
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
chart. For example,
|
||||||
|
|
||||||
```console
|
```console
|
||||||
helm install --name my-release -f values.yaml k8s-at-home/grocy
|
helm install grocy k8s-at-home/grocy --values values.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
image:
|
||||||
|
tag: ...
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
**NOTE**
|
**NOTE**
|
||||||
|
|
||||||
If you get `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`.
|
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`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Read through the [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/grocy/values.yaml) file. It has several commented out suggested values.
|
## Upgrading an existing Release to a new major version
|
||||||
|
|
||||||
|
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.
|
||||||
|
|
||||||
|
Refer to the library values.yaml for more configuration options.
|
||||||
|
|||||||
2
charts/grocy/ci/ct-values.yaml
Normal file
2
charts/grocy/ci/ct-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
1. Get the application 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.service.type }}
|
|
||||||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "grocy.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.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 "grocy.fullname" . }}'
|
|
||||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "grocy.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
|
||||||
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 "grocy.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
|
||||||
echo "Visit http://127.0.0.1:3579 to use your application"
|
|
||||||
kubectl port-forward $POD_NAME 3579:80
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
{{/* vim: set filetype=mustache: */}}
|
|
||||||
{{/*
|
|
||||||
Expand the name of the chart.
|
|
||||||
*/}}
|
|
||||||
{{- define "grocy.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 "grocy.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 "grocy.chart" -}}
|
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
|
||||||
{{- end -}}
|
|
||||||
1
charts/grocy/templates/common.yaml
Normal file
1
charts/grocy/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
|
|
||||||
{{- if and .Values.persistence.config.enabled (not .Values.persistence.config.existingClaim) }}
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: {{ template "grocy.fullname" . }}-config
|
|
||||||
{{- if .Values.persistence.config.skipuninstall }}
|
|
||||||
annotations:
|
|
||||||
"helm.sh/resource-policy": keep
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "grocy.name" . }}
|
|
||||||
helm.sh/chart: {{ include "grocy.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- {{ .Values.persistence.config.accessMode | quote }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.persistence.config.size | quote }}
|
|
||||||
{{- if .Values.persistence.config.storageClass }}
|
|
||||||
{{- if (eq "-" .Values.persistence.config.storageClass) }}
|
|
||||||
storageClassName: ""
|
|
||||||
{{- else }}
|
|
||||||
storageClassName: "{{ .Values.persistence.config.storageClass }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end -}}
|
|
||||||
@@ -1,95 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: {{ include "grocy.fullname" . }}
|
|
||||||
{{- if .Values.deploymentAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{- range $key, $value := .Values.deploymentAnnotations }}
|
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "grocy.name" . }}
|
|
||||||
helm.sh/chart: {{ include "grocy.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
revisionHistoryLimit: 3
|
|
||||||
strategy:
|
|
||||||
type: {{ .Values.strategyType }}
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: {{ include "grocy.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "grocy.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
{{- if .Values.podAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{- range $key, $value := .Values.podAnnotations }}
|
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: {{ .Chart.Name }}
|
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
containerPort: 80
|
|
||||||
protocol: TCP
|
|
||||||
livenessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /
|
|
||||||
port: http
|
|
||||||
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
|
|
||||||
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
|
|
||||||
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
|
|
||||||
timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
|
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /
|
|
||||||
port: http
|
|
||||||
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
|
|
||||||
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
|
|
||||||
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}
|
|
||||||
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
|
|
||||||
env:
|
|
||||||
- name: TZ
|
|
||||||
value: "{{ .Values.timezone }}"
|
|
||||||
- name: PUID
|
|
||||||
value: "{{ .Values.puid }}"
|
|
||||||
- name: PGID
|
|
||||||
value: "{{ .Values.pgid }}"
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /config
|
|
||||||
name: config
|
|
||||||
{{- if .Values.persistence.config.subPath }}
|
|
||||||
subPath: "{{ .Values.persistence.config.subPath }}"
|
|
||||||
{{- end }}
|
|
||||||
resources:
|
|
||||||
{{ toYaml .Values.resources | indent 12 }}
|
|
||||||
volumes:
|
|
||||||
- name: config
|
|
||||||
{{- if .Values.persistence.config.enabled }}
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: {{ if .Values.persistence.config.existingClaim }}{{ .Values.persistence.config.existingClaim }}{{- else }}{{ template "grocy.fullname" . }}-config{{- end }}
|
|
||||||
{{- else }}
|
|
||||||
emptyDir: {}
|
|
||||||
{{ end }}
|
|
||||||
{{- with .Values.nodeSelector }}
|
|
||||||
nodeSelector:
|
|
||||||
{{ toYaml . | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.affinity }}
|
|
||||||
affinity:
|
|
||||||
{{ toYaml . | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.tolerations }}
|
|
||||||
tolerations:
|
|
||||||
{{ toYaml . | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
|
||||||
{{- $fullName := include "grocy.fullname" . -}}
|
|
||||||
{{- $ingressPath := .Values.ingress.path -}}
|
|
||||||
apiVersion: extensions/v1beta1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: {{ $fullName }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "grocy.name" . }}
|
|
||||||
helm.sh/chart: {{ include "grocy.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- with .Values.ingress.labels -}}
|
|
||||||
{{ toYaml . | nindent 4 }}
|
|
||||||
{{- end -}}
|
|
||||||
{{- with .Values.ingress.annotations }}
|
|
||||||
annotations:
|
|
||||||
{{ toYaml . | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
{{- if .Values.ingress.tls }}
|
|
||||||
tls:
|
|
||||||
{{- range .Values.ingress.tls }}
|
|
||||||
- hosts:
|
|
||||||
{{- range .hosts }}
|
|
||||||
- {{ . | quote }}
|
|
||||||
{{- end }}
|
|
||||||
secretName: {{ .secretName }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
rules:
|
|
||||||
{{- range .Values.ingress.hosts }}
|
|
||||||
- host: {{ . | quote }}
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: {{ $ingressPath }}
|
|
||||||
backend:
|
|
||||||
serviceName: {{ $fullName }}
|
|
||||||
servicePort: http
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: {{ template "grocy.fullname" . }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "grocy.name" . }}
|
|
||||||
helm.sh/chart: {{ include "grocy.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- if .Values.service.labels }}
|
|
||||||
{{ toYaml .Values.service.labels | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.service.annotations }}
|
|
||||||
annotations:
|
|
||||||
{{ toYaml . | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
{{- if (or (eq .Values.service.type "ClusterIP") (empty .Values.service.type)) }}
|
|
||||||
type: ClusterIP
|
|
||||||
{{- if .Values.service.clusterIP }}
|
|
||||||
clusterIP: {{ .Values.service.clusterIP }}
|
|
||||||
{{end}}
|
|
||||||
{{- else if eq .Values.service.type "LoadBalancer" }}
|
|
||||||
type: {{ .Values.service.type }}
|
|
||||||
{{- if .Values.service.loadBalancerIP }}
|
|
||||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.service.loadBalancerSourceRanges }}
|
|
||||||
loadBalancerSourceRanges:
|
|
||||||
{{ toYaml .Values.service.loadBalancerSourceRanges | indent 4 }}
|
|
||||||
{{- end -}}
|
|
||||||
{{- else }}
|
|
||||||
type: {{ .Values.service.type }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.service.externalIPs }}
|
|
||||||
externalIPs:
|
|
||||||
{{ toYaml .Values.service.externalIPs | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.service.externalTrafficPolicy }}
|
|
||||||
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
|
|
||||||
{{- end }}
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: {{ .Values.service.port }}
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: http
|
|
||||||
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
|
|
||||||
nodePort: {{.Values.service.nodePort}}
|
|
||||||
{{ end }}
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/name: {{ include "grocy.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
|
|
||||||
@@ -1,113 +1,23 @@
|
|||||||
# Default values for Ombi.
|
# Default values for grocy.
|
||||||
# This is a YAML-formatted file.
|
|
||||||
# Declare variables to be passed into your templates.
|
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/grocy
|
repository: linuxserver/grocy
|
||||||
tag: v2.6.1-ls51
|
tag: version-v2.7.1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
# upgrade strategy type (e.g. Recreate or RollingUpdate)
|
strategy:
|
||||||
strategyType: Recreate
|
type: Recreate
|
||||||
|
|
||||||
# Probes configuration
|
|
||||||
probes:
|
|
||||||
liveness:
|
|
||||||
initialDelaySeconds: 180
|
|
||||||
failureThreshold: 10
|
|
||||||
periodSeconds: 60
|
|
||||||
timeoutSeconds: 10
|
|
||||||
readiness:
|
|
||||||
initialDelaySeconds: 180
|
|
||||||
failureThreshold: 10
|
|
||||||
periodSeconds: 60
|
|
||||||
timeoutSeconds: 10
|
|
||||||
|
|
||||||
nameOverride: ""
|
|
||||||
fullnameOverride: ""
|
|
||||||
|
|
||||||
timezone: UTC
|
|
||||||
puid: 1000
|
|
||||||
pgid: 1000
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
port:
|
||||||
port: 80
|
port: 80
|
||||||
## 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:
|
env: {}
|
||||||
enabled: false
|
# TZ:
|
||||||
annotations: {}
|
# PUID:
|
||||||
# kubernetes.io/ingress.class: nginx
|
# PGID:
|
||||||
# kubernetes.io/tls-acme: "true"
|
|
||||||
values: {}
|
|
||||||
path: /
|
|
||||||
hosts:
|
|
||||||
- chart-example.local
|
|
||||||
tls: []
|
|
||||||
# - secretName: chart-example-tls
|
|
||||||
# hosts:
|
|
||||||
# - chart-example.local
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: false
|
||||||
## Ombi configuration data Persistent Volume Storage Class
|
emptyDir: false
|
||||||
## 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: "-"
|
|
||||||
##
|
|
||||||
## If you want to reuse an existing claim, you can pass the name of the PVC using
|
|
||||||
## the existingClaim variable
|
|
||||||
# existingClaim: your-claim
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
size: 1Gi
|
|
||||||
|
|
||||||
## If subPath is set mount a sub folder of a volume instead of the root of the volume.
|
|
||||||
## This is especially handy for volume plugins that don't natively support sub mounting (like glusterfs).
|
|
||||||
##
|
|
||||||
subPath: ""
|
|
||||||
## Do not delete the pvc upon helm uninstall
|
|
||||||
skipuninstall: false
|
|
||||||
|
|
||||||
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: {}
|
|
||||||
|
|
||||||
podAnnotations: {}
|
|
||||||
|
|
||||||
deploymentAnnotations: {}
|
|
||||||
|
|||||||
24
charts/heimdall/.helmignore
Normal file
24
charts/heimdall/.helmignore
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode
|
||||||
|
# OWNERS file for Kubernetes
|
||||||
|
OWNERS
|
||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 2.2.2
|
appVersion: 2.2.2
|
||||||
description: An Application dashboard and launcher
|
description: An Application dashboard and launcher
|
||||||
name: heimdall
|
name: heimdall
|
||||||
version: 2.0.1
|
version: 3.0.0
|
||||||
keywords:
|
keywords:
|
||||||
- heimdall
|
- heimdall
|
||||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/heimdall
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/heimdall
|
||||||
@@ -11,5 +11,9 @@ sources:
|
|||||||
- https://hub.docker.com/r/linuxserver/heimdall/
|
- https://hub.docker.com/r/linuxserver/heimdall/
|
||||||
- https://github.com/linuxserver/heimdall
|
- https://github.com/linuxserver/heimdall
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: skaro13
|
- name: billimek
|
||||||
email: simon.caron@protonmail.com
|
email: jeff@billimek.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
version: 1.7.0
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
reviewers:
|
reviewers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# Heimdall Application Dashboard
|
# heimdall
|
||||||
|
|
||||||
This is a helm chart for [heimdall](https://github.com/heimdall/heimdall) leveraging the [Linuxserver.io image](https://hub.docker.com/r/linuxserver/heimdall/)
|
This is a helm chart for [heimdall](https://github.com/heimdall/heimdall).
|
||||||
|
|
||||||
|
**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;
|
## TL;DR;
|
||||||
|
|
||||||
@@ -14,7 +16,7 @@ $ helm install k8s-at-home/heimdall
|
|||||||
To install the chart with the release name `my-release`:
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
helm install my-release k8s-at-home/heimdall
|
helm install --name my-release k8s-at-home/heimdall
|
||||||
```
|
```
|
||||||
|
|
||||||
## Uninstalling the Chart
|
## Uninstalling the Chart
|
||||||
@@ -22,75 +24,46 @@ helm install my-release k8s-at-home/heimdall
|
|||||||
To uninstall/delete the `my-release` deployment:
|
To uninstall/delete the `my-release` deployment:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
helm delete my-release
|
helm delete my-release --purge
|
||||||
```
|
```
|
||||||
|
|
||||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/heimdall/values.yaml)
|
||||||
The following tables lists the configurable parameters of the Sentry chart and their default values.
|
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.
|
||||||
| Parameter | Description | Default |
|
|
||||||
|----------------------------|-------------------------------------|---------------------------------------------------------|
|
|
||||||
| `image.repository` | Image repository | `linuxserver/heimdall` |
|
|
||||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/linuxserver/heimdall/tags/).| `2.2.2-ls84`|
|
|
||||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
|
||||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
|
||||||
| `timezone` | Timezone the heimdall instance should run as, e.g. 'America/New_York' | `UTC` |
|
|
||||||
| `puid` | process userID the heimdall instance should run as | `1001` |
|
|
||||||
| `pgid` | process groupID the heimdall instance should run as | `1001` |
|
|
||||||
| `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.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` |
|
|
||||||
| `Service.type` | Kubernetes service type for the heimdall GUI | `ClusterIP` |
|
|
||||||
| `Service.port` | Kubernetes port where the heimdall GUI is exposed| `80` |
|
|
||||||
| `Service.annotations` | Service annotations for the heimdall GUI | `{}` |
|
|
||||||
| `Service.labels` | Custom labels | `{}` |
|
|
||||||
| `Service.loadBalancerIP` | Loadbalance IP for the heimdall GUI | `{}` |
|
|
||||||
| `Service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | None
|
|
||||||
| `ingress.enabled` | Enables Ingress | `false` |
|
|
||||||
| `ingress.annotations` | Ingress annotations | `{}` |
|
|
||||||
| `ingress.labels` | Custom labels | `{}`
|
|
||||||
| `ingress.path` | Ingress path | `/` |
|
|
||||||
| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` |
|
|
||||||
| `ingress.tls` | Ingress TLS configuration | `[]` |
|
|
||||||
| `persistence.config.enabled` | Use persistent volume to store configuration data | `true` |
|
|
||||||
| `persistence.config.size` | Size of persistent volume claim | `1Gi` |
|
|
||||||
| `persistence.config.existingClaim`| Use an existing PVC to persist data | `nil` |
|
|
||||||
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
|
|
||||||
| `persistence.config.accessMode` | Persistence access mode | `ReadWriteOnce` |
|
|
||||||
| `persistence.config.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
|
|
||||||
| `persistence.extraExistingClaimMounts` | Optionally add multiple existing claims | `[]` |
|
|
||||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
|
||||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
|
||||||
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
|
||||||
| `affinity` | Affinity settings for pod assignment | `{}` |
|
|
||||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
|
||||||
| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` |
|
|
||||||
|
|
||||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||||
|
|
||||||
```console
|
```console
|
||||||
helm install my-release \
|
helm install heimdall \
|
||||||
--set timezone="America/New York" \
|
--set env.TZ="America/New_York" \
|
||||||
k8s-at-home/heimdall
|
k8s-at-home/heimdall
|
||||||
```
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
chart. For example,
|
||||||
|
|
||||||
```console
|
```console
|
||||||
helm install my-release -f values.yaml k8s-at-home/heimdall
|
helm install heimdall k8s-at-home/heimdall --values values.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
image:
|
||||||
|
tag: ...
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
**NOTE**
|
**NOTE**
|
||||||
|
|
||||||
If you get `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`.
|
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`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Read through the [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/heimdall/values.yaml) file. It has several commented out suggested values.
|
## Upgrading an existing Release to a new major version
|
||||||
|
|
||||||
|
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.
|
||||||
|
|
||||||
|
Refer to the library values.yaml for more configuration options.
|
||||||
|
|||||||
2
charts/heimdall/ci/ct-values.yaml
Normal file
2
charts/heimdall/ci/ct-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
1. Get the application 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.service.type }}
|
|
||||||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "heimdall.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.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 "heimdall.fullname" . }}'
|
|
||||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "heimdall.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
|
||||||
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 "heimdall.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
|
||||||
echo "Visit http://127.0.0.1:8080 to use your application"
|
|
||||||
kubectl port-forward $POD_NAME 8080:80
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
{{/* vim: set filetype=mustache: */}}
|
|
||||||
{{/*
|
|
||||||
Expand the name of the chart.
|
|
||||||
*/}}
|
|
||||||
{{- define "heimdall.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 "heimdall.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 "heimdall.chart" -}}
|
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
|
||||||
{{- end -}}
|
|
||||||
1
charts/heimdall/templates/common.yaml
Normal file
1
charts/heimdall/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
|
|
||||||
{{- if and .Values.persistence.config.enabled (not .Values.persistence.config.existingClaim) }}
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: {{ template "heimdall.fullname" . }}-config
|
|
||||||
{{- if .Values.persistence.config.skipuninstall }}
|
|
||||||
annotations:
|
|
||||||
"helm.sh/resource-policy": keep
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "heimdall.name" . }}
|
|
||||||
helm.sh/chart: {{ include "heimdall.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- {{ .Values.persistence.config.accessMode | quote }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.persistence.config.size | quote }}
|
|
||||||
{{- if .Values.persistence.config.storageClass }}
|
|
||||||
{{- if (eq "-" .Values.persistence.config.storageClass) }}
|
|
||||||
storageClassName: ""
|
|
||||||
{{- else }}
|
|
||||||
storageClassName: "{{ .Values.persistence.config.storageClass }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end -}}
|
|
||||||
@@ -1,98 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: {{ include "heimdall.fullname" . }}
|
|
||||||
{{- if .Values.deploymentAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{- range $key, $value := .Values.deploymentAnnotations }}
|
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "heimdall.name" . }}
|
|
||||||
helm.sh/chart: {{ include "heimdall.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
revisionHistoryLimit: 3
|
|
||||||
strategy:
|
|
||||||
type: {{ .Values.strategyType }}
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: {{ include "heimdall.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "heimdall.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
{{- if .Values.podAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{- range $key, $value := .Values.podAnnotations }}
|
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: {{ .Chart.Name }}
|
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
containerPort: 80
|
|
||||||
protocol: TCP
|
|
||||||
livenessProbe:
|
|
||||||
tcpSocket:
|
|
||||||
port: http
|
|
||||||
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
|
|
||||||
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
|
|
||||||
timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
|
|
||||||
readinessProbe:
|
|
||||||
tcpSocket:
|
|
||||||
port: http
|
|
||||||
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
|
|
||||||
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
|
|
||||||
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
|
|
||||||
env:
|
|
||||||
- name: TZ
|
|
||||||
value: "{{ .Values.timezone }}"
|
|
||||||
- name: PUID
|
|
||||||
value: "{{ .Values.puid }}"
|
|
||||||
- name: PGID
|
|
||||||
value: "{{ .Values.pgid }}"
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /config
|
|
||||||
name: config
|
|
||||||
{{- range .Values.persistence.extraExistingClaimMounts }}
|
|
||||||
- name: {{ .name }}
|
|
||||||
mountPath: {{ .mountPath }}
|
|
||||||
readOnly: {{ .readOnly }}
|
|
||||||
{{- end }}
|
|
||||||
resources:
|
|
||||||
{{ toYaml .Values.resources | indent 12 }}
|
|
||||||
volumes:
|
|
||||||
- name: config
|
|
||||||
{{- if .Values.persistence.config.enabled }}
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: {{ if .Values.persistence.config.existingClaim }}{{ .Values.persistence.config.existingClaim }}{{- else }}{{ template "heimdall.fullname" . }}-config{{- end }}
|
|
||||||
{{- else }}
|
|
||||||
emptyDir: {}
|
|
||||||
{{- end }}
|
|
||||||
{{- range .Values.persistence.extraExistingClaimMounts }}
|
|
||||||
- name: {{ .name }}
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: {{ .existingClaim }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.nodeSelector }}
|
|
||||||
nodeSelector:
|
|
||||||
{{ toYaml . | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.affinity }}
|
|
||||||
affinity:
|
|
||||||
{{ toYaml . | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.tolerations }}
|
|
||||||
tolerations:
|
|
||||||
{{ toYaml . | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
|
||||||
{{- $fullName := include "heimdall.fullname" . -}}
|
|
||||||
{{- $ingressPath := .Values.ingress.path -}}
|
|
||||||
apiVersion: extensions/v1beta1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: {{ $fullName }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "heimdall.name" . }}
|
|
||||||
helm.sh/chart: {{ include "heimdall.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- with .Values.ingress.labels -}}
|
|
||||||
{{ toYaml . | nindent 4 }}
|
|
||||||
{{- end -}}
|
|
||||||
{{- with .Values.ingress.annotations }}
|
|
||||||
annotations:
|
|
||||||
{{ toYaml . | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
{{- if .Values.ingress.tls }}
|
|
||||||
tls:
|
|
||||||
{{- range .Values.ingress.tls }}
|
|
||||||
- hosts:
|
|
||||||
{{- range .hosts }}
|
|
||||||
- {{ . | quote }}
|
|
||||||
{{- end }}
|
|
||||||
secretName: {{ .secretName }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
rules:
|
|
||||||
{{- range .Values.ingress.hosts }}
|
|
||||||
- host: {{ . | quote }}
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: {{ $ingressPath }}
|
|
||||||
backend:
|
|
||||||
serviceName: {{ $fullName }}
|
|
||||||
servicePort: http
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: {{ template "heimdall.fullname" . }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "heimdall.name" . }}
|
|
||||||
helm.sh/chart: {{ include "heimdall.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- if .Values.service.labels }}
|
|
||||||
{{ toYaml .Values.service.labels | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.service.annotations }}
|
|
||||||
annotations:
|
|
||||||
{{ toYaml . | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
{{- if (or (eq .Values.service.type "ClusterIP") (empty .Values.service.type)) }}
|
|
||||||
type: ClusterIP
|
|
||||||
{{- if .Values.service.clusterIP }}
|
|
||||||
clusterIP: {{ .Values.service.clusterIP }}
|
|
||||||
{{end}}
|
|
||||||
{{- else if eq .Values.service.type "LoadBalancer" }}
|
|
||||||
type: {{ .Values.service.type }}
|
|
||||||
{{- if .Values.service.loadBalancerIP }}
|
|
||||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.service.loadBalancerSourceRanges }}
|
|
||||||
loadBalancerSourceRanges:
|
|
||||||
{{ toYaml .Values.service.loadBalancerSourceRanges | indent 4 }}
|
|
||||||
{{- end -}}
|
|
||||||
{{- else }}
|
|
||||||
type: {{ .Values.service.type }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.service.externalIPs }}
|
|
||||||
externalIPs:
|
|
||||||
{{ toYaml .Values.service.externalIPs | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.service.externalTrafficPolicy }}
|
|
||||||
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
|
|
||||||
{{- end }}
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: {{ .Values.service.port }}
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: http
|
|
||||||
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
|
|
||||||
nodePort: {{.Values.service.nodePort}}
|
|
||||||
{{ end }}
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/name: {{ include "heimdall.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
@@ -1,106 +1,27 @@
|
|||||||
# Default values for heimdall.
|
# Default values for grocy.
|
||||||
# This is a YAML-formatted file.
|
|
||||||
# Declare variables to be passed into your templates.
|
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/heimdall
|
repository: linuxserver/heimdall
|
||||||
tag: 2.2.2-ls98
|
tag: version-2.2.2
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
# upgrade strategy type (e.g. Recreate or RollingUpdate)
|
strategy:
|
||||||
strategyType: Recreate
|
type: Recreate
|
||||||
|
|
||||||
# Probes configuration
|
|
||||||
probes:
|
|
||||||
liveness:
|
|
||||||
initialDelaySeconds: 60
|
|
||||||
failureThreshold: 5
|
|
||||||
timeoutSeconds: 10
|
|
||||||
readiness:
|
|
||||||
initialDelaySeconds: 60
|
|
||||||
failureThreshold: 5
|
|
||||||
timeoutSeconds: 10
|
|
||||||
|
|
||||||
nameOverride: ""
|
|
||||||
fullnameOverride: ""
|
|
||||||
|
|
||||||
timezone: UTC
|
|
||||||
puid: 1001
|
|
||||||
pgid: 1001
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
port:
|
||||||
port: 80
|
port: 80
|
||||||
## 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:
|
env: {}
|
||||||
enabled: false
|
# TZ:
|
||||||
annotations: {}
|
# PUID:
|
||||||
# kubernetes.io/ingress.class: nginx
|
# PGID:
|
||||||
# kubernetes.io/tls-acme: "true"
|
|
||||||
labels: {}
|
|
||||||
path: /
|
|
||||||
hosts:
|
|
||||||
- chart-example.local
|
|
||||||
tls: []
|
|
||||||
# - secretName: chart-example-tls
|
|
||||||
# hosts:
|
|
||||||
# - chart-example.local
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
|
||||||
|
probes:
|
||||||
|
startup:
|
||||||
enabled: true
|
enabled: true
|
||||||
## heimdall configuration data Persistent Volume Storage Class
|
|
||||||
## If defined, storageClassName: <storageClass>
|
|
||||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
||||||
## If undefined (the default) or set to null, no storageClassName spec is
|
|
||||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
||||||
## GKE, AWS & OpenStack)
|
|
||||||
##
|
|
||||||
# storageClass: "-"
|
|
||||||
##
|
|
||||||
## If you want to reuse an existing claim, you can pass the name of the PVC using
|
|
||||||
## the existingClaim variable
|
|
||||||
# existingClaim: your-claim
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
size: 1Gi
|
|
||||||
## Do not delete the pvc upon helm uninstall
|
|
||||||
skipuninstall: false
|
|
||||||
|
|
||||||
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: {}
|
|
||||||
|
|
||||||
podAnnotations: {}
|
|
||||||
|
|
||||||
deploymentAnnotations: {}
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ description: A dead simple static HOMepage for your servER to keep your services
|
|||||||
icon: https://raw.githubusercontent.com/bastienwirtz/homer/main/public/logo.png
|
icon: https://raw.githubusercontent.com/bastienwirtz/homer/main/public/logo.png
|
||||||
home: https://github.com/bastienwirtz/homer
|
home: https://github.com/bastienwirtz/homer
|
||||||
name: homer
|
name: homer
|
||||||
version: 1.1.0
|
version: 1.2.0
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/bastienwirtz/homer
|
- https://github.com/bastienwirtz/homer
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -12,5 +12,5 @@ maintainers:
|
|||||||
email: jeff@billimek.com
|
email: jeff@billimek.com
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: v0.16.2106
|
appVersion: v0.16.2106
|
||||||
description: API Support for your favorite torrent trackers
|
description: API Support for your favorite torrent trackers
|
||||||
name: jackett
|
name: jackett
|
||||||
version: 5.6.0
|
version: 5.7.0
|
||||||
keywords:
|
keywords:
|
||||||
- jackett
|
- jackett
|
||||||
- torrent
|
- torrent
|
||||||
@@ -17,4 +17,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 10.6.4
|
appVersion: 10.6.4
|
||||||
description: Jellyfin is a Free Software Media System
|
description: Jellyfin is a Free Software Media System
|
||||||
name: jellyfin
|
name: jellyfin
|
||||||
version: 3.1.1
|
version: 3.3.0
|
||||||
keywords:
|
keywords:
|
||||||
- jellyfin
|
- jellyfin
|
||||||
- plex
|
- plex
|
||||||
@@ -18,4 +18,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.1
|
version: 1.7.0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 0.8.0.1886
|
appVersion: 0.8.0.1886
|
||||||
description: Looks and smells like Sonarr but made for music
|
description: Looks and smells like Sonarr but made for music
|
||||||
name: lidarr
|
name: lidarr
|
||||||
version: 5.6.0
|
version: 5.7.0
|
||||||
keywords:
|
keywords:
|
||||||
- lidarr
|
- lidarr
|
||||||
- torrent
|
- torrent
|
||||||
@@ -18,4 +18,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
|
|||||||
23
charts/monica/Chart.yaml
Normal file
23
charts/monica/Chart.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: v2.19.1
|
||||||
|
description: A Personal Relationship Management tool to help you organize your social life
|
||||||
|
name: monica
|
||||||
|
version: 1.0.0
|
||||||
|
keywords:
|
||||||
|
- crm
|
||||||
|
home: https://www.monicahq.com/
|
||||||
|
icon: https://pbs.twimg.com/profile_images/951820722191720450/mtCNuIXX.jpg
|
||||||
|
sources:
|
||||||
|
- https://github.com/monicahq/monica
|
||||||
|
- https://hub.docker.com/_/monica
|
||||||
|
maintainers:
|
||||||
|
- name: billimek
|
||||||
|
email: jeff@billimek.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
version: 1.7.0
|
||||||
|
- name: mariadb
|
||||||
|
version: 9.0.1
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
condition: mariadb.enabled
|
||||||
8
charts/monica/OWNERS
Normal file
8
charts/monica/OWNERS
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
approvers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
reviewers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
68
charts/monica/README.md
Normal file
68
charts/monica/README.md
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
# Monica
|
||||||
|
|
||||||
|
This is a helm chart for [Monica](https://github.com/monicahq/monica).
|
||||||
|
|
||||||
|
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||||
|
|
||||||
|
This chart supports many different environment variables. See the [Monica Documentation](https://raw.githubusercontent.com/monicahq/monica/master/.env.example) for more information.
|
||||||
|
## TL;DR;
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||||
|
$ helm install k8s-at-home/moica
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm install --name my-release k8s-at-home/monica
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/monica/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 monica \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/monica
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
|
chart. For example,
|
||||||
|
```console
|
||||||
|
helm install monica k8s-at-home/monica --values values.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
image:
|
||||||
|
tag: ...
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
**NOTE**
|
||||||
|
|
||||||
|
If you get
|
||||||
|
```console
|
||||||
|
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
|
||||||
|
```
|
||||||
|
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Upgrading an existing Release to a new major version
|
||||||
|
|
||||||
|
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.
|
||||||
17
charts/monica/ci/ct-values.yaml
Normal file
17
charts/monica/ci/ct-values.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
env:
|
||||||
|
APP_ENV: production
|
||||||
|
APP_KEY: pG335ncsoY7z18CLdpXOp0JXGYKMtFa1
|
||||||
|
APP_URL: https://crm.k8s-at-home.com
|
||||||
|
DB_HOST: monica-mariadb
|
||||||
|
DB_DATABASE: monica
|
||||||
|
DB_USERNAME: monica
|
||||||
|
DB_PASSWORD: monicapass
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
fullnameOverride: monica
|
||||||
|
|
||||||
|
mariadb:
|
||||||
|
enabled: true
|
||||||
|
fullnameOverride: monica-mariadb
|
||||||
1
charts/monica/templates/NOTES.txt
Normal file
1
charts/monica/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
1
charts/monica/templates/common.yaml
Normal file
1
charts/monica/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
45
charts/monica/values.yaml
Normal file
45
charts/monica/values.yaml
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
# Default values for Monica.
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: monica
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 2.19.1-apache
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
service:
|
||||||
|
port:
|
||||||
|
port: 80
|
||||||
|
|
||||||
|
env: {}
|
||||||
|
# See the Monica documentation for all available options for environment variables: https://raw.githubusercontent.com/monicahq/monica/master/.env.example
|
||||||
|
# APP_ENV: production
|
||||||
|
# Generate a different APP_KEY with `pwgen -s 32 1`
|
||||||
|
# APP_KEY: pG335ncsoY7z18CLdpXOp0JXGYKMtFa1
|
||||||
|
# APP_URL: https://crm.k8s-at-home.com
|
||||||
|
# DB_HOST: monica-mariadb
|
||||||
|
# DB_DATABASE: monica
|
||||||
|
# DB_USERNAME: monica
|
||||||
|
# DB_PASSWORD: monicapass
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
mountPath: /var/www/html/storage
|
||||||
|
|
||||||
|
# Enabled mariadb
|
||||||
|
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
|
||||||
|
mariadb:
|
||||||
|
enabled: false
|
||||||
|
architecture: standalone
|
||||||
|
auth:
|
||||||
|
database: monica
|
||||||
|
username: monica
|
||||||
|
password: monicapass
|
||||||
|
rootPassword: monicarootpass
|
||||||
|
primary:
|
||||||
|
persistence:
|
||||||
|
enabled: false
|
||||||
|
# storageClass: ""
|
||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 1.2.5
|
appVersion: 1.2.5
|
||||||
description: Node-RED is low-code programming for event-driven applications
|
description: Node-RED is low-code programming for event-driven applications
|
||||||
name: node-red
|
name: node-red
|
||||||
version: 4.2.0
|
version: 4.3.0
|
||||||
keywords:
|
keywords:
|
||||||
- nodered
|
- nodered
|
||||||
- node-red
|
- node-red
|
||||||
@@ -17,4 +17,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: v21.0
|
appVersion: v21.0
|
||||||
description: NZBGet is a Usenet downloader client
|
description: NZBGet is a Usenet downloader client
|
||||||
name: nzbget
|
name: nzbget
|
||||||
version: 6.6.0
|
version: 6.7.0
|
||||||
keywords:
|
keywords:
|
||||||
- nzbget
|
- nzbget
|
||||||
- usenet
|
- usenet
|
||||||
@@ -17,4 +17,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: v3.4.3
|
appVersion: v3.4.3
|
||||||
description: Usenet meta search
|
description: Usenet meta search
|
||||||
name: nzbhydra2
|
name: nzbhydra2
|
||||||
version: 4.5.1
|
version: 4.7.0
|
||||||
keywords:
|
keywords:
|
||||||
- nzbhydra2
|
- nzbhydra2
|
||||||
- usenet
|
- usenet
|
||||||
@@ -17,4 +17,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.1
|
version: 1.7.0
|
||||||
|
|||||||
@@ -21,3 +21,7 @@ persistence:
|
|||||||
config:
|
config:
|
||||||
enabled: false
|
enabled: false
|
||||||
emptyDir: false
|
emptyDir: false
|
||||||
|
|
||||||
|
probes:
|
||||||
|
startup:
|
||||||
|
enabled: true
|
||||||
|
|||||||
21
charts/octoprint/Chart.yaml
Normal file
21
charts/octoprint/Chart.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: 1.4.2
|
||||||
|
description: OctoPrint is the snappy web interface for your 3D printer
|
||||||
|
name: octoprint
|
||||||
|
version: 1.0.1
|
||||||
|
keywords:
|
||||||
|
- octoprint
|
||||||
|
- 3d
|
||||||
|
- printer
|
||||||
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/octoprint
|
||||||
|
icon: https://avatars3.githubusercontent.com/u/5982294?s=400&v=4
|
||||||
|
sources:
|
||||||
|
- https://github.com/OctoPrint/OctoPrint
|
||||||
|
- https://hub.docker.com/r/octoprint/octoprint
|
||||||
|
maintainers:
|
||||||
|
- name: billimek
|
||||||
|
email: jeff@billimek.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
version: 1.7.0
|
||||||
8
charts/octoprint/OWNERS
Normal file
8
charts/octoprint/OWNERS
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
approvers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
reviewers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
63
charts/octoprint/README.md
Normal file
63
charts/octoprint/README.md
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
# Octoprint
|
||||||
|
|
||||||
|
This is a helm chart for [Octoprint](https://github.com/OctoPrint/OctoPrint).
|
||||||
|
|
||||||
|
**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/octoprint
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm install --name my-release k8s-at-home/octoprint
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/octoprint/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 octoprint \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/octoprint
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
|
chart. For example,
|
||||||
|
```console
|
||||||
|
helm install octoprint k8s-at-home/octoprint --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`.
|
||||||
|
|
||||||
|
---
|
||||||
2
charts/octoprint/ci/ct-values.yaml
Normal file
2
charts/octoprint/ci/ct-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
1
charts/octoprint/templates/NOTES.txt
Normal file
1
charts/octoprint/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
1
charts/octoprint/templates/common.yaml
Normal file
1
charts/octoprint/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
38
charts/octoprint/values.yaml
Normal file
38
charts/octoprint/values.yaml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
# Default values for Octoprint.
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: octoprint/octoprint
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 1.4.2
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
|
|
||||||
|
service:
|
||||||
|
port:
|
||||||
|
port: 5000
|
||||||
|
|
||||||
|
env:
|
||||||
|
OCTOPRINT_PORT: "5000"
|
||||||
|
# TZ: UTC
|
||||||
|
# CAMERA_DEV: /dev/video0
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
mountPath: /octoprint
|
||||||
|
|
||||||
|
# Paths to your 3D printer and/or camera in the container
|
||||||
|
additionalVolumeMounts:
|
||||||
|
- name: printer
|
||||||
|
mountPath: /dev/ttyACM0
|
||||||
|
|
||||||
|
# Paths to your 3D printer and/or camera on the host
|
||||||
|
additionalVolumes:
|
||||||
|
- name: printer
|
||||||
|
hostPath:
|
||||||
|
path: /dev/ttyACM0
|
||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 4.0.681
|
appVersion: 4.0.681
|
||||||
description: Want a Movie or TV Show on Plex or Emby? Use Ombi!
|
description: Want a Movie or TV Show on Plex or Emby? Use Ombi!
|
||||||
name: ombi
|
name: ombi
|
||||||
version: 5.6.0
|
version: 5.7.0
|
||||||
keywords:
|
keywords:
|
||||||
- ombi
|
- ombi
|
||||||
- plex
|
- plex
|
||||||
@@ -21,7 +21,7 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.2
|
version: 1.7.0
|
||||||
- name: mariadb
|
- name: mariadb
|
||||||
version: 9.0.1
|
version: 9.0.1
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: latest
|
appVersion: latest
|
||||||
description: HTPC/Homelab Services Organizer
|
description: HTPC/Homelab Services Organizer
|
||||||
name: organizr
|
name: organizr
|
||||||
version: 2.5.1
|
version: 2.7.0
|
||||||
keywords:
|
keywords:
|
||||||
- organizr
|
- organizr
|
||||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/organizr
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/organizr
|
||||||
@@ -16,4 +16,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.1
|
version: 1.7.0
|
||||||
|
|||||||
24
charts/paperless/.helmignore
Normal file
24
charts/paperless/.helmignore
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode/
|
||||||
|
# OWNERS file for Kubernetes
|
||||||
|
OWNERS
|
||||||
18
charts/paperless/Chart.yaml
Normal file
18
charts/paperless/Chart.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: 2.7.0
|
||||||
|
description: Paperless - Index and archive all of your scanned paper documents
|
||||||
|
name: paperless
|
||||||
|
version: 1.0.0
|
||||||
|
keywords:
|
||||||
|
- paperless
|
||||||
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/paperless
|
||||||
|
icon: https://raw.githubusercontent.com/the-paperless-project/paperless/master/src/paperless/static/paperless/img/logo-dark.png
|
||||||
|
sources:
|
||||||
|
- https://github.com/the-paperless-project/paperless
|
||||||
|
maintainers:
|
||||||
|
- name: mr-onion-2
|
||||||
|
email: securitybyte@hotmail.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
version: 1.7.0
|
||||||
50
charts/paperless/README.md
Normal file
50
charts/paperless/README.md
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
# Paperless
|
||||||
|
|
||||||
|
This is a helm chart for [Paperless](https://github.com/the-paperless-project/paperless). The documentation can be found here [here](https://paperless.readthedocs.io/en/latest/index.html).
|
||||||
|
|
||||||
|
**This 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/paperless
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm install --name my-release k8s-at-home/paperless
|
||||||
|
```
|
||||||
|
|
||||||
|
## Uninstalling the Chart
|
||||||
|
|
||||||
|
To uninstall/delete the `my-release` deployment:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm delete my-release --purge
|
||||||
|
```
|
||||||
|
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
The chart's [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/paperless/values.yaml) file contains a set of suggested values for a minimal deployment. Further configuration options are found in the [common library](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml). All configuration for the Paperless application itself is through environment variables. Please refer to the links provided in chart's [values](https://github.com/k8s-at-home/charts/blob/master/charts/paperless/values.yaml) file.
|
||||||
|
|
||||||
|
|
||||||
|
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||||
|
```console
|
||||||
|
helm install paperless \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/paperless
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||||
|
```console
|
||||||
|
helm install paperless k8s-at-home/paperless --values values.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
## Backup & Restore
|
||||||
|
A more elegant solution will be added, but until then your document can be exported and re-imported by running the following commands directly on the pod. [More info](https://paperless.readthedocs.io/en/latest/migrating.html).
|
||||||
|
|
||||||
|
Backup: `/usr/src/paperless/src/manage.py document_exporter /path/to/somewhere/`
|
||||||
|
Restore: `/usr/src/paperless/src/manage.py document_importer /path/to/somewhere/`
|
||||||
17
charts/paperless/ci/ct-values.yaml
Normal file
17
charts/paperless/ci/ct-values.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
enabled: true
|
||||||
|
emptyDir: true
|
||||||
|
mountPath: /usr/src/paperless/data
|
||||||
|
media:
|
||||||
|
enabled: true
|
||||||
|
emptyDir: true
|
||||||
|
mountPath: /usr/src/paperless/media
|
||||||
|
consume:
|
||||||
|
enabled: true
|
||||||
|
emptyDir: true
|
||||||
|
mountPath: /consume
|
||||||
|
export:
|
||||||
|
enabled: true
|
||||||
|
emptyDir: true
|
||||||
|
mountPath: /export
|
||||||
1
charts/paperless/templates/NOTES.txt
Normal file
1
charts/paperless/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
1
charts/paperless/templates/common.yaml
Normal file
1
charts/paperless/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
56
charts/paperless/values.yaml
Normal file
56
charts/paperless/values.yaml
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
# Default values for Paperless.
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: thepaperlessproject/paperless
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: latest
|
||||||
|
|
||||||
|
args: "['gunicorn', '-b', '0.0.0.0:8000']"
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
# See the following files for supported environment variables
|
||||||
|
# https://github.com/the-paperless-project/paperless/blob/master/docker-compose.env.example
|
||||||
|
# https://github.com/the-paperless-project/paperless/blob/master/paperless.conf.example
|
||||||
|
env:
|
||||||
|
# TZ: Europe/London
|
||||||
|
PAPERLESS_OCR_LANGUAGES: eng
|
||||||
|
# PAPERLESS_FORGIVING_OCR: true
|
||||||
|
# PAPERLESS_DISABLE_LOGIN: true
|
||||||
|
# PAPERLESS_INLINE_DOC: true
|
||||||
|
# PAPERLESS_OCR_THREADS:
|
||||||
|
# PAPERLESS_CONVERT_DENSITY:
|
||||||
|
|
||||||
|
service:
|
||||||
|
port:
|
||||||
|
port: 8000
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
enabled: false
|
||||||
|
mountPath: /usr/src/paperless/data
|
||||||
|
media:
|
||||||
|
enabled: false
|
||||||
|
mountPath: /usr/src/paperless/media
|
||||||
|
consume:
|
||||||
|
enabled: false
|
||||||
|
mountPath: /consume
|
||||||
|
export:
|
||||||
|
enabled: false
|
||||||
|
mountPath: /export
|
||||||
|
|
||||||
|
additionalContainers:
|
||||||
|
- name: consumer
|
||||||
|
image: thepaperlessproject/paperless:latest
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
args: ['document_consumer']
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /usr/src/paperless/data
|
||||||
|
name: data
|
||||||
|
- mountPath: /usr/src/paperless/media
|
||||||
|
name: media
|
||||||
|
- mountPath: /consume
|
||||||
|
name: consume
|
||||||
|
- mountPath: /export
|
||||||
|
name: export
|
||||||
22
charts/photoprism/Chart.yaml
Normal file
22
charts/photoprism/Chart.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: "20201122"
|
||||||
|
description: PhotoPrism® is a server-based application for browsing, organizing and sharing your personal photo collection
|
||||||
|
name: photoprism
|
||||||
|
version: 1.0.0
|
||||||
|
keywords:
|
||||||
|
- photos
|
||||||
|
- photoprism
|
||||||
|
- pictures
|
||||||
|
- sharing
|
||||||
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/photoprism
|
||||||
|
icon: https://demo.photoprism.org/static/img/logo-avatar.svg
|
||||||
|
sources:
|
||||||
|
- https://github.com/photoprism/photoprism
|
||||||
|
- https://hub.docker.com/r/photoprism/photoprism
|
||||||
|
maintainers:
|
||||||
|
- name: billimek
|
||||||
|
email: jeff@billimek.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
version: 1.7.0
|
||||||
8
charts/photoprism/OWNERS
Normal file
8
charts/photoprism/OWNERS
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
approvers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
reviewers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
69
charts/photoprism/README.md
Normal file
69
charts/photoprism/README.md
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
# Photoprism
|
||||||
|
|
||||||
|
This is a helm chart for [PhotoPrism](https://github.com/photoprism/photoprism).
|
||||||
|
|
||||||
|
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||||
|
|
||||||
|
This chart requires heavy customization of the `env: {}` block within values.yaml to configure the service to operate properly. See the PhotoPrism [documentation](https://docs.photoprism.org/getting-started/config-options/) for available config options.
|
||||||
|
|
||||||
|
## TL;DR;
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||||
|
$ helm install k8s-at-home/photoprism
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm install --name my-release k8s-at-home/photoprism
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/photoprism/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 photoprism \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/photoprism
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
|
chart. For example,
|
||||||
|
```console
|
||||||
|
helm install photoprism k8s-at-home/photoprism --values values.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
image:
|
||||||
|
tag: ...
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
**NOTE**
|
||||||
|
|
||||||
|
If you get
|
||||||
|
```console
|
||||||
|
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
|
||||||
|
```
|
||||||
|
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Upgrading an existing Release to a new major version
|
||||||
|
|
||||||
|
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.
|
||||||
2
charts/photoprism/ci/ct-values.yaml
Normal file
2
charts/photoprism/ci/ct-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
1
charts/photoprism/templates/NOTES.txt
Normal file
1
charts/photoprism/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
1
charts/photoprism/templates/common.yaml
Normal file
1
charts/photoprism/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
53
charts/photoprism/values.yaml
Normal file
53
charts/photoprism/values.yaml
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# Default values for PhotoPrism.
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: photoprism/photoprism
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: "20201122"
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
service:
|
||||||
|
port:
|
||||||
|
port: 2342
|
||||||
|
|
||||||
|
env:
|
||||||
|
PHOTOPRISM_STORAGE_PATH: /photoprism/storage
|
||||||
|
PHOTOPRISM_ORIGINALS_PATH: /photoprism/originals
|
||||||
|
## See other config options from PhotoPrism documentation: https://docs.photoprism.org/getting-started/config-options/
|
||||||
|
# PHOTOPRISM_ADMIN_PASSWORD: "please-change" # Initial admin password: PLEASE CHANGE!
|
||||||
|
# PHOTOPRISM_DEBUG: "false" # Run in debug mode (shows additional log messages)
|
||||||
|
# PHOTOPRISM_PUBLIC: "false" # No authentication required (disables password protection)
|
||||||
|
# PHOTOPRISM_READONLY: "false" # Don't modify originals directory (reduced functionality)
|
||||||
|
# PHOTOPRISM_EXPERIMENTAL: "false" # Enable experimental features
|
||||||
|
# PHOTOPRISM_SITE_URL: "http://localhost:2342/" # Canonical / public site URL
|
||||||
|
# PHOTOPRISM_SITE_TITLE: "PhotoPrism"
|
||||||
|
# PHOTOPRISM_SITE_CAPTION: "Browse Your Life"
|
||||||
|
# PHOTOPRISM_SITE_DESCRIPTION: ""
|
||||||
|
# PHOTOPRISM_SITE_AUTHOR: ""
|
||||||
|
# # You may optionally set user, group and/or file permissions using environment variables:
|
||||||
|
# UID: 1000
|
||||||
|
# GID: 1000
|
||||||
|
# UMASK: 0000
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
mountPath: /photoprism/storage
|
||||||
|
|
||||||
|
originals:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
mountPath: "/photoprism/originals"
|
||||||
|
# readOnly: true
|
||||||
|
|
||||||
|
# additionalVolumeMounts:
|
||||||
|
# - name: originals
|
||||||
|
# mountPath: "/photoprism/originals"
|
||||||
|
# readOnly: true
|
||||||
|
# additionalVolumes:
|
||||||
|
# - name: originals
|
||||||
|
# persistentVolumeClaim:
|
||||||
|
# claimName: nfs-pictures-pvc
|
||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: v4.0
|
appVersion: v4.0
|
||||||
description: Program for forwarding ADS-B data to FlightAware
|
description: Program for forwarding ADS-B data to FlightAware
|
||||||
name: piaware
|
name: piaware
|
||||||
version: 3.1.1
|
version: 3.3.0
|
||||||
keywords:
|
keywords:
|
||||||
- piaware
|
- piaware
|
||||||
- flight-aware
|
- flight-aware
|
||||||
@@ -17,4 +17,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.1
|
version: 1.7.0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 1.20.4.3517-ab5e1197c
|
appVersion: 1.20.4.3517-ab5e1197c
|
||||||
description: Plex Media Server
|
description: Plex Media Server
|
||||||
name: plex-media-server
|
name: plex-media-server
|
||||||
version: 0.0.3
|
version: 0.2.0
|
||||||
keywords:
|
keywords:
|
||||||
- plex
|
- plex
|
||||||
- plex-media-server
|
- plex-media-server
|
||||||
@@ -17,4 +17,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.1
|
version: 1.7.0
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: v4.3.0
|
appVersion: v4.3.0
|
||||||
description: PowerDNS is a DNS server, written in C++ and licensed under the GPL. It runs on most Unix derivatives. PowerDNS features a large number of different backends ranging from simple BIND style zonefiles to relational databases and load balancing/failover algorithms. A DNS recursor is provided as a separate program.
|
description: PowerDNS is a DNS server, written in C++ and licensed under the GPL. It runs on most Unix derivatives. PowerDNS features a large number of different backends ranging from simple BIND style zonefiles to relational databases and load balancing/failover algorithms. A DNS recursor is provided as a separate program.
|
||||||
name: powerdns
|
name: powerdns
|
||||||
version: 2.2.0
|
version: 2.5.0
|
||||||
home: https://www.powerdns.com/
|
home: https://www.powerdns.com/
|
||||||
sources:
|
sources:
|
||||||
- http://www.github.com/PowerDNS/
|
- http://www.github.com/PowerDNS/
|
||||||
@@ -12,7 +12,7 @@ maintainers:
|
|||||||
email: ryan@ryanholt.net
|
email: ryan@ryanholt.net
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
version: 9.8.12
|
version: 10.1.2
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
condition: postgres.enabled
|
condition: postgres.enabled
|
||||||
- name: mariadb
|
- name: mariadb
|
||||||
|
|||||||
@@ -35,28 +35,25 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /etc/pdns/conf.d
|
mountPath: /etc/pdns/conf.d
|
||||||
env:
|
env:
|
||||||
{{- if .Values.postgres.enabled }}
|
{{- if .Values.postgresql.enabled }}
|
||||||
|
- name: AUTOCONF
|
||||||
|
value: postgres
|
||||||
- name: PGSQL_HOST
|
- name: PGSQL_HOST
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "powerdns.fullname" . }}
|
name: {{ include "powerdns.fullname" . }}
|
||||||
key: postgres_host
|
key: postgres_host
|
||||||
- name: PGSQL_PORT
|
- name: PGSQL_USER
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: {{ include "powerdns.fullname" . }}
|
|
||||||
key: postgres_port
|
|
||||||
- name: PGSQL_USERNAME
|
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "powerdns.fullname" . }}
|
name: {{ include "powerdns.fullname" . }}
|
||||||
key: postgres_username
|
key: postgres_username
|
||||||
- name: PGSQL_PASSWORD
|
- name: PGSQL_PASS
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "powerdns.fullname" . }}
|
name: {{ include "powerdns.fullname" . }}
|
||||||
key: postgres_password
|
key: postgres_password
|
||||||
- name: PGSQL_DATABASE
|
- name: PGSQL_DB
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "powerdns.fullname" . }}
|
name: {{ include "powerdns.fullname" . }}
|
||||||
@@ -65,6 +62,8 @@ spec:
|
|||||||
value: {{if (.Values.powerdns.dnssec)}}"yes"{{else}}"no"{{ end }}
|
value: {{if (.Values.powerdns.dnssec)}}"yes"{{else}}"no"{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if .Values.mariadb.enabled }}
|
{{- if .Values.mariadb.enabled }}
|
||||||
|
- name: AUTOCONF
|
||||||
|
value: mysql
|
||||||
- name: MYSQL_HOST
|
- name: MYSQL_HOST
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@@ -95,32 +94,26 @@ spec:
|
|||||||
- name: dns-udp
|
- name: dns-udp
|
||||||
containerPort: 53
|
containerPort: 53
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
- name: dns-webserver
|
|
||||||
containerPort: 8081
|
|
||||||
protocol: TCP
|
|
||||||
{{- if .Values.probes.liveness.enabled }}
|
{{- if .Values.probes.liveness.enabled }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
tcpSocket:
|
||||||
path: /
|
port: dns-tcp
|
||||||
port: dns-webserver
|
|
||||||
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
|
||||||
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
|
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
|
||||||
timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if .Values.probes.readiness.enabled }}
|
{{- if .Values.probes.readiness.enabled }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
tcpSocket:
|
||||||
path: /
|
port: dns-tcp
|
||||||
port: dns-webserver
|
|
||||||
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
|
||||||
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
|
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
|
||||||
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if .Values.probes.startup.enabled }}
|
{{- if .Values.probes.startup.enabled }}
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
tcpSocket:
|
||||||
path: /
|
port: dns-tcp
|
||||||
port: dns-webserver
|
|
||||||
failureThreshold: {{ .Values.probes.startup.failureThreshold }}
|
failureThreshold: {{ .Values.probes.startup.failureThreshold }}
|
||||||
periodSeconds: {{ .Values.probes.startup.periodSeconds }}
|
periodSeconds: {{ .Values.probes.startup.periodSeconds }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -128,13 +121,13 @@ spec:
|
|||||||
lifecycle:
|
lifecycle:
|
||||||
postStart:
|
postStart:
|
||||||
exec:
|
exec:
|
||||||
command: ["/bin/sh", "-c", "a=0;while [ $a -lt 200 ];do sleep 5;a=$[a+1];echo 'stage: '$a;if nc -vz {{ .Values.powerdns.mysql.host }} 3306;then (! pdnsutil list-zone {{ .Values.powerdns.domain }} 2>/dev/null) && pdnsutil create-zone {{ .Values.powerdns.domain }};echo 'End Stage';a=200;fi;done"]
|
command: ["/bin/sh", "-c", "a=0;while [ $a -lt 200 ];do sleep 5;a=$[a+1];echo 'stage: '$a;if nc -vz {{- printf "%s-%s" .Release.Name "mariadb"}} 3306;then (! pdnsutil list-zone {{ .Values.powerdns.domain }} 2>/dev/null) && pdnsutil create-zone {{ .Values.powerdns.domain }};echo 'End Stage';a=200;fi;done"]
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if .Values.postgres.enabled }}
|
{{- if .Values.postgresql.enabled }}
|
||||||
lifecycle:
|
lifecycle:
|
||||||
postStart:
|
postStart:
|
||||||
exec:
|
exec:
|
||||||
command: ["/bin/sh", "-c", "a=0;while [ $a -lt 200 ];do sleep 5;a=$[a+1];echo 'stage: '$a;if nc -vz {{ .Values.powerdns.postgres.host }} 5432;then (! pdnsutil list-zone {{ .Values.powerdns.domain }} 2>/dev/null) && pdnsutil create-zone {{ .Values.powerdns.domain }};echo 'End Stage';a=200;fi;done"]
|
command: ["/bin/sh", "-c", "a=0;while [ $a -lt 200 ];do sleep 5;a=$[a+1];echo 'stage: '$a;if nc -vz {{- printf "%s-%s" .Release.Name "postgresql"}} 5432;then (! pdnsutil list-zone {{ .Values.powerdns.domain }} 2>/dev/null) && pdnsutil create-zone {{ .Values.powerdns.domain }};echo 'End Stage';a=200;fi;done"]
|
||||||
{{ end }}
|
{{ end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
|
|||||||
@@ -6,13 +6,12 @@ metadata:
|
|||||||
{{ include "powerdns.labels" . | indent 4 }}
|
{{ include "powerdns.labels" . | indent 4 }}
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
{{- if .Values.postgres.enabled }}
|
{{- if .Values.postgresql.enabled }}
|
||||||
{{- $postgrestmp := printf "%s-%s" .Release.Name "postgres"}}
|
{{- $postgrestmp := printf "%s-%s" .Release.Name "postgresql"}}
|
||||||
postgres_host: "{{ $postgrestmp |b64enc }}"
|
postgres_host: "{{ $postgrestmp |b64enc }}"
|
||||||
postgres_port: "{{ .Values.powerdns.postgres.port | toString | b64enc }}"
|
postgres_username: "{{ .Values.postgresql.postgresqlUsername | b64enc }}"
|
||||||
postgres_username: "{{ .Values.powerdns.postgres.username | b64enc }}"
|
postgres_password: "{{ .Values.postgresql.postgresqlPassword | toString | b64enc }}"
|
||||||
postgres_password: "{{ .Values.powerdns.postgres.password | toString | b64enc }}"
|
postgres_database: "{{ .Values.postgresql.postgresqlDatabase | b64enc }}"
|
||||||
postgres_database: "{{ .Values.powerdns.postgres.database | b64enc }}"
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if .Values.mariadb.enabled }}
|
{{- if .Values.mariadb.enabled }}
|
||||||
{{- $mysqltmp := printf "%s-%s" .Release.Name "mariadb"}}
|
{{- $mysqltmp := printf "%s-%s" .Release.Name "mariadb"}}
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ replicaCount: 1
|
|||||||
strategyType: Recreate
|
strategyType: Recreate
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: psitrax/powerdns
|
repository: naps/powerdns
|
||||||
tag: v4.3.0
|
tag: 4.3.1
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
@@ -71,8 +71,10 @@ powerdns:
|
|||||||
dnssec: true
|
dnssec: true
|
||||||
config: {}
|
config: {}
|
||||||
|
|
||||||
|
# Enabled mariadb
|
||||||
|
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
|
||||||
mariadb:
|
mariadb:
|
||||||
enabled: true
|
enabled: false
|
||||||
db:
|
db:
|
||||||
name: pdns
|
name: pdns
|
||||||
user: pdns
|
user: pdns
|
||||||
@@ -84,12 +86,19 @@ mariadb:
|
|||||||
master:
|
master:
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
postgres:
|
|
||||||
enabled: false
|
# Enabled postgres
|
||||||
global:
|
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
|
||||||
postgresqlUsername: pdns
|
postgresql:
|
||||||
postgresqlPassword: pdnspass
|
enabled: true
|
||||||
postgresqlDatabase: pdns
|
postgresqlUsername: pdns
|
||||||
|
postgresqlPassword: pdnspass
|
||||||
|
postgresqlPostgresPassword: pdnsadminpass
|
||||||
|
postgresqlDatabase: pdns
|
||||||
|
persistence:
|
||||||
|
enabled: false
|
||||||
|
# storageClass: ""
|
||||||
|
|
||||||
|
|
||||||
# Probes configuration
|
# Probes configuration
|
||||||
probes:
|
probes:
|
||||||
|
|||||||
24
charts/pyload/.helmignore
Normal file
24
charts/pyload/.helmignore
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
*.tmproj
|
||||||
|
# OWNERS file for Kubernetes
|
||||||
|
OWNERS
|
||||||
20
charts/pyload/Chart.yaml
Normal file
20
charts/pyload/Chart.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.4.20
|
||||||
|
description: pyLoad is a Free and Open Source download manager written in Python and designed to be extremely lightweight, easily extensible and fully manageable via web.
|
||||||
|
name: pyload
|
||||||
|
version: 1.0.1
|
||||||
|
keywords:
|
||||||
|
- pyload
|
||||||
|
- download
|
||||||
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/pyload
|
||||||
|
icon: https://github.com/pyload/pyload/blob/main/media/logo.png?raw=true
|
||||||
|
sources:
|
||||||
|
- https://github.com/pyload/pyload
|
||||||
|
- https://hub.docker.com/r/linuxserver/pyload
|
||||||
|
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/pyload/OWNERS
Normal file
4
charts/pyload/OWNERS
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
approvers:
|
||||||
|
- auricom
|
||||||
|
reviewers:
|
||||||
|
- auricom
|
||||||
67
charts/pyload/README.md
Normal file
67
charts/pyload/README.md
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
# pyLoad
|
||||||
|
|
||||||
|
This is a helm chart for [pyLoad](https://github.com/pyload/pyload).
|
||||||
|
|
||||||
|
**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/pyload
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm install --name my-release k8s-at-home/pyload
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/pyload/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 pyload \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/pyload
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
|
chart. For example,
|
||||||
|
```console
|
||||||
|
helm install pyload k8s-at-home/pyload --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.
|
||||||
2
charts/pyload/ci/ct-values.yaml
Normal file
2
charts/pyload/ci/ct-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
1
charts/pyload/templates/NOTES.txt
Normal file
1
charts/pyload/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
1
charts/pyload/templates/common.yaml
Normal file
1
charts/pyload/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
23
charts/pyload/values.yaml
Normal file
23
charts/pyload/values.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Default values for pyLoad.
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: linuxserver/pyload
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: version-5f5aaf56
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
service:
|
||||||
|
port:
|
||||||
|
port: 8000
|
||||||
|
|
||||||
|
env: {}
|
||||||
|
# TZ: UTC
|
||||||
|
# PUID: 1001
|
||||||
|
# PGID: 1001
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 4.3.0
|
appVersion: 4.3.0
|
||||||
description: qBittorrent is a cross-platform free and open-source BitTorrent client
|
description: qBittorrent is a cross-platform free and open-source BitTorrent client
|
||||||
name: qbittorrent
|
name: qbittorrent
|
||||||
version: 6.5.1
|
version: 6.7.0
|
||||||
keywords:
|
keywords:
|
||||||
- qbittorrent
|
- qbittorrent
|
||||||
- torrrent
|
- torrrent
|
||||||
@@ -16,4 +16,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: 1.6.1
|
version: 1.7.0
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user