Compare commits
134 Commits
lidarr-5.5
...
lychee-1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a75e75f2b5 | ||
|
|
731b70fd98 | ||
|
|
b928e1ea44 | ||
|
|
61dbea3bad | ||
|
|
1aa31e3bd9 | ||
|
|
b974051a0a | ||
|
|
da761a5c4c | ||
|
|
a968ee3082 | ||
|
|
ea2b63d930 | ||
|
|
c139284fc3 | ||
|
|
5bb1c5242d | ||
|
|
11e76c9f15 | ||
|
|
66d14d9d7d | ||
|
|
43fe354c35 | ||
|
|
9604ece2a5 | ||
|
|
f051bb16cf | ||
|
|
166c4b3cd9 | ||
|
|
351d46296f | ||
|
|
601341ca9b | ||
|
|
39f3555873 | ||
|
|
44fbca1fb8 | ||
|
|
6ad3ba062a | ||
|
|
ab9a0fda18 | ||
|
|
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 | ||
|
|
e0bae04364 | ||
|
|
03473ff13f | ||
|
|
a024f2c9b4 | ||
|
|
9a43343d0e | ||
|
|
ec4525d0c1 | ||
|
|
85a391e902 | ||
|
|
e301c08620 | ||
|
|
429db07f64 | ||
|
|
6a281a2828 | ||
|
|
d021b87405 | ||
|
|
6174dfc8ef | ||
|
|
5e9897d8cc | ||
|
|
819e3a6fce | ||
|
|
b278fc51b5 | ||
|
|
94521bcdda | ||
|
|
fa5cc7171c | ||
|
|
58af006816 | ||
|
|
fba5edf834 | ||
|
|
250d308995 | ||
|
|
dc90788f78 | ||
|
|
e93bf613f1 | ||
|
|
5edd9b8b00 | ||
|
|
70990295db | ||
|
|
66feb4ca7e | ||
|
|
693902005a | ||
|
|
10ac770b40 | ||
|
|
8d6ec42996 | ||
|
|
2632a248a4 | ||
|
|
c78292c8e7 | ||
|
|
226c0d19c1 | ||
|
|
c46da9968d | ||
|
|
0bf211c8e9 | ||
|
|
4ef7b2b312 | ||
|
|
1d5b7ff5bf | ||
|
|
7fc5825da9 | ||
|
|
e621f470f5 | ||
|
|
23f9c09612 | ||
|
|
5a1ae94997 | ||
|
|
415f618e2b | ||
|
|
118ed4cc26 | ||
|
|
3b0b096427 | ||
|
|
a05b836cd1 | ||
|
|
1355fc9a06 | ||
|
|
60f85c84eb |
6
ct.yaml → .github/ct.yaml
vendored
6
ct.yaml → .github/ct.yaml
vendored
@@ -1,8 +1,10 @@
|
|||||||
|
remote: origin
|
||||||
|
target-branch: master
|
||||||
helm-extra-args: --timeout 600s
|
helm-extra-args: --timeout 600s
|
||||||
chart-dirs:
|
chart-dirs:
|
||||||
- charts
|
- charts
|
||||||
|
excluded-charts:
|
||||||
|
- common
|
||||||
chart-repos:
|
chart-repos:
|
||||||
- bitnami=https://charts.bitnami.com/bitnami
|
- bitnami=https://charts.bitnami.com/bitnami
|
||||||
- k8s-at-home=https://k8s-at-home.com/charts
|
- k8s-at-home=https://k8s-at-home.com/charts
|
||||||
excluded-charts:
|
|
||||||
- common
|
|
||||||
27
.github/renovate.json
vendored
Normal file
27
.github/renovate.json
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"enabled": true,
|
||||||
|
"commitMessagePrefix": "[{{{parentDir}}}]",
|
||||||
|
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
|
||||||
|
"assigneesFromCodeOwners": true,
|
||||||
|
"reviewersFromCodeOwners": true,
|
||||||
|
"suppressNotifications": ["prIgnoreNotification"],
|
||||||
|
"rebaseWhen": "conflicted",
|
||||||
|
"helm-values": {
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
"helmv3": {
|
||||||
|
"fileMatch": ["charts/.+/Chart\\.yaml$"]
|
||||||
|
},
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"updateTypes": ["major"],
|
||||||
|
"bumpVersion": "major",
|
||||||
|
"labels": ["dependency/major"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"updateTypes": ["minor", "patch"],
|
||||||
|
"bumpVersion": "minor",
|
||||||
|
"labels": ["dependency/minor"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
47
.github/workflows/lint-test.yaml
vendored
47
.github/workflows/lint-test.yaml
vendored
@@ -1,28 +1,45 @@
|
|||||||
name: Lint and Test Charts
|
name: Lint and Test Charts
|
||||||
|
|
||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-test:
|
lint-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Fetch history
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Install Helm
|
||||||
|
uses: azure/setup-helm@v1
|
||||||
|
with:
|
||||||
|
version: v3.4.0
|
||||||
|
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
|
||||||
|
- name: Set up chart-testing
|
||||||
|
uses: helm/chart-testing-action@v2.0.1
|
||||||
|
|
||||||
|
- name: Run chart-testing (list-changed)
|
||||||
|
id: list-changed
|
||||||
run: |
|
run: |
|
||||||
git fetch --prune --unshallow;
|
changed=$(ct list-changed --config .github/ct.yaml)
|
||||||
echo "commitmsg=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_ENV
|
if [[ -n "$changed" ]]; then
|
||||||
|
echo "::set-output name=changed::true"
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Run chart-testing (lint)
|
- name: Run chart-testing (lint)
|
||||||
id: lint
|
id: lint
|
||||||
uses: helm/chart-testing-action@v1.0.0
|
run: ct lint --config .github/ct.yaml
|
||||||
if: "! contains(env.commitmsg, '[skip lint]')"
|
if: steps.list-changed.outputs.changed == 'true'
|
||||||
with:
|
|
||||||
command: lint
|
|
||||||
config: ct.yaml
|
|
||||||
- name: Create kind cluster
|
- name: Create kind cluster
|
||||||
uses: helm/kind-action@v1.0.0
|
uses: helm/kind-action@v1.1.0
|
||||||
if: "steps.lint.outputs.changed == 'true' && ! contains(env.commitmsg, '[skip install]')"
|
if: steps.list-changed.outputs.changed == 'true'
|
||||||
|
|
||||||
- name: Run chart-testing (install)
|
- name: Run chart-testing (install)
|
||||||
uses: helm/chart-testing-action@v1.0.0
|
run: ct install --config .github/ct.yaml
|
||||||
if: "steps.lint.outputs.changed == 'true' && ! contains(env.commitmsg, '[skip install]')"
|
if: steps.list-changed.outputs.changed == 'true'
|
||||||
with:
|
|
||||||
command: install
|
|
||||||
config: ct.yaml
|
|
||||||
|
|||||||
65
.github/workflows/release.yaml
vendored
65
.github/workflows/release.yaml
vendored
@@ -1,45 +1,74 @@
|
|||||||
|
|
||||||
name: Release Charts
|
name: Release Charts
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths:
|
||||||
|
- "charts/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
pre-release:
|
||||||
timeout-minutes: 5
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Block concurrent releases
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Turnstyle
|
|
||||||
uses: softprops/turnstyle@v1
|
uses: softprops/turnstyle@v1
|
||||||
with:
|
with:
|
||||||
continue-after-seconds: 180
|
continue-after-seconds: 180
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Fetch history
|
release:
|
||||||
run: git fetch --prune --unshallow
|
needs: pre-release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
run: |
|
run: |
|
||||||
git config user.name "$GITHUB_ACTOR"
|
git config user.name "$GITHUB_ACTOR"
|
||||||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||||
# See https://github.com/helm/chart-releaser-action/issues/6
|
|
||||||
- name: Install Helm
|
- name: Install Helm
|
||||||
run: |
|
uses: azure/setup-helm@v1
|
||||||
curl -fsSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
|
with:
|
||||||
chmod 700 get_helm.sh
|
version: v3.4.0
|
||||||
./get_helm.sh
|
|
||||||
- name: Add dependency chart repos
|
|
||||||
run: |
|
|
||||||
helm repo add stable https://charts.helm.sh/stable
|
|
||||||
- name: Run chart-releaser
|
- name: Run chart-releaser
|
||||||
uses: helm/chart-releaser-action@v1.0.0
|
uses: helm/chart-releaser-action@v1.1.0
|
||||||
with:
|
with:
|
||||||
charts_repo_url: https://k8s-at-home.com/charts/
|
charts_repo_url: https://k8s-at-home.com/charts/
|
||||||
env:
|
env:
|
||||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
||||||
|
# Update the generated timestamp in the index.yaml
|
||||||
|
# needed until https://github.com/helm/chart-releaser/issues/90
|
||||||
|
# or helm/chart-releaser-action supports this
|
||||||
|
post-release:
|
||||||
|
needs: release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: "gh-pages"
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Configure Git
|
||||||
|
run: |
|
||||||
|
git config user.name "$GITHUB_ACTOR"
|
||||||
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||||
|
|
||||||
|
- name: Commit and push timestamp updates
|
||||||
|
run: |
|
||||||
|
if [[ -f index.yaml ]]; then
|
||||||
|
export generated_date=$(date --utc +%FT%T.%9NZ)
|
||||||
|
sed -i -e "s/^generated:.*/generated: \"$generated_date\"/" index.yaml
|
||||||
|
git add index.yaml
|
||||||
|
git commit -sm "Update generated timestamp [ci-skip]" || exit 0
|
||||||
|
git push
|
||||||
|
fi
|
||||||
|
|||||||
24
charts/alertmanager-bot/.helmignore
Normal file
24
charts/alertmanager-bot/.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
|
||||||
21
charts/alertmanager-bot/Chart.yaml
Normal file
21
charts/alertmanager-bot/Chart.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.4.2
|
||||||
|
description: Bot for Prometheus Alertmanager
|
||||||
|
name: alertmanager-bot
|
||||||
|
version: 1.2.0
|
||||||
|
keywords:
|
||||||
|
- alertmanager
|
||||||
|
- telegram
|
||||||
|
- bot
|
||||||
|
- alerting
|
||||||
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/alertmanager-bot
|
||||||
|
sources:
|
||||||
|
- https://hub.docker.com/r/metalmatze/alertmanager-bot
|
||||||
|
- https://github.com/metalmatze/alertmanager-bot
|
||||||
|
maintainers:
|
||||||
|
- name: billimek
|
||||||
|
email: jeff@billimek.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
version: 1.7.0
|
||||||
8
charts/alertmanager-bot/OWNERS
Normal file
8
charts/alertmanager-bot/OWNERS
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
approvers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
reviewers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
61
charts/alertmanager-bot/README.md
Normal file
61
charts/alertmanager-bot/README.md
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
# alertmanager-bot
|
||||||
|
|
||||||
|
This is a helm chart for [alertmanager-bot](https://github.com/metalmatze/alertmanager-bot).
|
||||||
|
|
||||||
|
**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/alertmanager-bot
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm install --name my-release k8s-at-home/alertmanager-bot
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/alertmanager-bot/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 alertmanager-bot \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/alertmanager-bot
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
|
chart. For example,
|
||||||
|
```console
|
||||||
|
helm install alertmanager-bot k8s-at-home/alertmanager-bot --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`.
|
||||||
7
charts/alertmanager-bot/ci/ct-values.yaml
Normal file
7
charts/alertmanager-bot/ci/ct-values.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
service:
|
||||||
|
enabled: false
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
enabled: false
|
||||||
|
readiness:
|
||||||
|
enabled: false
|
||||||
1
charts/alertmanager-bot/templates/NOTES.txt
Normal file
1
charts/alertmanager-bot/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
1
charts/alertmanager-bot/templates/common.yaml
Normal file
1
charts/alertmanager-bot/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
26
charts/alertmanager-bot/values.yaml
Normal file
26
charts/alertmanager-bot/values.yaml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Default values for alertmanager-bot.
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: metalmatze/alertmanager-bot
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 0.4.2
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
# See more environment varaibles in the alertmanager-botdocumentation
|
||||||
|
# https://github.com/metalmatze/alertmanager-bot
|
||||||
|
env:
|
||||||
|
STORE: bolt
|
||||||
|
BOLT_PATH: /data/bot.db
|
||||||
|
# ALERTMANAGER_URL:
|
||||||
|
# TELEGRAM_ADMIN:
|
||||||
|
# TELEGRAM_TOKEN:
|
||||||
|
|
||||||
|
service:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
24
charts/appdaemon/.helmignore
Normal file
24
charts/appdaemon/.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
|
||||||
20
charts/appdaemon/Chart.yaml
Normal file
20
charts/appdaemon/Chart.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: 4.0.5
|
||||||
|
description: AppDaemon is a loosely coupled, multi-threaded, sandboxed python execution environment for writing automation apps for various types of Home Automation Software including Home Assistant and MQTT.
|
||||||
|
name: appdaemon
|
||||||
|
version: 1.0.2
|
||||||
|
keywords:
|
||||||
|
- appdaemon
|
||||||
|
- home-automation
|
||||||
|
- home-assistant
|
||||||
|
- mqtt
|
||||||
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/appdaemon
|
||||||
|
sources:
|
||||||
|
- https://github.com/AppDaemon/appdaemon
|
||||||
|
maintainers:
|
||||||
|
- name: billimek
|
||||||
|
email: jeff@billimek.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
version: 1.7.0
|
||||||
8
charts/appdaemon/OWNERS
Normal file
8
charts/appdaemon/OWNERS
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
approvers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
reviewers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
67
charts/appdaemon/README.md
Normal file
67
charts/appdaemon/README.md
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
# appdaemon
|
||||||
|
|
||||||
|
This is a helm chart for [appdaemon](https://github.com/AppDaemon/appdaemon).
|
||||||
|
|
||||||
|
**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/appdaemon
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm install --name my-release k8s-at-home/appdaemon
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/appdaemon/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 appdaemon \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/appdaemon
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
|
chart. For example,
|
||||||
|
```console
|
||||||
|
helm install appdaemon k8s-at-home/appdaemon --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.
|
||||||
8
charts/appdaemon/ci/ct-values.yaml
Normal file
8
charts/appdaemon/ci/ct-values.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
env:
|
||||||
|
TZ: "Africa/Cairo"
|
||||||
|
LATITUDE: "29.9792"
|
||||||
|
LONGITUDE: "31.1342"
|
||||||
|
ELEVATION: "64"
|
||||||
|
DASH_URL: "http://0.0.0.0:5050"
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
1
charts/appdaemon/templates/NOTES.txt
Normal file
1
charts/appdaemon/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
1
charts/appdaemon/templates/common.yaml
Normal file
1
charts/appdaemon/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
93
charts/appdaemon/values.yaml
Normal file
93
charts/appdaemon/values.yaml
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
# Default values for Appdaemon.
|
||||||
|
|
||||||
|
# Use our own image at https://github.com/k8s-at-home/container-images/tree/main/appdaemon
|
||||||
|
# until https://github.com/AppDaemon/appdaemon/pull/1002 is merged
|
||||||
|
image:
|
||||||
|
repository: k8sathome/appdaemon
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: v4.0.5
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
service:
|
||||||
|
port:
|
||||||
|
port: 5050
|
||||||
|
# # Boilerplate config for code-server functionality, be sure to make changes to suit your environment
|
||||||
|
# additionalServices:
|
||||||
|
# - enabled: true
|
||||||
|
# nameSuffix: vscode
|
||||||
|
# type: ClusterIP
|
||||||
|
# port:
|
||||||
|
# port: 12321
|
||||||
|
# name: vscode
|
||||||
|
# protocol: TCP
|
||||||
|
# targetPort: 12321
|
||||||
|
|
||||||
|
# Environment variables that can be configure can be seen at
|
||||||
|
# https://appdaemon.readthedocs.io/en/latest/DOCKER_TUTORIAL.html
|
||||||
|
env: {}
|
||||||
|
# TZ:
|
||||||
|
# LATITUDE:
|
||||||
|
# LONGITUDE:
|
||||||
|
# ELEVATION:
|
||||||
|
# HA_URL:
|
||||||
|
# DASH_URL:
|
||||||
|
# TOKEN:
|
||||||
|
|
||||||
|
# # Boilerplate config for code-server functionality, be sure to make changes to suit your environment
|
||||||
|
# additionalContainers:
|
||||||
|
# - name: vscode
|
||||||
|
# image: codercom/code-server:3.7.2
|
||||||
|
# imagePullPolicy: IfNotPresent
|
||||||
|
# workingDir: /www/assets
|
||||||
|
# args:
|
||||||
|
# - "--port"
|
||||||
|
# - "12321"
|
||||||
|
# - "--auth"
|
||||||
|
# - "none"
|
||||||
|
# ports:
|
||||||
|
# - name: vscode
|
||||||
|
# containerPort: 12321
|
||||||
|
# protocol: TCP
|
||||||
|
# volumeMounts:
|
||||||
|
# - name: config
|
||||||
|
# mountPath: /www/assets
|
||||||
|
# securityContext:
|
||||||
|
# runAsUser: 0
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: false
|
||||||
|
# # Boilerplate config for code-server functionality, be sure to make changes to suit your environment
|
||||||
|
# additionalIngresses:
|
||||||
|
# - enabled: true
|
||||||
|
# nameSuffix: "vscode"
|
||||||
|
# serviceName: appdaemon-vscode
|
||||||
|
# servicePort: 12321
|
||||||
|
# annotations:
|
||||||
|
# kubernetes.io/ingress.class: "nginx"
|
||||||
|
# hosts:
|
||||||
|
# - host: appdaemon-editor.k8s-at-home.com
|
||||||
|
# paths:
|
||||||
|
# - path: /
|
||||||
|
# pathType: Prefix
|
||||||
|
# tls:
|
||||||
|
# - hosts:
|
||||||
|
# - appdaemon-editor.k8s-at-home.com
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
## 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
|
||||||
|
## Set to true to retain the PVC upon helm uninstall
|
||||||
|
# skipuninstall: false
|
||||||
|
# existingClaim: ""
|
||||||
@@ -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.6.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.1
|
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
|
||||||
@@ -14,10 +14,11 @@
|
|||||||
*.swp
|
*.swp
|
||||||
*.bak
|
*.bak
|
||||||
*.tmp
|
*.tmp
|
||||||
*.orig
|
|
||||||
*~
|
*~
|
||||||
# Various IDEs
|
# Various IDEs
|
||||||
.project
|
.project
|
||||||
.idea/
|
.idea/
|
||||||
*.tmproj
|
*.tmproj
|
||||||
.vscode/
|
.vscode/
|
||||||
|
# OWNERS file for Kubernetes
|
||||||
|
OWNERS
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
type: application
|
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.6.8
|
appVersion: 0.6.9
|
||||||
description: Calibre-Web is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing Calibre database.
|
description: Calibre-Web is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing Calibre database.
|
||||||
name: calibre-web
|
name: calibre-web
|
||||||
version: 2.0.1
|
version: 3.0.0
|
||||||
keywords:
|
keywords:
|
||||||
- calibre
|
- calibre
|
||||||
- ebook
|
- ebook
|
||||||
@@ -15,3 +14,7 @@ sources:
|
|||||||
maintainers:
|
maintainers:
|
||||||
- name: wojoinc
|
- name: wojoinc
|
||||||
email: wojoinc@pm.me
|
email: wojoinc@pm.me
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
version: 1.7.0
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
reviewers:
|
reviewers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
|||||||
@@ -1,14 +1,22 @@
|
|||||||
# calibre-web
|
# Calibre-Web
|
||||||
|
|
||||||
This is a helm chart for [calibre-web](https://github.com/janeczku/calibre-web) utilizing the [Linuxserver.io calibre-web image](https://hub.docker.com/r/linuxserver/calibre-web)
|
This is a helm chart for [Calibre-Web](https://github.com/janeczku/calibre-web).
|
||||||
|
|
||||||
|
**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;
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||||
helm install k8s-at-home/calibre-web
|
$ helm install k8s-at-home/calibre-web
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 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
|
## Installing the Chart
|
||||||
|
|
||||||
To install the chart with the release name `my-release`:
|
To install the chart with the release name `my-release`:
|
||||||
@@ -28,80 +36,50 @@ 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/calibre-web/values.yaml)
|
||||||
The following tables lists the configurable parameters of the `calibre-web` chart and their default values.
|
file. It has several commented out suggested values. Most notably, these include several environment variables used to
|
||||||
|
customize the container.
|
||||||
| Parameter | Description | Default |
|
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.
|
||||||
| --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
|
|
||||||
| `image.repository` | Image repository | `linuxserver/calibre-web` |
|
|
||||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/linuxserver/calibre-web/tags/). | `0.6.8-ls74` |
|
|
||||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
|
||||||
| `dockerMods.ebookConversion.enabled` | Enable optional ebook conversion feature. (x86_64 only) refer [here](https://github.com/linuxserver/docker-calibre-web#application-setup) | `false` |
|
|
||||||
| `dockerMods.ebookConversion.image.repository` | DockerMod image repository | `linuxserver/calibre-web` |
|
|
||||||
| `dockerMods.ebookConversion.image.tag` | DockerMod image tag. These typically start with `v`, with the "stable" tag being `calibre`. Can be found [here](https://hub.docker.com/r/linuxserver/calibre-web/tags/) | `calibre` |
|
|
||||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
|
||||||
| `timezone` | Timezone the calibre-web instance should run as, e.g. 'America/New_York' | `UTC` |
|
|
||||||
| `puid` | process userID the calibre-web instance should run as | `1001` |
|
|
||||||
| `pgid` | process groupID the calibre-web instance should run as | `1001` |
|
|
||||||
| `umask` | Default umask to use when creating new files | `22` |
|
|
||||||
| `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 calibre-web GUI | `ClusterIP` |
|
|
||||||
| `Service.port` | Kubernetes port where the calibre-web GUI is exposed | `8083` |
|
|
||||||
| `Service.annotations` | Service annotations for the calibre-web GUI | `{}` |
|
|
||||||
| `Service.labels` | Custom labels | `{}` |
|
|
||||||
| `Service.loadBalancerIP` | Loadbalance IP for the calibre-web 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.books.enabled` | Use persistent volume to store books data | `true` |
|
|
||||||
| `persistence.books.size` | Size of persistent volume claim | `10Gi` |
|
|
||||||
| `persistence.books.existingClaim` | Use an existing PVC to persist data | `nil` |
|
|
||||||
| `persistence.books.storageClass` | Type of persistent volume claim | `-` |
|
|
||||||
| `persistence.books.accessMode` | Persistence access mode | `ReadWriteOnce` |
|
|
||||||
| `persistence.books.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 --name my-release \
|
helm install calibre-web \
|
||||||
--set timezone="America/New York" \
|
--set env.TZ="America/New_York" \
|
||||||
k8s-at-home/calibre-web
|
k8s-at-home/calibre-web
|
||||||
```
|
```
|
||||||
|
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 stable/calibre-web
|
helm install calibre-web k8s-at-home/calibre-web -f 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/calibre-web/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.
|
||||||
|
|
||||||
|
### Upgrading from 2.x.x to 3.x.x
|
||||||
|
|
||||||
|
Due to migrating to a centralized common library some values in `values.yaml` have changed.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
* `service.port` has been moved to `service.port.port`.
|
||||||
|
* `persistence.type` has been moved to `controllerType`.
|
||||||
|
|
||||||
|
Refer to the library values.yaml for more configuration options.
|
||||||
|
|||||||
2
charts/calibre-web/ci/ct-values.yaml
Normal file
2
charts/calibre-web/ci/ct-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
@@ -1,25 +1 @@
|
|||||||
1. Get the application URL by running these commands:
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
{{- if .Values.ingress.enabled }}
|
|
||||||
{{- range $host := .Values.ingress.hosts }}
|
|
||||||
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host }}{{ $.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 "calibre-web.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 --namespace {{ .Release.Namespace }} svc -w {{ include "calibre-web.fullname" . }}'
|
|
||||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "calibre-web.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
|
||||||
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 "calibre-web.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 --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:{{ .Values.service.port }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{- if .Values.dockerMods.ebookConversion.enabled }}
|
|
||||||
2. DockerMods:
|
|
||||||
You have enabled the EbookConversion Docker Mod using the {{ .Values.dockerMods.ebookConversion.image.repository }}:{{ .Values.dockerMods.ebookConversion.image.tag }} image.
|
|
||||||
Remember to visit https://github.com/linuxserver/docker-calibre-web#application-setup for instructions on configuring this feature in the calibre-web settings.
|
|
||||||
{{- end }}
|
|
||||||
|
|||||||
@@ -1,63 +0,0 @@
|
|||||||
{{/* vim: set filetype=mustache: */}}
|
|
||||||
{{/*
|
|
||||||
Expand the name of the chart.
|
|
||||||
*/}}
|
|
||||||
{{- define "calibre-web.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 "calibre-web.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 "calibre-web.chart" -}}
|
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Common labels
|
|
||||||
*/}}
|
|
||||||
{{- define "calibre-web.labels" -}}
|
|
||||||
helm.sh/chart: {{ include "calibre-web.chart" . }}
|
|
||||||
{{ include "calibre-web.selectorLabels" . }}
|
|
||||||
{{- if .Chart.AppVersion }}
|
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
|
||||||
{{- end }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Selector labels
|
|
||||||
*/}}
|
|
||||||
{{- define "calibre-web.selectorLabels" -}}
|
|
||||||
app.kubernetes.io/name: {{ include "calibre-web.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create the name of the service account to use
|
|
||||||
*/}}
|
|
||||||
{{- define "calibre-web.serviceAccountName" -}}
|
|
||||||
{{- if .Values.serviceAccount.create }}
|
|
||||||
{{- default (include "calibre-web.fullname" .) .Values.serviceAccount.name }}
|
|
||||||
{{- else }}
|
|
||||||
{{- default "default" .Values.serviceAccount.name }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
|
|
||||||
{{- if and .Values.persistence.books.enabled (not .Values.persistence.books.existingClaim) }}
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: {{ template "calibre-web.fullname" . }}-books
|
|
||||||
{{- if .Values.persistence.books.skipuninstall }}
|
|
||||||
annotations:
|
|
||||||
"helm.sh/resource-policy": keep
|
|
||||||
{{- end }}
|
|
||||||
labels: {{ include "calibre-web.labels" . | nindent 4}}
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- {{ .Values.persistence.books.accessMode | quote }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.persistence.books.size | quote }}
|
|
||||||
{{- if .Values.persistence.books.storageClass }}
|
|
||||||
{{- if (eq "-" .Values.persistence.books.storageClass) }}
|
|
||||||
storageClassName: ""
|
|
||||||
{{- else }}
|
|
||||||
storageClassName: "{{ .Values.persistence.books.storageClass }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end -}}
|
|
||||||
1
charts/calibre-web/templates/common.yaml
Normal file
1
charts/calibre-web/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
|
|
||||||
{{- if and .Values.persistence.config.enabled (not .Values.persistence.config.existingClaim) }}
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: {{ template "calibre-web.fullname" . }}-config
|
|
||||||
{{- if .Values.persistence.config.skipuninstall }}
|
|
||||||
annotations:
|
|
||||||
"helm.sh/resource-policy": keep
|
|
||||||
{{- end }}
|
|
||||||
labels: {{ include "calibre-web.labels" . | nindent 4 }}
|
|
||||||
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,112 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: {{ include "calibre-web.fullname" . }}
|
|
||||||
{{- if .Values.deploymentAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{- range $key, $value := .Values.deploymentAnnotations }}
|
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
labels: {{ include "calibre-web.labels" . | nindent 4 }}
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
revisionHistoryLimit: 3
|
|
||||||
strategy:
|
|
||||||
type: {{ .Values.strategyType }}
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: {{ include "calibre-web.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "calibre-web.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: 8083
|
|
||||||
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 }}"
|
|
||||||
- name: UMASK
|
|
||||||
value: "{{ .Values.umask }}"
|
|
||||||
{{- if eq .Values.dockerMods.ebookConversion.enabled true }}
|
|
||||||
- name: DOCKER_MODS
|
|
||||||
value: "{{ .Values.dockerMods.ebookConversion.image.repository }}:{{ .Values.dockerMods.ebookConversion.image.tag }}"
|
|
||||||
{{- end }}
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /config
|
|
||||||
name: config
|
|
||||||
- mountPath: /books
|
|
||||||
name: books
|
|
||||||
{{- if .Values.persistence.books.subPath }}
|
|
||||||
subPath: {{ .Values.persistence.books.subPath }}
|
|
||||||
{{- end }}
|
|
||||||
{{- 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 "calibre-web.fullname" . }}-config{{- end }}
|
|
||||||
{{- else }}
|
|
||||||
emptyDir: {}
|
|
||||||
{{- end }}
|
|
||||||
- name: books
|
|
||||||
{{- if .Values.persistence.books.enabled }}
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: {{ if .Values.persistence.books.existingClaim }}{{ .Values.persistence.books.existingClaim }}{{- else }}{{ template "calibre-web.fullname" . }}-books{{- 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,34 +0,0 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
|
||||||
{{- $fullName := include "calibre-web.fullname" . -}}
|
|
||||||
{{- $ingressPath := .Values.ingress.path -}}
|
|
||||||
apiVersion: extensions/v1beta1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: {{ $fullName }}
|
|
||||||
labels: {{ include "calibre-web.labels" . | nindent 4 }}
|
|
||||||
{{- 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,48 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: {{ template "calibre-web.fullname" . }}
|
|
||||||
labels: {{ include "calibre-web.labels" . | nindent 4 }}
|
|
||||||
{{- 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 "calibre-web.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: "{{ include "calibre-web.fullname" . }}-test-connection"
|
|
||||||
labels:
|
|
||||||
{{- include "calibre-web.labels" . | nindent 4 }}
|
|
||||||
annotations:
|
|
||||||
"helm.sh/hook": test-success
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: wget
|
|
||||||
image: busybox
|
|
||||||
command: ['wget']
|
|
||||||
args: ['{{ include "calibre-web.fullname" . }}:{{ .Values.service.port }}']
|
|
||||||
restartPolicy: Never
|
|
||||||
@@ -1,136 +1,41 @@
|
|||||||
# Default values for calibre-web.
|
# Default values for Calibre-Web.
|
||||||
# This is a YAML-formatted file.
|
|
||||||
# Declare variables to be passed into your templates.
|
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: linuxserver/calibre-web
|
repository: linuxserver/calibre-web
|
||||||
tag: 0.6.8-ls74
|
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
tag: version-0.6.9
|
||||||
|
|
||||||
# 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: ""
|
|
||||||
|
|
||||||
# Linuxserver.io additional layers.
|
|
||||||
# Enables additional features for the image, at the cost of increased size and
|
|
||||||
# possible incompatabilities with certain architectures. Disabled by default.
|
|
||||||
dockerMods:
|
|
||||||
# Enable ebook conversion. Compatible with x86_64 image only.
|
|
||||||
# To enable, set enabled to true, and follow the guide at: https://github.com/linuxserver/docker-calibre-web#application-setup
|
|
||||||
# to configure the application.
|
|
||||||
ebookConversion:
|
|
||||||
enabled: false
|
|
||||||
image:
|
|
||||||
repository: linuxserver/calibre-web
|
|
||||||
# To use a different tag for the DockerMod, specify the tag below
|
|
||||||
tag: calibre
|
|
||||||
|
|
||||||
timezone: UTC
|
|
||||||
puid: 1001
|
|
||||||
pgid: 1001
|
|
||||||
umask: 22
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
port:
|
||||||
port: 8083
|
port: 8083
|
||||||
## 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"
|
# UMASK:
|
||||||
path: /
|
# DOCKER_MODS:
|
||||||
hosts:
|
|
||||||
- chart-example.local
|
|
||||||
tls: []
|
|
||||||
# - secretName: chart-example-tls
|
|
||||||
# hosts:
|
|
||||||
# - chart-example.local
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: false
|
||||||
## calibre-web configuration data Persistent Volume Storage Class
|
emptyDir: false
|
||||||
|
|
||||||
|
books:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
## Persistent Volume Storage Class
|
||||||
## If defined, storageClassName: <storageClass>
|
## If defined, storageClassName: <storageClass>
|
||||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||||
## If undefined (the default) or set to null, no storageClassName spec is
|
## If undefined (the default) or set to null, no storageClassName spec is
|
||||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||||
## GKE, AWS & OpenStack)
|
## GKE, AWS & OpenStack)
|
||||||
##
|
|
||||||
# storageClass: "-"
|
# storageClass: "-"
|
||||||
##
|
# accessMode: ReadWriteOnce
|
||||||
## If you want to reuse an existing claim, you can pass the name of the PVC using
|
# size: 1Gi
|
||||||
## the existingClaim variable
|
## Set to true to retain the PVC upon helm uninstall
|
||||||
# existingClaim: your-claim
|
# skipuninstall: false
|
||||||
accessMode: ReadWriteOnce
|
# existingClaim: ""
|
||||||
size: 1Gi
|
|
||||||
## Do not delete the pvc upon helm uninstall
|
|
||||||
skipuninstall: false
|
|
||||||
books:
|
|
||||||
enabled: true
|
|
||||||
# storageClass: "-"
|
|
||||||
# existingClaim: your-claim
|
|
||||||
# subPath: some-subpath
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
size: 10Gi
|
|
||||||
## Do not delete the pvc upon helm uninstall
|
|
||||||
skipuninstall: false
|
|
||||||
extraExistingClaimMounts: []
|
|
||||||
# - name: external-mount
|
|
||||||
# mountPath: /srv/external-mount
|
|
||||||
## A manually managed Persistent Volume and Claim
|
|
||||||
## If defined, PVC must be created manually before volume will be bound
|
|
||||||
# existingClaim:
|
|
||||||
# readOnly: true
|
|
||||||
|
|
||||||
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: {}
|
|
||||||
|
|||||||
@@ -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.1
|
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: {}
|
||||||
|
|
||||||
@@ -29,7 +32,7 @@ env: {}
|
|||||||
# When using hostNetwork make sure you set dnsPolicy to ClusterFirstWithHostNet
|
# When using hostNetwork make sure you set dnsPolicy to ClusterFirstWithHostNet
|
||||||
hostNetwork: false
|
hostNetwork: false
|
||||||
|
|
||||||
dnsPolicy: Default
|
dnsPolicy: ClusterFirst
|
||||||
|
|
||||||
initContainers: []
|
initContainers: []
|
||||||
|
|
||||||
|
|||||||
@@ -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.1.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.1
|
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,9 +4,13 @@ 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: 1.0.0
|
version: 2.2.0
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/rmountjoy92/DashMachine
|
- https://github.com/rmountjoy92/DashMachine
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: carpenike
|
- name: carpenike
|
||||||
email: ryan@ryanholt.net
|
email: ryan@ryanholt.net
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
version: 1.7.0
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
|||||||
4
charts/dashmachine/OWNERS
Normal file
4
charts/dashmachine/OWNERS
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
approvers:
|
||||||
|
- carpenike
|
||||||
|
reviewers:
|
||||||
|
- carpenike
|
||||||
@@ -1,31 +1,69 @@
|
|||||||
dashmachine
|
# Dashmachine
|
||||||
===========
|
|
||||||
DashMachine is another web application bookmark dashboard, with fun features.
|
|
||||||
|
|
||||||
## Chart Values
|
This is a helm chart for [DashMachine](https://github.com/rmountjoy92/DashMachine).
|
||||||
|
|
||||||
| Key | Type | Default | Description |
|
**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)**
|
||||||
|-----|------|---------|-------------|
|
|
||||||
| affinity | object | `{}` | |
|
## TL;DR;
|
||||||
| deploymentAnnotations | object | `{}` | |
|
|
||||||
| fullnameOverride | string | `""` | |
|
```shell
|
||||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||||
| image.repository | string | `"rmountjoy/dashmachine"` | |
|
$ helm install k8s-at-home/dashmachine
|
||||||
| image.tag | string | `"latest"` | |
|
```
|
||||||
| ingress.annotations | object | `{}` | |
|
|
||||||
| ingress.enabled | bool | `false` | |
|
## Installing the Chart
|
||||||
| ingress.hosts[0] | string | `"chart-example.local"` | |
|
|
||||||
| ingress.paths[0] | string | `"/"` | |
|
To install the chart with the release name `my-release`:
|
||||||
| ingress.tls | list | `[]` | |
|
|
||||||
| nameOverride | string | `""` | |
|
```console
|
||||||
| nodeSelector | object | `{}` | |
|
helm install --name my-release k8s-at-home/dashmachine
|
||||||
| persistence.accessModes[0] | string | `"ReadWriteOnce"` | |
|
```
|
||||||
| persistence.enabled | bool | `false` | |
|
|
||||||
| persistence.size | string | `"1Gi"` | |
|
## Uninstalling the Chart
|
||||||
| persistence.storageClassName | string | `""` | |
|
|
||||||
| podAnnotations | object | `{}` | |
|
To uninstall/delete the `my-release` deployment:
|
||||||
| replicaCount | int | `1` | |
|
|
||||||
| resources | object | `{}` | |
|
```console
|
||||||
| service.port | int | `5000` | |
|
helm delete my-release --purge
|
||||||
| service.type | string | `"ClusterIP"` | |
|
```
|
||||||
| tolerations | list | `[]` | |
|
|
||||||
|
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/dashmachine/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 dashmachine \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/dashmachine
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
|
chart. For example,
|
||||||
|
```console
|
||||||
|
helm install dashmachine k8s-at-home/dashmachine --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.
|
||||||
|
|
||||||
|
Refer to the library values.yaml for more configuration options.
|
||||||
|
|||||||
2
charts/dashmachine/ci/ct-values.yaml
Normal file
2
charts/dashmachine/ci/ct-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
1. Get the application URL by running these commands:
|
|
||||||
{{- if .Values.ingress.enabled }}
|
|
||||||
{{- range $host := .Values.ingress.hosts }}
|
|
||||||
{{- range $.Values.ingress.paths }}
|
|
||||||
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host }}{{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- else if contains "NodePort" .Values.service.type }}
|
|
||||||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "dashmachine.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 "dashmachine.fullname" . }}'
|
|
||||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "dashmachine.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 "dashmachine.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 "dashmachine.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 "dashmachine.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 "dashmachine.chart" -}}
|
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
|
||||||
{{- end -}}
|
|
||||||
1
charts/dashmachine/templates/common.yaml
Normal file
1
charts/dashmachine/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: {{ include "dashmachine.fullname" . }}
|
|
||||||
{{- if .Values.deploymentAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{- range $key, $value := .Values.deploymentAnnotations }}
|
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "dashmachine.name" . }}
|
|
||||||
helm.sh/chart: {{ include "dashmachine.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
spec:
|
|
||||||
replicas: {{ .Values.replicaCount }}
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: {{ include "dashmachine.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "dashmachine.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
{{- if .Values.podAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{- range $key, $value := .Values.podAnnotations }}
|
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
{{- if .Values.dnsConfig }}
|
|
||||||
dnsConfig:
|
|
||||||
{{- toYaml .Values.dnsConfig | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
containers:
|
|
||||||
- name: {{ .Chart.Name }}
|
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
containerPort: 5000
|
|
||||||
protocol: TCP
|
|
||||||
# livenessProbe:
|
|
||||||
# httpGet:
|
|
||||||
# path: /notifications
|
|
||||||
# port: http
|
|
||||||
# readinessProbe:
|
|
||||||
# httpGet:
|
|
||||||
# path: /notifications
|
|
||||||
# port: http
|
|
||||||
resources:
|
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
|
||||||
volumeMounts:
|
|
||||||
- name: config
|
|
||||||
mountPath: /dashmachine/dashmachine/user_data
|
|
||||||
volumes:
|
|
||||||
- name: config
|
|
||||||
{{- if .Values.persistence.enabled }}
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: {{ template "dashmachine.fullname" . }}
|
|
||||||
{{- else }}
|
|
||||||
emptyDir: {}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.nodeSelector }}
|
|
||||||
nodeSelector:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.affinity }}
|
|
||||||
affinity:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.tolerations }}
|
|
||||||
tolerations:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
|
||||||
{{- $fullName := include "dashmachine.fullname" . -}}
|
|
||||||
{{- $ingressPaths := .Values.ingress.paths -}}
|
|
||||||
apiVersion: extensions/v1beta1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: {{ $fullName }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "dashmachine.name" . }}
|
|
||||||
helm.sh/chart: {{ include "dashmachine.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- with .Values.ingress.annotations }}
|
|
||||||
annotations:
|
|
||||||
{{- toYaml . | nindent 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:
|
|
||||||
{{- range $ingressPaths }}
|
|
||||||
- path: {{ . }}
|
|
||||||
backend:
|
|
||||||
serviceName: {{ $fullName }}
|
|
||||||
servicePort: http
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: {{ template "dashmachine.fullname" . }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "dashmachine.name" . }}
|
|
||||||
helm.sh/chart: {{ include "dashmachine.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- with .Values.persistence.annotations }}
|
|
||||||
annotations:
|
|
||||||
{{ toYaml . | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
{{- range .Values.persistence.accessModes }}
|
|
||||||
- {{ . | quote }}
|
|
||||||
{{- end }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.persistence.size | quote }}
|
|
||||||
storageClassName: {{ .Values.persistence.storageClass }}
|
|
||||||
{{- end -}}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: {{ include "dashmachine.fullname" . }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "dashmachine.name" . }}
|
|
||||||
helm.sh/chart: {{ include "dashmachine.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
spec:
|
|
||||||
type: {{ .Values.service.type }}
|
|
||||||
ports:
|
|
||||||
- port: {{ .Values.service.port }}
|
|
||||||
targetPort: http
|
|
||||||
protocol: TCP
|
|
||||||
name: http
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/name: {{ include "dashmachine.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: "{{ include "dashmachine.fullname" . }}-test-connection"
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "dashmachine.name" . }}
|
|
||||||
helm.sh/chart: {{ include "dashmachine.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
annotations:
|
|
||||||
"helm.sh/hook": test-success
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: wget
|
|
||||||
image: busybox
|
|
||||||
command: ['wget']
|
|
||||||
args: ['{{ include "dashmachine.fullname" . }}:{{ .Values.service.port }}']
|
|
||||||
restartPolicy: Never
|
|
||||||
@@ -1,65 +1,22 @@
|
|||||||
# Default values for dashmachine.
|
# Default values for dashmachine.
|
||||||
# This is a YAML-formatted file.
|
|
||||||
# Declare variables to be passed into your templates.
|
|
||||||
|
|
||||||
replicaCount: 1
|
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: rmountjoy/dashmachine
|
repository: rmountjoy/dashmachine
|
||||||
tag: v0.5-4
|
tag: v0.5-4
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
nameOverride: ""
|
strategy:
|
||||||
fullnameOverride: ""
|
type: Recreate
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
port:
|
||||||
port: 5000
|
port: 5000
|
||||||
|
|
||||||
ingress:
|
env: {}
|
||||||
enabled: false
|
# TZ: UTC
|
||||||
annotations: {}
|
|
||||||
# kubernetes.io/ingress.class: nginx
|
|
||||||
# kubernetes.io/tls-acme: "true"
|
|
||||||
paths: ["/"]
|
|
||||||
hosts:
|
|
||||||
- chart-example.local
|
|
||||||
tls: []
|
|
||||||
# - secretName: chart-example-tls
|
|
||||||
# hosts:
|
|
||||||
# - chart-example.local
|
|
||||||
|
|
||||||
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: {}
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
config:
|
||||||
## If defined, storageClassName: <storageClass>
|
enabled: false
|
||||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
emptyDir: false
|
||||||
## If undefined (the default) or set to null, no storageClassName spec is
|
mountPath: /dashmachine/dashmachine/user_data
|
||||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
||||||
## GKE, AWS & OpenStack)
|
|
||||||
##
|
|
||||||
storageClass: ""
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
size: 1Gi
|
|
||||||
|
|
||||||
podAnnotations: {}
|
|
||||||
|
|
||||||
deploymentAnnotations: {}
|
|
||||||
|
|||||||
@@ -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.1.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.1
|
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,14 +1,19 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 1.15.3
|
appVersion: 1.15.3
|
||||||
description: ESPHome
|
description: ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
|
||||||
name: esphome
|
name: esphome
|
||||||
version: 2.3.0
|
version: 3.0.0
|
||||||
keywords:
|
keywords:
|
||||||
- esphome
|
- esphome
|
||||||
|
- home-automation
|
||||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/esphome
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/esphome
|
||||||
icon: https://esphome.io/_images/logo-text.svg
|
icon: https://esphome.io/_images/logo-text.svg
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/esphome/esphome
|
- https://github.com/esphome/esphome
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: billimek
|
- name: billimek
|
||||||
email: jeff@billimek.com
|
email: jeff@billimek.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
version: 1.7.0
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
reviewers:
|
reviewers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
|||||||
@@ -1,120 +1,78 @@
|
|||||||
# ESPHome
|
# esphome
|
||||||
|
|
||||||
This is a helm chart for [ESPHome](https://esphome.io)
|
This is a helm chart for [esphome](https://github.com/esphome/esphome).
|
||||||
|
|
||||||
|
**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;
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||||
helm install k8s-at-home/esphome
|
$ helm install k8s-at-home/esphome
|
||||||
```
|
```
|
||||||
|
|
||||||
## Introduction
|
|
||||||
|
|
||||||
This code is adapted for [the official esphome docker image](https://hub.docker.com/r/esphome/esphome/)
|
|
||||||
|
|
||||||
## Installing the Chart
|
## Installing the Chart
|
||||||
|
|
||||||
To install the chart with the release name `my-release`:
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
```shell
|
```console
|
||||||
helm install --name my-release k8s-at-home/esphome
|
helm install --name my-release k8s-at-home/esphome
|
||||||
```
|
```
|
||||||
|
|
||||||
## Uninstalling the Chart
|
## Uninstalling the Chart
|
||||||
|
|
||||||
To uninstall/delete the `my-release` deployment:
|
To uninstall/delete the `my-release` deployment:
|
||||||
|
|
||||||
```shell
|
```console
|
||||||
helm delete my-release --purge
|
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/esphome/values.yaml)
|
||||||
The following tables lists the configurable parameters of the ESPHome 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 | `esphome/esphome` |
|
|
||||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/esphome/esphome/tags/). | `0.14.5` |
|
|
||||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
|
||||||
| `image.pullSecrets` | Secrets to use when pulling the image | `[]` |
|
|
||||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
|
||||||
| `probes.liveness.enabled` | Use the livenessProbe? | `true` |
|
|
||||||
| `probes.liveness.scheme ` | Specify liveness `scheme` parameter for the deployment | `HTTP` |
|
|
||||||
| `probes.liveness.initialDelaySeconds` | Specify liveness `initialDelaySeconds` parameter for the deployment | `60` |
|
|
||||||
| `probes.liveness.failureThreshold` | Specify liveness `failureThreshold` parameter for the deployment | `5` |
|
|
||||||
| `probes.liveness.timeoutSeconds` | Specify liveness `timeoutSeconds` parameter for the deployment | `10` |
|
|
||||||
| `probes.readiness.enabled` | Use the readinessProbe? | `true` |
|
|
||||||
| `probes.readiness.scheme ` | Specify readiness `scheme` parameter for the deployment | `HTTP` |
|
|
||||||
| `probes.readiness.initialDelaySeconds` | Specify readiness `initialDelaySeconds` parameter for the deployment | `60` |
|
|
||||||
| `probes.readiness.failureThreshold` | Specify readiness `failureThreshold` parameter for the deployment | `5` |
|
|
||||||
| `probes.readiness.timeoutSeconds` | Specify readiness `timeoutSeconds` parameter for the deployment | `10` |
|
|
||||||
| `probes.startup.enabled` | Use the startupProbe? (new in kubernetes 1.16) | `false` |
|
|
||||||
| `probes.startup.scheme ` | Specify startup `scheme` parameter for the deployment | `HTTP` |
|
|
||||||
| `probes.startup.failureThreshold` | Specify startup `failureThreshold` parameter for the deployment | `5` |
|
|
||||||
| `probes.startup.periodSeconds` | Specify startup `periodSeconds` parameter for the deployment | `10` |
|
|
||||||
| `service.type` | Kubernetes service type for the esphome GUI | `ClusterIP` |
|
|
||||||
| `service.port` | Kubernetes port where the esphome GUI is exposed | `6052` |
|
|
||||||
| `service.portName` | Kubernetes port name where the esphome GUI is exposed | `api` |
|
|
||||||
| `service.additionalPorts` | Add additional ports exposed by the esphome container integrations. Example homematic needs to expose a proxy port | `{}` |
|
|
||||||
| `service.annotations` | Service annotations for the esphome GUI | `{}` |
|
|
||||||
| `service.clusterIP` | Cluster IP for the esphom GUI | `` |
|
|
||||||
| `service.externalIPs` | External IPs for the esphome GUI | `[]` |
|
|
||||||
| `service.loadBalancerIP` | Loadbalancer IP for the esphome GUI | `` |
|
|
||||||
| `service.loadBalancerSourceRanges` | Loadbalancer client IP restriction range for the esphome GUI | `[]` |
|
|
||||||
| `service.publishNotReadyAddresses` | Set to true if the notReadyAddresses should be published | `false` |
|
|
||||||
| `service.externalTrafficPolicy` | Loadbalancer externalTrafficPolicy | `` |
|
|
||||||
| `hostNetwork` | Enable hostNetwork - might be needed for discovery to work | `false` |
|
|
||||||
| `service.nodePort` | nodePort to listen on for the esphome GUI | `` |
|
|
||||||
| `ingress.enabled` | Enables Ingress | `false` |
|
|
||||||
| `ingress.annotations` | Ingress annotations | `{}` |
|
|
||||||
| `ingress.path` | Ingress path | `/` |
|
|
||||||
| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` |
|
|
||||||
| `ingress.tls` | Ingress TLS configuration | `[]` |
|
|
||||||
| `persistence.enabled` | Use persistent volume to store data | `true` |
|
|
||||||
| `persistence.size` | Size of persistent volume claim | `5Gi` |
|
|
||||||
| `persistence.existingClaim` | Use an existing PVC to persist data | `nil` |
|
|
||||||
| `persistence.hostPath` | The path to the config directory on the host, instead of a PVC | `nil` |
|
|
||||||
| `persistence.storageClass` | Type of persistent volume claim | `-` |
|
|
||||||
| `persistence.accessMode` | Persistence access modes | `ReadWriteMany` |
|
|
||||||
| `git.enabled` | Use git-sync in init container | `false` |
|
|
||||||
| `git.secret` | Git secret to use for git-sync | `git-creds` |
|
|
||||||
| `git.syncPath` | Git sync path | `/config` |
|
|
||||||
| `git.keyPath` | Git ssh key path | `/root/.ssh` |
|
|
||||||
| `git.user.name` | Human-readable name in the “committer” and “author” fields | `` |
|
|
||||||
| `git.user.email` | Email address for the “committer” and “author” fields | `` |
|
|
||||||
| `hostMounts` | Array of host directories to mount; can be used for devices | [] |
|
|
||||||
| `hostMounts.name` | Name of the volume | `nil` |
|
|
||||||
| `hostMounts.hostPath` | The path on the host machine | `nil` |
|
|
||||||
| `hostMounts.mountPath` | The path at which to mount (optional; assumed same as hostPath) | `nil` |
|
|
||||||
| `hostMounts.type` | The type to mount (optional, i.e., `Directory`) | `nil` |
|
|
||||||
| `extraEnv` | Extra ENV vars to pass to the esphome container | `{}` |
|
|
||||||
| `extraEnvSecrets` | Extra env vars to pass to the esphome container from k8s secrets - see `values.yaml` for an example | `{}` |
|
|
||||||
| `resources` | CPU/Memory resource requests/limits or the esphome GUI | `{}` |
|
|
||||||
| `nodeSelector` | Node labels for pod assignment or the esphome GUI | `{}` |
|
|
||||||
| `tolerations` | Toleration labels for pod assignment or the esphome GUI | `[]` |
|
|
||||||
| `affinity` | Affinity settings for pod assignment or the esphome GUI | `{}` |
|
|
||||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
|
||||||
| `extraVolumes` | Any extra volumes to define for the pod | `{}` |
|
|
||||||
| `extraVolumeMounts` | Any extra volumes mounts to define for each container of the pod | `{}` |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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
|
||||||
```shell
|
helm install esphome \
|
||||||
helm install --name my-release \
|
--set env.TZ="America/New_York" \
|
||||||
--set image.tag=latest \
|
|
||||||
k8s-at-home/esphome
|
k8s-at-home/esphome
|
||||||
```
|
```
|
||||||
|
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
|
||||||
```shell
|
helm install esphome k8s-at-home/esphome --values values.yaml
|
||||||
helm install --name my-release -f values.yaml k8s-at-home/esphome
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Read through the [values.yaml](values.yaml) file. It has several commented out suggested values.
|
```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.
|
||||||
|
|
||||||
|
### Upgrading from 2.x.x to 3.x.x
|
||||||
|
|
||||||
|
Due to migrating to a centralized common library some values in `values.yaml` have changed.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
* `service.port` has been moved to `service.port.port`.
|
||||||
|
* `persistence.type` has been moved to `controllerType`.
|
||||||
|
|
||||||
|
Refer to the library values.yaml for more configuration options.
|
||||||
|
|||||||
4
charts/esphome/ci/ct-values.yaml
Normal file
4
charts/esphome/ci/ct-values.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
env:
|
||||||
|
ESPHOME_DASHBOARD_USE_PING: true
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
@@ -1,19 +1 @@
|
|||||||
1. Get the application URL by running these commands:
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
{{- 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 {{ template "esphome.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 {{ template "esphome.fullname" . }}'
|
|
||||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "esphome.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={{ template "esphome.name" . }},release={{ .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 "esphome.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 "esphome.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 "esphome.chart" -}}
|
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
|
||||||
{{- end -}}
|
|
||||||
1
charts/esphome/templates/common.yaml
Normal file
1
charts/esphome/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
@@ -1,216 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: {{ template "esphome.fullname" . }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "esphome.name" . }}
|
|
||||||
helm.sh/chart: {{ include "esphome.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
strategy:
|
|
||||||
type: {{ .Values.strategyType }}
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: {{ include "esphome.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "esphome.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
{{- if .Values.podAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{- range $key, $value := .Values.podAnnotations }}
|
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
{{- with .Values.image.pullSecrets }}
|
|
||||||
imagePullSecrets:
|
|
||||||
{{- range . }}
|
|
||||||
- name: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.hostNetwork }}
|
|
||||||
hostNetwork: {{ .Values.hostNetwork }}
|
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
|
||||||
{{- end }}
|
|
||||||
initContainers:
|
|
||||||
{{- if .Values.git.enabled }}
|
|
||||||
- name: git-sync
|
|
||||||
image: "{{ .Values.git.image.repository }}:{{ .Values.git.image.tag }}"
|
|
||||||
imagePullPolicy: {{ .Values.git.image.pullPolicy }}
|
|
||||||
{{- if .Values.git.command }}
|
|
||||||
command:
|
|
||||||
{{- range .Values.git.command }}
|
|
||||||
- {{ . | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- else }}
|
|
||||||
command: ["/bin/sh", "-c"]
|
|
||||||
args:
|
|
||||||
- set -e;
|
|
||||||
if [ -d "{{ .Values.git.syncPath }}/.git" ];
|
|
||||||
then
|
|
||||||
git -C "{{ .Values.git.syncPath }}" pull || true;
|
|
||||||
else
|
|
||||||
if [ "$(ls -A {{ .Values.git.syncPath }})" ];
|
|
||||||
then
|
|
||||||
git clone --depth 2 "{{ .Values.git.repo }}" /tmp/repo;
|
|
||||||
cp -rf /tmp/repo/.git "{{ .Values.git.syncPath }}";
|
|
||||||
cd "{{ .Values.git.syncPath }}";
|
|
||||||
git checkout -f;
|
|
||||||
else
|
|
||||||
git clone --depth 2 "{{ .Values.git.repo }}" "{{ .Values.git.syncPath }}";
|
|
||||||
fi;
|
|
||||||
fi;
|
|
||||||
if [ -f "{{ .Values.git.keyPath }}/git-crypt-key" ];
|
|
||||||
then
|
|
||||||
cd {{ .Values.git.syncPath }};
|
|
||||||
git-crypt unlock "{{ .Values.git.keyPath }}/git-crypt-key";
|
|
||||||
fi;
|
|
||||||
{{- end }}
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /config
|
|
||||||
name: config
|
|
||||||
- mountPath: {{ .Values.git.keyPath }}
|
|
||||||
name: git-secret
|
|
||||||
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 8 }}{{ end }}
|
|
||||||
{{- if .Values.usePodSecurityContext }}
|
|
||||||
securityContext:
|
|
||||||
runAsUser: {{ default 0 .Values.runAsUser }}
|
|
||||||
{{- if and (.Values.runAsUser) (.Values.fsGroup) }}
|
|
||||||
{{- if not (eq .Values.runAsUser 0.0) }}
|
|
||||||
fsGroup: {{ .Values.fsGroup }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
containers:
|
|
||||||
- name: {{ .Chart.Name }}
|
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
||||||
ports:
|
|
||||||
- name: api
|
|
||||||
containerPort: {{ .Values.service.port }}
|
|
||||||
protocol: TCP
|
|
||||||
{{- range .Values.service.additionalPorts }}
|
|
||||||
- name: {{ .name }}
|
|
||||||
containerPort: {{ .targetPort }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.probes.liveness.enabled }}
|
|
||||||
livenessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /ping
|
|
||||||
port: api
|
|
||||||
scheme: {{ .Values.probes.liveness.scheme }}
|
|
||||||
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
|
|
||||||
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
|
|
||||||
timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.probes.readiness.enabled }}
|
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /ping
|
|
||||||
port: api
|
|
||||||
scheme: {{ .Values.probes.readiness.scheme }}
|
|
||||||
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
|
|
||||||
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
|
|
||||||
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.probes.startup.enabled }}
|
|
||||||
startupProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /ping
|
|
||||||
port: api
|
|
||||||
scheme: {{ .Values.probes.startup.scheme }}
|
|
||||||
failureThreshold: {{ .Values.probes.startup.failureThreshold }}
|
|
||||||
periodSeconds: {{ .Values.probes.startup.periodSeconds }}
|
|
||||||
{{- end }}
|
|
||||||
env:
|
|
||||||
{{- range $key, $value := .Values.extraEnv }}
|
|
||||||
- name: {{ $key | quote }}
|
|
||||||
value: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- range $name, $opts := .Values.extraEnvSecrets }}
|
|
||||||
- name: {{ $name }}
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: {{ $opts.secret }}
|
|
||||||
key: {{ $opts.key }}
|
|
||||||
{{- end }}
|
|
||||||
envFrom:
|
|
||||||
{{- range .Values.extraSecretForEnvFrom }}
|
|
||||||
- secretRef:
|
|
||||||
name: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /config
|
|
||||||
name: config
|
|
||||||
{{- range .Values.hostMounts }}
|
|
||||||
{{- if .mountPath }}
|
|
||||||
- mountPath: {{ .mountPath }}
|
|
||||||
{{- else }}
|
|
||||||
- mountPath: {{ .hostPath }}
|
|
||||||
{{- end }}
|
|
||||||
name: {{ .name }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 10 }}{{ end }}
|
|
||||||
{{- if .Values.usePodSecurityContext }}
|
|
||||||
securityContext:
|
|
||||||
runAsUser: {{ default 0 .Values.runAsUser }}
|
|
||||||
{{- if and (.Values.runAsUser) (.Values.fsGroup) }}
|
|
||||||
{{- if not (eq .Values.runAsUser 0.0) }}
|
|
||||||
fsGroup: {{ .Values.fsGroup }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
resources:
|
|
||||||
{{ toYaml .Values.resources | indent 12 }}
|
|
||||||
{{- if .Values.hostMounts }}
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
{{- end }}
|
|
||||||
volumes:
|
|
||||||
- name: config
|
|
||||||
{{- if .Values.persistence.enabled }}
|
|
||||||
{{- if .Values.persistence.hostPath }}
|
|
||||||
hostPath:
|
|
||||||
path: {{.Values.persistence.hostPath}}
|
|
||||||
type: Directory
|
|
||||||
{{- else }}
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "esphome.fullname" . }}{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- else }}
|
|
||||||
emptyDir: {}
|
|
||||||
{{ end }}
|
|
||||||
{{- range .Values.hostMounts }}
|
|
||||||
- name: {{ .name }}
|
|
||||||
hostPath:
|
|
||||||
path: {{.hostPath}}
|
|
||||||
{{- if .type }}
|
|
||||||
type: {{ .type }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.git.enabled }}
|
|
||||||
- name: git-secret
|
|
||||||
secret:
|
|
||||||
defaultMode: 256
|
|
||||||
secretName: {{ .Values.git.secret }}
|
|
||||||
optional: true
|
|
||||||
{{ end }}
|
|
||||||
{{- if .Values.extraVolumes }}{{ toYaml .Values.extraVolumes | trim | nindent 6 }}{{ end }}
|
|
||||||
{{- with .Values.nodeSelector }}
|
|
||||||
nodeSelector:
|
|
||||||
{{ toYaml . | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.affinity }}
|
|
||||||
affinity:
|
|
||||||
{{ toYaml . | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.tolerations }}
|
|
||||||
tolerations:
|
|
||||||
{{ toYaml . | indent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
|
||||||
{{- $fullName := include "esphome.fullname" . -}}
|
|
||||||
{{- $servicePort := .Values.service.port -}}
|
|
||||||
{{- $ingressPath := .Values.ingress.path -}}
|
|
||||||
apiVersion: extensions/v1beta1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: {{ $fullName }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "esphome.name" . }}
|
|
||||||
helm.sh/chart: {{ include "esphome.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
{{- 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: {{ . }}
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: {{ $ingressPath }}
|
|
||||||
backend:
|
|
||||||
serviceName: {{ $fullName }}
|
|
||||||
servicePort: {{ $servicePort }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
{{- if .Values.persistence.enabled -}}
|
|
||||||
{{- if not .Values.persistence.existingClaim -}}
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: {{ template "esphome.fullname" . }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "esphome.name" . }}
|
|
||||||
helm.sh/chart: {{ include "esphome.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- {{ .Values.persistence.accessMode | quote }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.persistence.size | quote }}
|
|
||||||
{{- if .Values.persistence.storageClass }}
|
|
||||||
{{- if (eq "-" .Values.persistence.storageClass) }}
|
|
||||||
storageClassName: ""
|
|
||||||
{{- else }}
|
|
||||||
storageClassName: "{{ .Values.persistence.storageClass }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: {{ template "esphome.fullname" . }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: {{ include "esphome.name" . }}
|
|
||||||
helm.sh/chart: {{ include "esphome.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.externalTrafficPolicy }}
|
|
||||||
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
|
|
||||||
{{- 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 }}
|
|
||||||
publishNotReadyAddresses: {{ .Values.service.publishNotReadyAddresses }}
|
|
||||||
ports:
|
|
||||||
- name: {{ .Values.service.portName }}
|
|
||||||
port: {{ .Values.service.port }}
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 6052
|
|
||||||
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
|
|
||||||
nodePort: {{.Values.service.nodePort}}
|
|
||||||
{{ end }}
|
|
||||||
{{- if .Values.service.additionalPorts }}
|
|
||||||
{{- .Values.service.additionalPorts | toYaml | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/name: {{ include "esphome.name" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
@@ -1,176 +1,39 @@
|
|||||||
# Default values for esphome.
|
# Default values for Bazarr.
|
||||||
# This is a YAML-formatted file.
|
|
||||||
# Declare variables to be passed into your templates.
|
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: esphome/esphome
|
repository: esphome/esphome
|
||||||
tag: 1.15.3
|
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
pullSecrets: []
|
tag: 1.15.3
|
||||||
|
|
||||||
# upgrade strategy type (e.g. Recreate or RollingUpdate)
|
strategy:
|
||||||
strategyType: Recreate
|
type: Recreate
|
||||||
|
|
||||||
# Probes configuration
|
|
||||||
probes:
|
|
||||||
liveness:
|
|
||||||
enabled: true
|
|
||||||
scheme: HTTP
|
|
||||||
initialDelaySeconds: 60
|
|
||||||
failureThreshold: 5
|
|
||||||
timeoutSeconds: 10
|
|
||||||
readiness:
|
|
||||||
enabled: true
|
|
||||||
scheme: HTTP
|
|
||||||
initialDelaySeconds: 60
|
|
||||||
failureThreshold: 5
|
|
||||||
timeoutSeconds: 10
|
|
||||||
startup:
|
|
||||||
enabled: false
|
|
||||||
scheme: HTTP
|
|
||||||
failureThreshold: 30
|
|
||||||
periodSeconds: 10
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
port:
|
||||||
port: 6052
|
port: 6052
|
||||||
portName: api
|
|
||||||
additionalPorts: []
|
|
||||||
# - name: homematicproxy
|
|
||||||
# port: 2001
|
|
||||||
# targetPort: 2001
|
|
||||||
annotations: {}
|
|
||||||
labels: {}
|
|
||||||
clusterIP: ""
|
|
||||||
## List of IP addresses at which the hass-configurator service is available
|
|
||||||
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
|
||||||
##
|
|
||||||
externalIPs: []
|
|
||||||
loadBalancerIP: ""
|
|
||||||
loadBalancerSourceRanges: []
|
|
||||||
# nodePort: 30000
|
|
||||||
publishNotReadyAddresses: false
|
|
||||||
|
|
||||||
ingress:
|
env: {}
|
||||||
enabled: false
|
# ESPHOME_DASHBOARD_USE_PING: true
|
||||||
annotations: {}
|
# ESPHOME_DASHBOARD_RELATIVE_URL: "/"
|
||||||
# kubernetes.io/ingress.class: nginx
|
# ESPHOME_QUICKWIZARD:
|
||||||
# kubernetes.io/tls-acme: "true"
|
# ESPHOME_IS_HASSIO:
|
||||||
path: /
|
# DISABLE_HA_AUTHENTICATION:
|
||||||
hosts:
|
# USERNAME:
|
||||||
- esphome.local
|
# PASSWORD:
|
||||||
tls: []
|
|
||||||
# - secretName: esphome-tls
|
|
||||||
# hosts:
|
|
||||||
# - esphome.local
|
|
||||||
|
|
||||||
hostNetwork: false
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
config:
|
||||||
## esphome data Persistent Volume Storage Class
|
enabled: false
|
||||||
## If defined, storageClassName: <storageClass>
|
emptyDir: false
|
||||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
## Persistent Volume Storage Class
|
||||||
## If undefined (the default) or set to null, no storageClassName spec is
|
## If defined, storageClassName: <storageClass>
|
||||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||||
## GKE, AWS & OpenStack)
|
## If undefined (the default) or set to null, no storageClassName spec is
|
||||||
##
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||||
# storageClass: "-"
|
## GKE, AWS & OpenStack)
|
||||||
##
|
# storageClass: "-"
|
||||||
## If you want to reuse an existing claim, you can pass the name of the PVC using
|
# accessMode: ReadWriteOnce
|
||||||
## the existingClaim variable
|
# size: 1Gi
|
||||||
# existingClaim: your-claim
|
## Do not delete the pvc upon helm uninstall
|
||||||
##
|
# skipuninstall: false
|
||||||
## If you want to use a volume on the host machine instead of a PVC:
|
# existingClaim: ""
|
||||||
# hostPath: /path/to/the/config/folder
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
size: 1Gi
|
|
||||||
|
|
||||||
## Additional hass container environment variable
|
|
||||||
## For instance to add a http_proxy
|
|
||||||
##
|
|
||||||
extraEnv: {}
|
|
||||||
|
|
||||||
## Additional hass container environment variable from k8s secrets
|
|
||||||
## For instance to add a password
|
|
||||||
## can use `!env_var` in the esphome configuration to reference these variables
|
|
||||||
extraEnvSecrets:
|
|
||||||
# Example
|
|
||||||
# This will set ${MQTT_PASSWORD} to the 'password' key from the 'mqtt' secret
|
|
||||||
# MQTT_PASSWORD:
|
|
||||||
# secret: mqtt
|
|
||||||
# key: password
|
|
||||||
|
|
||||||
## If you'd like to provide your own Kubernetes Secret object instead of passing your values
|
|
||||||
## individually, pass in the name of a created + populated Secret.
|
|
||||||
## All secrets will be mounted as environment variables, with each key/value mapping to a
|
|
||||||
## corresponding environment variable.
|
|
||||||
##
|
|
||||||
extraSecretForEnvFrom: []
|
|
||||||
# - esphome-secrets
|
|
||||||
|
|
||||||
# Enable pod security context (must be `true` if runAsUser or fsGroup are set)
|
|
||||||
usePodSecurityContext: true
|
|
||||||
# Set runAsUser to 1000 to let esphome run as non-root user.
|
|
||||||
# When setting runAsUser to a different value than 0 also set fsGroup to the same value:
|
|
||||||
# runAsUser: <defaults to 0>
|
|
||||||
# fsGroup: <will be omitted in deployment if runAsUser is 0>
|
|
||||||
|
|
||||||
# Mount devices or folders from the host machine. Can be used for USB device mounting.
|
|
||||||
hostMounts: []
|
|
||||||
# Example
|
|
||||||
# - name: zha
|
|
||||||
# hostPath: /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_6120245D-if01-port0
|
|
||||||
|
|
||||||
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: {}
|
|
||||||
|
|
||||||
# Any extra volumes to define for the pod
|
|
||||||
extraVolumes: []
|
|
||||||
# - name: example-name
|
|
||||||
# hostPath:
|
|
||||||
# path: /path/on/host
|
|
||||||
# type: DirectoryOrCreate
|
|
||||||
|
|
||||||
# Any extra volume mounts to define for the containers
|
|
||||||
extraVolumeMounts: []
|
|
||||||
# - name: example-name
|
|
||||||
# mountPath: /path/in/container
|
|
||||||
|
|
||||||
|
|
||||||
git:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
image:
|
|
||||||
repository: k8sathome/git-crypt
|
|
||||||
tag: 2020.09.28
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
|
|
||||||
## Specify the command that runs in the git-sync container to pull in configuration.
|
|
||||||
# command: []
|
|
||||||
|
|
||||||
# Committer settings
|
|
||||||
user:
|
|
||||||
name: ""
|
|
||||||
email: ""
|
|
||||||
|
|
||||||
repo: ""
|
|
||||||
secret: git-creds
|
|
||||||
syncPath: /config
|
|
||||||
keyPath: /root/.ssh
|
|
||||||
|
|||||||
@@ -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.1.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.1
|
version: 1.7.0
|
||||||
|
|||||||
24
charts/freshrss/.helmignore
Normal file
24
charts/freshrss/.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/freshrss/Chart.yaml
Normal file
20
charts/freshrss/Chart.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: 1.17.0
|
||||||
|
description: FreshRSS is a self-hosted RSS feed aggregator
|
||||||
|
name: freshrss
|
||||||
|
version: 1.2.0
|
||||||
|
keywords:
|
||||||
|
- freshrss
|
||||||
|
- rss
|
||||||
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/freshrss
|
||||||
|
icon: https://github.com/FreshRSS/FreshRSS/blob/master/docs/img/FreshRSS-logo.png?raw=true
|
||||||
|
sources:
|
||||||
|
- https://github.com/FreshRSS/FreshRSS
|
||||||
|
- https://hub.docker.com/r/linuxserver/freshrss
|
||||||
|
maintainers:
|
||||||
|
- name: npawelek
|
||||||
|
email: nathan@nathanpawelek.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
|
version: 1.7.0
|
||||||
4
charts/freshrss/OWNERS
Normal file
4
charts/freshrss/OWNERS
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
approvers:
|
||||||
|
- npawelek
|
||||||
|
reviewers:
|
||||||
|
- npawelek
|
||||||
67
charts/freshrss/README.md
Normal file
67
charts/freshrss/README.md
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
# FreshRSS
|
||||||
|
|
||||||
|
This is a helm chart for [FreshRSS](https://github.com/FreshRSS/FreshRSS).
|
||||||
|
|
||||||
|
**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/freshrss
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm install --name my-release k8s-at-home/freshrss
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/freshrss/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 freshrss \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/freshrss
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
|
chart. For example,
|
||||||
|
```console
|
||||||
|
helm install freshrss k8s-at-home/freshrss --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/freshrss/ci/ct-values.yaml
Normal file
2
charts/freshrss/ci/ct-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
1
charts/freshrss/templates/NOTES.txt
Normal file
1
charts/freshrss/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
||||||
1
charts/freshrss/templates/common.yaml
Normal file
1
charts/freshrss/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
23
charts/freshrss/values.yaml
Normal file
23
charts/freshrss/values.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Default values for FreshRSS.
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: linuxserver/freshrss
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: version-1.17.0
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
service:
|
||||||
|
port:
|
||||||
|
port: 80
|
||||||
|
|
||||||
|
env: {}
|
||||||
|
# TZ: UTC
|
||||||
|
# PUID: 1001
|
||||||
|
# PGID: 1001
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
@@ -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
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user