Compare commits
65 Commits
flood-1.0.
...
zwave2mqtt
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 | ||
|
|
f4a926a7ee | ||
|
|
1902db60b9 | ||
|
|
eb7cfe789e | ||
|
|
ff1b01b296 | ||
|
|
0c99fb1339 | ||
|
|
8bc2923281 | ||
|
|
5f17e040e8 | ||
|
|
158674fc45 | ||
|
|
8a2859285c | ||
|
|
79e40ecd76 | ||
|
|
e3c38e70eb |
32
.github/ISSUE_TEMPLATE/bug-report.md
vendored
Normal file
32
.github/ISSUE_TEMPLATE/bug-report.md
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve
|
||||||
|
title: ''
|
||||||
|
labels: bug
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Details
|
||||||
|
|
||||||
|
**Helm chart name and version:**
|
||||||
|
|
||||||
|
<!-- Note: This should be the helm chart name and version you have deployed. e.g. jackett 5.4.0 -->
|
||||||
|
|
||||||
|
**Container name and tag:**
|
||||||
|
|
||||||
|
<!-- Note: This should be the container image version you have deployed. e.g. linuxserver/jackett:v0.16.2106 -->
|
||||||
|
|
||||||
|
**What steps did you take and what happened:**
|
||||||
|
|
||||||
|
<!-- Note: This should be a clear and concise description of what the bug is. -->
|
||||||
|
|
||||||
|
**What did you expect to happen:**
|
||||||
|
|
||||||
|
**Anything else you would like to add:**
|
||||||
|
|
||||||
|
<!-- Note: Miscellaneous information that will assist in solving the issue. -->
|
||||||
|
|
||||||
|
**Additional Information:**
|
||||||
|
|
||||||
|
<!-- Note: Anything to give further context to the bug report. -->
|
||||||
26
.github/ISSUE_TEMPLATE/feature-request.md
vendored
Normal file
26
.github/ISSUE_TEMPLATE/feature-request.md
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Suggest an idea for this project
|
||||||
|
title: ''
|
||||||
|
labels: enhancement
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Details
|
||||||
|
|
||||||
|
**Helm chart name:**
|
||||||
|
|
||||||
|
<!-- Note: This should be the helm chart name you are referring to. e.g. jackett -->
|
||||||
|
|
||||||
|
**Describe the solution you'd like:**
|
||||||
|
|
||||||
|
<!-- Note: A clear and concise description of what you want to happen. -->
|
||||||
|
|
||||||
|
**Anything else you would like to add:**
|
||||||
|
|
||||||
|
<!-- Note: Miscellaneous information that will assist in solving the issue. -->
|
||||||
|
|
||||||
|
**Additional Information:**
|
||||||
|
|
||||||
|
<!-- Note: Anything to give further context to the requested new feature. -->
|
||||||
14
.github/ISSUE_TEMPLATE/question.md
vendored
Normal file
14
.github/ISSUE_TEMPLATE/question.md
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
name: Question
|
||||||
|
about: Ask a question to the maintainer
|
||||||
|
title: ''
|
||||||
|
labels: question
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Details
|
||||||
|
|
||||||
|
**Ask your question:**
|
||||||
|
|
||||||
|
<!-- Note: A clear and concise query of what you want to ask. -->
|
||||||
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
|
|
||||||
|
|||||||
59
.github/workflows/release.yaml
vendored
59
.github/workflows/release.yaml
vendored
@@ -1,10 +1,11 @@
|
|||||||
|
|
||||||
name: Release Charts
|
name: Release Charts
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths:
|
||||||
|
- "charts/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -13,6 +14,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Turnstyle
|
- name: Turnstyle
|
||||||
uses: softprops/turnstyle@v1
|
uses: softprops/turnstyle@v1
|
||||||
@@ -21,25 +24,47 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Fetch history
|
- name: Configure Git
|
||||||
run: git fetch --prune --unshallow
|
run: |
|
||||||
|
git config user.name "$GITHUB_ACTOR"
|
||||||
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||||
|
|
||||||
|
- name: Install Helm
|
||||||
|
uses: azure/setup-helm@v1
|
||||||
|
with:
|
||||||
|
version: v3.4.0
|
||||||
|
|
||||||
|
- name: Run chart-releaser
|
||||||
|
uses: helm/chart-releaser-action@v1.1.0
|
||||||
|
with:
|
||||||
|
charts_repo_url: https://k8s-at-home.com/charts/
|
||||||
|
env:
|
||||||
|
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:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: release
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: "gh-pages"
|
||||||
|
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: Commit and push timestamp updates
|
||||||
run: |
|
run: |
|
||||||
curl -fsSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
|
if [[ -f index.yaml ]]; then
|
||||||
chmod 700 get_helm.sh
|
export generated_date=$(date --utc +%FT%T.%9NZ)
|
||||||
./get_helm.sh
|
sed -i -e "s/^generated:.*/generated: \"$generated_date\"/" index.yaml
|
||||||
- name: Add dependency chart repos
|
git add index.yaml
|
||||||
run: |
|
git commit -sm "Update generated timestamp [ci-skip]" || exit 0
|
||||||
helm repo add stable https://charts.helm.sh/stable
|
git push
|
||||||
- name: Run chart-releaser
|
fi
|
||||||
uses: helm/chart-releaser-action@v1.0.0
|
|
||||||
with:
|
|
||||||
charts_repo_url: https://k8s-at-home.com/charts/
|
|
||||||
env:
|
|
||||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
||||||
|
|||||||
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.1.1
|
||||||
|
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.6.2
|
||||||
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
|
||||||
@@ -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.4.0
|
version: 4.7.1
|
||||||
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.5.0
|
version: 1.6.2
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
reviewers:
|
reviewers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
This is a helm chart for [Bazarr](https://github.com/morpheus65535/bazarr).
|
This is a helm chart for [Bazarr](https://github.com/morpheus65535/bazarr).
|
||||||
|
|
||||||
|
**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
|
||||||
@@ -35,7 +37,7 @@ Additionally you can take a look at the common library [values.yaml](https://git
|
|||||||
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 bazarr \
|
helm install bazarr \
|
||||||
--set env.TZ="America/New York" \
|
--set env.TZ="America/New_York" \
|
||||||
k8s-at-home/bazarr
|
k8s-at-home/bazarr
|
||||||
```
|
```
|
||||||
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
|
||||||
|
|||||||
@@ -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.5.1
|
version: 1.6.2
|
||||||
keywords:
|
keywords:
|
||||||
- k8s-at-home
|
- k8s-at-home
|
||||||
- common
|
- common
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# Library chart for k8s@home media charts
|
# Library chart for k8s@home media charts
|
||||||
## **THIS CHART IS NOT MEANT TO BE INSTALLED DIRECTLY**
|
|
||||||
|
|
||||||
This is a [Helm Library Chart](https://helm.sh/docs/topics/library_charts/#helm) for grouping common logic between k8s@home charts.
|
**WARNING: THIS CHART IS NOT MEANT TO BE INSTALLED DIRECTLY**
|
||||||
|
|
||||||
|
This is a [Helm Library Chart](https://helm.sh/docs/topics/library_charts/#helm). It's purpose is for grouping common logic between the k8s@home charts.
|
||||||
|
|
||||||
|
Since a lot of charts follow the same pattern this library was built to reduce maintenance cost between the charts that use it and try achieve a goal of being DRY.
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
@@ -9,22 +12,84 @@ This chart provides common template helpers which can be used to develop new cha
|
|||||||
|
|
||||||
## TL;DR
|
## TL;DR
|
||||||
|
|
||||||
|
When using one of the many charts that uses this library be sure to view this [values.yaml](./values.yaml) for configuration options. Any setting here can be used to define what values your helm deployment will use.
|
||||||
|
|
||||||
|
For example using the helm CLI tool
|
||||||
|
|
||||||
|
```bash
|
||||||
|
helm install node-red \
|
||||||
|
--set image.repository="nodered/node-red" \
|
||||||
|
--set image.tag="1.2.5" \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/node-red
|
||||||
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
dependencies:
|
# node-red-values.yaml
|
||||||
- name: common
|
image:
|
||||||
version: 0.x.x
|
repository: nodered/node-red
|
||||||
repository: https://k8s-at-home.com/charts/
|
tag: 1.2.5
|
||||||
|
env:
|
||||||
|
TZ: America/New_York
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ helm dependency update
|
helm install node-red \
|
||||||
|
--values=./node-red-values.yaml \
|
||||||
|
k8s-at-home/node-red
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Creating a new chart
|
||||||
|
|
||||||
|
First be sure to checkout the many charts that already use this like [qBittorrent](../qbittorrent/), [node-red](../node-red/) or the many others in this repository.
|
||||||
|
|
||||||
|
Include this chart as a dependency in your `Chart.yaml` e.g.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: v1
|
# Chart.yaml
|
||||||
kind: ConfigMap
|
dependencies:
|
||||||
metadata:
|
- name: common
|
||||||
name: {{ include "common.names.fullname" . }}
|
version: x.x.x
|
||||||
data:
|
repository: https://k8s-at-home.com/charts/
|
||||||
myvalue: "Hello World"
|
```
|
||||||
|
|
||||||
|
Write a `values.yaml` with some basic defaults you want to present to the user e.g.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Default values for node-red.
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: nodered/node-red
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 1.2.5
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
# See more environment varaibles in the node-red documentation
|
||||||
|
# https://nodered.org/docs/getting-started/docker
|
||||||
|
env: {}
|
||||||
|
# TZ:
|
||||||
|
# NODE_OPTIONS:
|
||||||
|
# NODE_RED_ENABLE_PROJECTS:
|
||||||
|
# NODE_RED_ENABLE_SAFE_MODE:
|
||||||
|
# FLOWS:
|
||||||
|
|
||||||
|
service:
|
||||||
|
port:
|
||||||
|
port: 1880
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
mountPath: /data
|
||||||
|
```
|
||||||
|
|
||||||
|
If testing locally make sure you update the dependencies with:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
helm dependency update
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
{{/*
|
||||||
|
Main entrypoint for the common library chart. It will render all underlying templates based on the provided values.
|
||||||
|
*/}}
|
||||||
{{- define "common.all" -}}
|
{{- define "common.all" -}}
|
||||||
{{- /* Merge the local chart values and the common chart defaults */ -}}
|
{{- /* Merge the local chart values and the common chart defaults */ -}}
|
||||||
{{- include "common.values.setup" . }}
|
{{- include "common.values.setup" . }}
|
||||||
@@ -10,10 +13,16 @@
|
|||||||
{{- /* Build the templates */ -}}
|
{{- /* Build the templates */ -}}
|
||||||
{{- include "common.pvc" . }}
|
{{- include "common.pvc" . }}
|
||||||
{{- print "---" | nindent 0 -}}
|
{{- print "---" | nindent 0 -}}
|
||||||
{{- if eq .Values.controllerType "statefulset" }}
|
{{- if .Values.serviceAccount.create -}}
|
||||||
{{- include "common.statefulset" . | nindent 0 }}
|
{{- include "common.serviceAccount" . }}
|
||||||
{{ else }}
|
{{- print "---" | nindent 0 -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if eq .Values.controllerType "deployment" }}
|
||||||
{{- include "common.deployment" . | nindent 0 }}
|
{{- include "common.deployment" . | nindent 0 }}
|
||||||
|
{{ else if eq .Values.controllerType "daemonset" }}
|
||||||
|
{{- include "common.daemonset" . | nindent 0 }}
|
||||||
|
{{ else if eq .Values.controllerType "statefulset" }}
|
||||||
|
{{- include "common.statefulset" . | nindent 0 }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- print "---" | nindent 0 -}}
|
{{- print "---" | nindent 0 -}}
|
||||||
{{ include "common.service" . | nindent 0 }}
|
{{ include "common.service" . | nindent 0 }}
|
||||||
|
|||||||
76
charts/common/templates/_daemonset.tpl
Normal file
76
charts/common/templates/_daemonset.tpl
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
{{/*
|
||||||
|
This template serves as the blueprint for the DaemonSet objects that are created
|
||||||
|
within the common library.
|
||||||
|
*/}}
|
||||||
|
{{- define "common.daemonset" -}}
|
||||||
|
apiVersion: {{ include "common.capabilities.daemonset.apiVersion" . }}
|
||||||
|
kind: DaemonSet
|
||||||
|
metadata:
|
||||||
|
name: {{ include "common.names.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "common.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.controllerLabels }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.controllerAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "common.labels.selectorLabels" . | nindent 6 }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
{{- with .Values.podAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
{{- include "common.labels.selectorLabels" . | nindent 8 }}
|
||||||
|
spec:
|
||||||
|
{{- with .Values.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
serviceAccountName: {{ include "common.names.serviceAccountName" . }}
|
||||||
|
{{- with .Values.podSecurityContext }}
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.hostNetwork }}
|
||||||
|
hostNetwork: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.dnsPolicy }}
|
||||||
|
dnsPolicy: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.initContainers }}
|
||||||
|
initContainers:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
containers:
|
||||||
|
{{- include "common.controller.mainContainer" . | nindent 6 }}
|
||||||
|
{{- with .Values.additionalContainers }}
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with (include "common.controller.volumes" . | trim) }}
|
||||||
|
volumes:
|
||||||
|
{{- . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.hostAliases }}
|
||||||
|
hostAliases:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- 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 }}
|
||||||
|
{{- end }}
|
||||||
@@ -1,8 +1,12 @@
|
|||||||
|
{{/*
|
||||||
|
This template serves as the blueprint for the Deployment objects that are created
|
||||||
|
within the common library.
|
||||||
|
*/}}
|
||||||
{{- define "common.deployment" -}}
|
{{- define "common.deployment" -}}
|
||||||
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
|
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "common.names.fullname" . }}
|
name: {{ include "common.names.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "common.labels" . | nindent 4 }}
|
{{- include "common.labels" . | nindent 4 }}
|
||||||
{{- with .Values.controllerLabels }}
|
{{- with .Values.controllerLabels }}
|
||||||
@@ -34,10 +38,17 @@ spec:
|
|||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
serviceAccountName: {{ include "common.names.serviceAccountName" . }}
|
||||||
{{- with .Values.podSecurityContext }}
|
{{- with .Values.podSecurityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.hostNetwork }}
|
||||||
|
hostNetwork: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.dnsPolicy }}
|
||||||
|
dnsPolicy: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.initContainers }}
|
{{- with .Values.initContainers }}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
@@ -47,10 +58,14 @@ spec:
|
|||||||
{{- with .Values.additionalContainers }}
|
{{- with .Values.additionalContainers }}
|
||||||
{{- toYaml . | nindent 6 }}
|
{{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with (include "common.controller.volumes" . | trim) }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- include "common.controller.volumes" . | trim | nindent 6 }}
|
{{- . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.hostAliases }}
|
||||||
|
hostAliases:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
{{/*
|
||||||
|
Renders the Ingress objects required by the chart by returning a concatinated list
|
||||||
|
of the main Ingress and any additionalIngresses.
|
||||||
|
*/}}
|
||||||
{{- define "common.ingress" -}}
|
{{- define "common.ingress" -}}
|
||||||
{{- if .Values.ingress.enabled -}}
|
{{- if .Values.ingress.enabled -}}
|
||||||
{{- $svcPort := .Values.service.port.port -}}
|
{{- $svcPort := .Values.service.port.port -}}
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
{{/*
|
||||||
|
Renders the PersistentVolumeClaim objects required by the chart by returning a concatinated list
|
||||||
|
of all the entries of the persistence key.
|
||||||
|
*/}}
|
||||||
{{- define "common.pvc" -}}
|
{{- define "common.pvc" -}}
|
||||||
{{- /* Generate pvc as required */ -}}
|
{{- /* Generate pvc as required */ -}}
|
||||||
{{- range $index, $PVC := .Values.persistence }}
|
{{- range $index, $PVC := .Values.persistence }}
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
{{/*
|
||||||
|
Renders the Service objects required by the chart by returning a concatinated list
|
||||||
|
of the main Service and any additionalServices.
|
||||||
|
*/}}
|
||||||
{{- define "common.service" -}}
|
{{- define "common.service" -}}
|
||||||
{{- if .Values.service.enabled -}}
|
{{- if .Values.service.enabled -}}
|
||||||
{{- /* Generate primary service */ -}}
|
{{- /* Generate primary service */ -}}
|
||||||
|
|||||||
15
charts/common/templates/_serviceaccount.tpl
Normal file
15
charts/common/templates/_serviceaccount.tpl
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{{/*
|
||||||
|
The ServiceAccount object to be created.
|
||||||
|
*/}}
|
||||||
|
{{- define "common.serviceAccount" -}}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ include "common.names.serviceAccountName" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "common.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
@@ -1,8 +1,12 @@
|
|||||||
|
{{/*
|
||||||
|
This template serves as the blueprint for the StatefulSet objects that are created
|
||||||
|
within the common library.
|
||||||
|
*/}}
|
||||||
{{- define "common.statefulset" -}}
|
{{- define "common.statefulset" -}}
|
||||||
apiVersion: {{ include "common.capabilities.statefulset.apiVersion" . }}
|
apiVersion: {{ include "common.capabilities.statefulset.apiVersion" . }}
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "common.names.fullname" . }}
|
name: {{ include "common.names.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "common.labels" . | nindent 4 }}
|
{{- include "common.labels" . | nindent 4 }}
|
||||||
{{- with .Values.controllerLabels }}
|
{{- with .Values.controllerLabels }}
|
||||||
@@ -35,6 +39,7 @@ spec:
|
|||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
serviceAccountName: {{ include "common.names.serviceAccountName" . }}
|
||||||
{{- with .Values.podSecurityContext }}
|
{{- with .Values.podSecurityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
@@ -48,10 +53,10 @@ spec:
|
|||||||
{{- with .Values.additionalContainers }}
|
{{- with .Values.additionalContainers }}
|
||||||
{{- toYaml . | nindent 6 }}
|
{{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with (include "common.controller.volumes" . | trim) }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- include "common.controller.volumes" . | trim | nindent 6 }}
|
{{- . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{{/*
|
{{/*
|
||||||
The OpenVPN configmaps to be included
|
The VPN config and scripts to be included.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.vpn.configmap" -}}
|
{{- define "common.addon.vpn.configmap" -}}
|
||||||
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down }}
|
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "common.names.fullname" . }}-vpn
|
name: {{ include "common.names.fullname" . }}-vpn
|
||||||
labels:
|
labels:
|
||||||
{{- include "common.labels" . | nindent 4 }}
|
{{- include "common.labels" . | nindent 4 }}
|
||||||
data:
|
data:
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{{/*
|
{{/*
|
||||||
The OpenVPN networkpolicy to be included
|
Blueprint for the NetworkPolicy object that can be included in the addon.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.vpn.networkpolicy" -}}
|
{{- define "common.addon.vpn.networkpolicy" -}}
|
||||||
{{- if .Values.addons.vpn.networkPolicy.enabled -}}
|
{{- if .Values.addons.vpn.networkPolicy.enabled -}}
|
||||||
kind: NetworkPolicy
|
kind: NetworkPolicy
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "common.names.fullname" . }}
|
name: {{ include "common.names.fullname" . }}
|
||||||
spec:
|
spec:
|
||||||
podSelector:
|
podSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{{/*
|
{{/*
|
||||||
The OpenVPN shared volume to be inserted
|
The volume (referencing VPN config and scripts) to be inserted into additionalVolumes.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.vpn.volume" -}}
|
{{- define "common.addon.vpn.volume" -}}
|
||||||
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down -}}
|
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down -}}
|
||||||
name: vpnconfig
|
name: vpnconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: {{ template "common.names.fullname" . }}-vpn
|
name: {{ include "common.names.fullname" . }}-vpn
|
||||||
items:
|
items:
|
||||||
{{- if .Values.addons.vpn.configFile }}
|
{{- if .Values.addons.vpn.configFile }}
|
||||||
- key: vpnConfigfile
|
- key: vpnConfigfile
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{{/*
|
{{/*
|
||||||
Template to render VPN addon
|
Template to render VPN addon
|
||||||
|
It will include / inject the required templates based on the given values.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.vpn" -}}
|
{{- define "common.addon.vpn" -}}
|
||||||
{{- if .Values.addons.vpn.enabled -}}
|
{{- if .Values.addons.vpn.enabled -}}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{{/*
|
{{/*
|
||||||
Template to render OpenVPN addon
|
Template to render OpenVPN addon. It will add the container to the list of additionalContainers
|
||||||
|
and add a credentials secret if speciffied.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.openvpn" -}}
|
{{- define "common.addon.openvpn" -}}
|
||||||
{{/* Append the openVPN container to the additionalContainers */}}
|
{{/* Append the openVPN container to the additionalContainers */}}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{/*
|
{{/*
|
||||||
The OpenVPN container(s) to be inserted
|
The OpenVPN sidecar container to be inserted.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.openvpn.container" -}}
|
{{- define "common.addon.openvpn.container" -}}
|
||||||
name: openvpn
|
name: openvpn
|
||||||
@@ -22,7 +22,7 @@ envFrom:
|
|||||||
{{- if .Values.addons.vpn.openvpn.authSecret }}
|
{{- if .Values.addons.vpn.openvpn.authSecret }}
|
||||||
name: {{ .Values.addons.vpn.openvpn.authSecret }}
|
name: {{ .Values.addons.vpn.openvpn.authSecret }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
name: {{ template "common.names.fullname" . }}-openvpn
|
name: {{ include "common.names.fullname" . }}-openvpn
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down .Values.addons.vpn.additionalVolumeMounts .Values.persistence.shared.enabled }}
|
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down .Values.addons.vpn.additionalVolumeMounts .Values.persistence.shared.enabled }}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{{/*
|
{{/*
|
||||||
The OpenVPN secrets to be included
|
The OpenVPN credentials secrets to be included.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.openvpn.secret" -}}
|
{{- define "common.addon.openvpn.secret" -}}
|
||||||
{{- with .Values.addons.vpn.openvpn.auth -}}
|
{{- with .Values.addons.vpn.openvpn.auth -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "common.names.fullname" $ }}-openvpn
|
name: {{ include "common.names.fullname" $ }}-openvpn
|
||||||
labels:
|
labels:
|
||||||
{{- include "common.labels" $ | nindent 4 }}
|
{{- include "common.labels" $ | nindent 4 }}
|
||||||
data:
|
data:
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{{/*
|
{{/*
|
||||||
Template to render Wireguard addon
|
Template to render Wireguard addon. It will add the container to the list of additionalContainers.
|
||||||
|
*/}}
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.wireguard" -}}
|
{{- define "common.addon.wireguard" -}}
|
||||||
{{/* Append the Wireguard container to the additionalContainers */}}
|
{{/* Append the Wireguard container to the additionalContainers */}}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{/*
|
{{/*
|
||||||
The Wireguard container(s) to be inserted
|
The Wireguard sidecar container to be inserted.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.addon.wireguard.container" -}}
|
{{- define "common.addon.wireguard.container" -}}
|
||||||
name: wireguard
|
name: wireguard
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
{{/*
|
||||||
|
This template serves as a blueprint for all Ingress objects that are created
|
||||||
|
within the common library.
|
||||||
|
*/}}
|
||||||
{{- define "common.classes.ingress" -}}
|
{{- define "common.classes.ingress" -}}
|
||||||
{{- $ingressName := include "common.names.fullname" . -}}
|
{{- $ingressName := include "common.names.fullname" . -}}
|
||||||
{{- $values := .Values.ingress -}}
|
{{- $values := .Values.ingress -}}
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
{{/*
|
||||||
|
This template serves as a blueprint for all PersistentVolumeClaim objects that are created
|
||||||
|
within the common library.
|
||||||
|
*/}}
|
||||||
{{- define "common.classes.pvc" -}}
|
{{- define "common.classes.pvc" -}}
|
||||||
{{- $values := .Values.persistence -}}
|
{{- $values := .Values.persistence -}}
|
||||||
{{- if hasKey . "ObjectValues" -}}
|
{{- if hasKey . "ObjectValues" -}}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{{/*
|
{{/*
|
||||||
service class: all services should adhere to this
|
This template serves as a blueprint for all Service objects that are created
|
||||||
|
within the common library.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.classes.service" -}}
|
{{- define "common.classes.service" -}}
|
||||||
{{- $values := .Values.service -}}
|
{{- $values := .Values.service -}}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{/*
|
{{/*
|
||||||
logic that lists the ports and additionalPorts for a service
|
Render all the ports and additionalPorts for a Service object.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.classes.service.ports" -}}
|
{{- define "common.classes.service.ports" -}}
|
||||||
{{- $ports := list -}}
|
{{- $ports := list -}}
|
||||||
@@ -12,9 +12,9 @@ logic that lists the ports and additionalPorts for a service
|
|||||||
ports:
|
ports:
|
||||||
{{- range $_ := $ports }}
|
{{- range $_ := $ports }}
|
||||||
- port: {{ .port }}
|
- port: {{ .port }}
|
||||||
targetPort: {{ .targetPort | default .name }}
|
targetPort: {{ .targetPort | default "http" }}
|
||||||
protocol: {{ .protocol | default "TCP" }}
|
protocol: {{ .protocol | default "TCP" }}
|
||||||
name: {{ .name }}
|
name: {{ .name | default "http" }}
|
||||||
{{- if (and (eq $.svcType "NodePort") (not (empty .nodePort))) }}
|
{{- if (and (eq $.svcType "NodePort") (not (empty .nodePort))) }}
|
||||||
nodePort: {{ .nodePort }}
|
nodePort: {{ .nodePort }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -1,5 +1,16 @@
|
|||||||
{{/*
|
{{/*
|
||||||
Return the appropriate apiVersion for deployment.
|
Return the appropriate apiVersion for DaemonSet objects.
|
||||||
|
*/}}
|
||||||
|
{{- define "common.capabilities.daemonset.apiVersion" -}}
|
||||||
|
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||||
|
{{- print "extensions/v1beta1" -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- print "apps/v1" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Return the appropriate apiVersion for Deployment objects.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.capabilities.deployment.apiVersion" -}}
|
{{- define "common.capabilities.deployment.apiVersion" -}}
|
||||||
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||||
@@ -10,7 +21,7 @@ Return the appropriate apiVersion for deployment.
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Return the appropriate apiVersion for statefulset.
|
Return the appropriate apiVersion for StatefulSet objects.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.capabilities.statefulset.apiVersion" -}}
|
{{- define "common.capabilities.statefulset.apiVersion" -}}
|
||||||
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||||
@@ -21,7 +32,7 @@ Return the appropriate apiVersion for statefulset.
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Return the appropriate apiVersion for ingress.
|
Return the appropriate apiVersion for Ingress objects.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.capabilities.ingress.apiVersion" -}}
|
{{- define "common.capabilities.ingress.apiVersion" -}}
|
||||||
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{/*
|
{{/*
|
||||||
Common labels
|
Common labels shared across objects.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.labels" -}}
|
{{- define "common.labels" -}}
|
||||||
helm.sh/chart: {{ include "common.names.chart" . }}
|
helm.sh/chart: {{ include "common.names.chart" . }}
|
||||||
@@ -11,7 +11,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Selector labels
|
Selector labels shared across objects.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.labels.selectorLabels" -}}
|
{{- define "common.labels.selectorLabels" -}}
|
||||||
app.kubernetes.io/name: {{ include "common.names.name" . }}
|
app.kubernetes.io/name: {{ include "common.names.name" . }}
|
||||||
|
|||||||
@@ -31,12 +31,12 @@ Create chart name and version as used by the chart label.
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create the name of the service account to use
|
Create the name of the ServiceAccount to use.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.names.serviceAccountName" -}}
|
{{- define "common.names.serviceAccountName" -}}
|
||||||
{{- if .Values.serviceAccount.create }}
|
{{- if .Values.serviceAccount.create }}
|
||||||
{{- default (include "k8s-at-home.fullname" .) .Values.serviceAccount.name }}
|
{{- default (include "common.names.fullname" .) .Values.serviceAccount.name }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- default "default" .Values.serviceAccount.name }}
|
{{- default "default" .Values.serviceAccount.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
|
{{/*
|
||||||
|
Merge the local chart values and the common chart defaults.
|
||||||
|
*/}}
|
||||||
{{- define "common.values.setup" -}}
|
{{- define "common.values.setup" -}}
|
||||||
{{- /* Merge the local chart values and the common chart defaults */ -}}
|
|
||||||
{{- if .Values.common -}}
|
{{- if .Values.common -}}
|
||||||
{{- $defaultValues := deepCopy .Values.common -}}
|
{{- $defaultValues := deepCopy .Values.common -}}
|
||||||
{{- $userValues := deepCopy (omit .Values "common") -}}
|
{{- $userValues := deepCopy (omit .Values "common") -}}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{{- /*
|
{{- /*
|
||||||
The main containter that will be included in the controller
|
The main container included in the controller.
|
||||||
*/ -}}
|
*/ -}}
|
||||||
{{- define "common.controller.mainContainer" -}}
|
{{- define "common.controller.mainContainer" -}}
|
||||||
- name: {{ template "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.securityContext }}
|
{{- with .Values.securityContext }}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{/*
|
{{/*
|
||||||
ports included by the controller
|
Ports included by the controller.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.controller.ports" -}}
|
{{- define "common.controller.ports" -}}
|
||||||
{{- $ports := list -}}
|
{{- $ports := list -}}
|
||||||
@@ -7,6 +7,7 @@ ports included by the controller
|
|||||||
{{- $serviceValues := deepCopy . -}}
|
{{- $serviceValues := deepCopy . -}}
|
||||||
{{/* append the ports for the main service */}}
|
{{/* append the ports for the main service */}}
|
||||||
{{- if .enabled -}}
|
{{- if .enabled -}}
|
||||||
|
{{- $_ := set .port "name" (default "http" .port.name) -}}
|
||||||
{{- $ports = mustAppend $ports .port -}}
|
{{- $ports = mustAppend $ports .port -}}
|
||||||
{{- range $_ := .additionalPorts -}}
|
{{- range $_ := .additionalPorts -}}
|
||||||
{{/* append the additonalPorts for the main service */}}
|
{{/* append the additonalPorts for the main service */}}
|
||||||
@@ -16,6 +17,7 @@ ports included by the controller
|
|||||||
{{/* append the ports for each additional service */}}
|
{{/* append the ports for each additional service */}}
|
||||||
{{- range $_ := .additionalServices }}
|
{{- range $_ := .additionalServices }}
|
||||||
{{- if .enabled -}}
|
{{- if .enabled -}}
|
||||||
|
{{- $_ := set .port "name" (required "Missing port.name" .port.name) -}}
|
||||||
{{- $ports = mustAppend $ports .port -}}
|
{{- $ports = mustAppend $ports .port -}}
|
||||||
{{- range $_ := .additionalPorts -}}
|
{{- range $_ := .additionalPorts -}}
|
||||||
{{/* append the additonalPorts for each additional service */}}
|
{{/* append the additonalPorts for each additional service */}}
|
||||||
@@ -24,13 +26,14 @@ ports included by the controller
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{/* export/render the list of ports */}}
|
|
||||||
{{- if $ports -}}
|
{{/* export/render the list of ports */}}
|
||||||
ports:
|
{{- if $ports -}}
|
||||||
{{- range $_ := $ports }}
|
ports:
|
||||||
- name: {{ required "Missing port.name" .name }}
|
{{- range $_ := $ports }}
|
||||||
containerPort: {{ required "Missing port.port" .port }}
|
- name: {{ .name }}
|
||||||
protocol: {{ .protocol | default "TCP" }}
|
containerPort: {{ .port }}
|
||||||
{{- end -}}
|
protocol: {{ .protocol | default "TCP" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{/*
|
{{/*
|
||||||
Default liveness/readiness/startup probes
|
Liveness/readiness/startup probes based on tcpSocket checks.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.controller.probes.tcpSocket" -}}
|
{{- define "common.controller.probes.tcpSocket" -}}
|
||||||
{{- if .Values.probes.liveness.enabled -}}
|
{{- if .Values.probes.liveness.enabled -}}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{/*
|
{{/*
|
||||||
volumes included by the controller
|
Volumes included by the controller.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "common.controller.volumes" -}}
|
{{- define "common.controller.volumes" -}}
|
||||||
{{- range $index, $persistence := .Values.persistence }}
|
{{- range $index, $persistence := .Values.persistence }}
|
||||||
|
|||||||
@@ -1,21 +1,36 @@
|
|||||||
# type: options are statefulset or deployment
|
# type: options are deployment, daemonset or statefulset
|
||||||
controllerType: deployment
|
controllerType: deployment
|
||||||
# Set annotations on the deployment/statefulset
|
# Set annotations on the deployment/statefulset/daemonset
|
||||||
controllerAnnotations: {}
|
controllerAnnotations: {}
|
||||||
# Set labels on the deployment/statefulset
|
# Set labels on the deployment/statefulset/daemonset
|
||||||
controllerLabels: {}
|
controllerLabels: {}
|
||||||
|
|
||||||
replicas: 1
|
replicas: 1
|
||||||
strategy:
|
strategy:
|
||||||
## For Deployments, valid values are Recreate and RollingUpdate
|
## For Deployments, valid values are Recreate and RollingUpdate
|
||||||
## For StatefulSets, valid values are OnDelete and RollingUpdate
|
## For StatefulSets, valid values are OnDelete and RollingUpdate
|
||||||
|
## DaemonSets ignore this
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
|
|
||||||
# Set annotations on the pod
|
# Set annotations on the pod
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
# Specifies whether a service account should be created
|
||||||
|
create: false
|
||||||
|
# Annotations to add to the service account
|
||||||
|
annotations: {}
|
||||||
|
# The name of the service account to use.
|
||||||
|
# If not set and create is true, a name is generated using the fullname template
|
||||||
|
name: ""
|
||||||
|
|
||||||
env: {}
|
env: {}
|
||||||
|
|
||||||
|
# When using hostNetwork make sure you set dnsPolicy to ClusterFirstWithHostNet
|
||||||
|
hostNetwork: false
|
||||||
|
|
||||||
|
dnsPolicy: ClusterFirst
|
||||||
|
|
||||||
initContainers: []
|
initContainers: []
|
||||||
|
|
||||||
additionalContainers: []
|
additionalContainers: []
|
||||||
@@ -44,9 +59,11 @@ service:
|
|||||||
# Specify the default port information
|
# Specify the default port information
|
||||||
port:
|
port:
|
||||||
port:
|
port:
|
||||||
name: http
|
# name defaults to http
|
||||||
|
name:
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: http
|
# targetPort defaults to http
|
||||||
|
targetPort:
|
||||||
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
||||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
||||||
##
|
##
|
||||||
@@ -66,10 +83,12 @@ service:
|
|||||||
# type: ClusterIP
|
# type: ClusterIP
|
||||||
# # Specify the default port information
|
# # Specify the default port information
|
||||||
# port:
|
# port:
|
||||||
# port: ""
|
# port:
|
||||||
# name: http
|
# # name defaults to http
|
||||||
|
# name:
|
||||||
# protocol: TCP
|
# protocol: TCP
|
||||||
# targetPort: http
|
# # targetPort defaults to http
|
||||||
|
# targetPort:
|
||||||
# # nodePort:
|
# # nodePort:
|
||||||
# additionalPorts: []
|
# additionalPorts: []
|
||||||
# annotations: {}
|
# annotations: {}
|
||||||
@@ -147,6 +166,14 @@ affinity: {}
|
|||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
|
hostAliases: []
|
||||||
|
# Use hostAliases to add custom entries to /etc/hosts - mapping IP addresses to hostnames.
|
||||||
|
# ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||||
|
# - ip: "192.168.1.100"
|
||||||
|
# hostnames:
|
||||||
|
# - "example.com"
|
||||||
|
# - "www.example.com"
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
vpn:
|
vpn:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
@@ -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.0.0
|
version: 3.2.1
|
||||||
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.5.0
|
version: 1.6.2
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
reviewers:
|
reviewers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
This is a helm chart for [couchpotato](https://github.com/CouchPotato/CouchPotatoServer).
|
This is a helm chart for [couchpotato](https://github.com/CouchPotato/CouchPotatoServer).
|
||||||
|
|
||||||
|
**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
|
||||||
|
|||||||
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.1.1
|
||||||
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.6.2
|
||||||
|
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.0.0
|
version: 1.2.1
|
||||||
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.5.1
|
version: 1.6.2
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
reviewers:
|
reviewers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
This is a helm chart for [ddclient](https://github.com/ddclient/ddclient).
|
This is a helm chart for [ddclient](https://github.com/ddclient/ddclient).
|
||||||
|
|
||||||
|
**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
|
||||||
|
|||||||
@@ -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.0.0
|
version: 1.2.1
|
||||||
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.5.1
|
version: 1.6.2
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
reviewers:
|
reviewers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
This is a helm chart for [flood](https://github.com/jesec/flood).
|
This is a helm chart for [flood](https://github.com/jesec/flood).
|
||||||
|
|
||||||
|
**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
|
||||||
|
|||||||
@@ -1,2 +1,7 @@
|
|||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
persistence:
|
||||||
|
data:
|
||||||
|
enabled: true
|
||||||
|
emptyDir: true
|
||||||
|
mountPath: /data
|
||||||
|
|||||||
@@ -12,8 +12,10 @@ service:
|
|||||||
port:
|
port:
|
||||||
port: 3000
|
port: 3000
|
||||||
|
|
||||||
env: {}
|
# Other environment variables that can be configure can be seen at
|
||||||
# TZ: UTC
|
# https://github.com/jesec/flood/blob/master/config.cli.js
|
||||||
|
env:
|
||||||
|
FLOOD_OPTION_RUNDIR: /data
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
data:
|
data:
|
||||||
|
|||||||
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.1.1
|
||||||
|
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.6.2
|
||||||
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
|
||||||
44
charts/home-assistant/CHANGELOG.md
Normal file
44
charts/home-assistant/CHANGELOG.md
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
# Changelog
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [3.1.0]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Fixed issue in default postgresql configuration.
|
||||||
|
- Bumped bitnami/postgresql to 10.1.1 in chart deps
|
||||||
|
|
||||||
|
## [3.0.0]
|
||||||
|
|
||||||
|
Any pre-existing StatefulSet will have to be removed before upgrading due to a name change in the chart.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- The default `home-assistant` image has been updated to v0.118.3.
|
||||||
|
- The default `vscode` image has been updated to 3.7.2
|
||||||
|
- :warning: Upgraded `influxdb` subchart from version 0.6.7 to version 1.0.0.
|
||||||
|
- :warning: Upgraded `postgresql` subchart from version 9.1.2 to version 10.1.0.
|
||||||
|
This is a major version update, [requiring changes](https://github.com/bitnami/charts/tree/master/bitnami/postgresql#to-1000) in your `values.yaml` if you use it!
|
||||||
|
- :warning: Upgraded `mariadb` subchart from version 7.7.1 to version 9.0.1.
|
||||||
|
This is a major version update, [requiring changes](https://github.com/bitnami/charts/tree/master/bitnami/mariadb#to-900) in your `values.yaml` if you use it!
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- Subchart support for `esphome` was removed as it is really a separate application and integration was only limited to sharing a secrets file.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed some formatting errors that were causing the pipeline to fail.
|
||||||
|
|
||||||
|
## [2.7.0]
|
||||||
|
|
||||||
|
This is the last version before starting this changelog. All sorts of cool stuff was changed, but only `git log` remembers what that was :slightly_frowning_face:
|
||||||
|
|
||||||
|
[3.1.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-3.1.0/charts/home-assistant
|
||||||
|
|
||||||
|
[3.0.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-3.0.0/charts/home-assistant
|
||||||
|
|
||||||
|
[2.7.0]: https://github.com/k8s-at-home/charts/tree/home-assistant-2.7.0/charts/home-assistant
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.116.1
|
appVersion: 0.118.3
|
||||||
description: Home Assistant
|
description: Home Assistant
|
||||||
name: home-assistant
|
name: home-assistant
|
||||||
version: 2.7.0
|
version: 3.1.0
|
||||||
keywords:
|
keywords:
|
||||||
- home-assistant
|
- home-assistant
|
||||||
- hass
|
- hass
|
||||||
@@ -20,19 +20,15 @@ maintainers:
|
|||||||
- name: runningman84
|
- name: runningman84
|
||||||
email: phil@hellmi.de
|
email: phil@hellmi.de
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: esphome
|
|
||||||
repository: https://k8s-at-home.com/charts/
|
|
||||||
version: ~2.2.0
|
|
||||||
condition: esphome.enabled
|
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
version: 9.1.2
|
version: 10.1.1
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
condition: postgresql.enabled
|
condition: postgresql.enabled
|
||||||
- name: mariadb
|
- name: mariadb
|
||||||
version: 7.7.1
|
version: 9.0.1
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
condition: mariadb.enabled
|
condition: mariadb.enabled
|
||||||
- name: influxdb
|
- name: influxdb
|
||||||
version: 0.6.7
|
version: 1.0.0
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
condition: influxdb.enabled
|
condition: influxdb.enabled
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
This is a helm chart for [Home Assistant](https://www.home-assistant.io/)
|
This is a helm chart for [Home Assistant](https://www.home-assistant.io/)
|
||||||
|
|
||||||
|
**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
|
||||||
@@ -9,6 +11,10 @@ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
|||||||
helm install k8s-at-home/home-assistant
|
helm install k8s-at-home/home-assistant
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## :star2: Changelog
|
||||||
|
|
||||||
|
Please refer to [CHANGELOG.md](CHANGELOG.md) for an overview of notable changes to the chart. **This is especially important for major version updates!**
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
This code is adapted for [the official home assistant docker image](https://hub.docker.com/r/homeassistant/home-assistant/)
|
This code is adapted for [the official home assistant docker image](https://hub.docker.com/r/homeassistant/home-assistant/)
|
||||||
@@ -38,7 +44,7 @@ The following tables lists the configurable parameters of the Home Assistant cha
|
|||||||
| Parameter | Description | Default |
|
| Parameter | Description | Default |
|
||||||
|-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|
|
|-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|
|
||||||
| `image.repository` | Image repository | `homeassistant/home-assistant` |
|
| `image.repository` | Image repository | `homeassistant/home-assistant` |
|
||||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/homeassistant/home-assistant/tags/). | `0.114.0` |
|
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/homeassistant/home-assistant/tags/). | `0.118.3` |
|
||||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||||
| `image.pullSecrets` | Secrets to use when pulling the image | `[]` |
|
| `image.pullSecrets` | Secrets to use when pulling the image | `[]` |
|
||||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
||||||
@@ -130,7 +136,7 @@ The following tables lists the configurable parameters of the Home Assistant cha
|
|||||||
| `configurator.service.loadBalancerSourceRanges` | Loadbalancer client IP restriction range for the configurator UI | `[]` |
|
| `configurator.service.loadBalancerSourceRanges` | Loadbalancer client IP restriction range for the configurator UI | `[]` |
|
||||||
| `vscode.enabled` | Enable the optional [VS Code Server Sidecar](https://github.com/cdr/code-server) | `false` |
|
| `vscode.enabled` | Enable the optional [VS Code Server Sidecar](https://github.com/cdr/code-server) | `false` |
|
||||||
| `vscode.image.repository` | Image repository | `codercom/code-server` |
|
| `vscode.image.repository` | Image repository | `codercom/code-server` |
|
||||||
| `vscode.image.tag` | Image tag | `3.4.1` |
|
| `vscode.image.tag` | Image tag | `3.7.2` |
|
||||||
| `vscode.image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
| `vscode.image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||||
| `vscode.hassConfig` | Base path of the home assistant configuration files | `/config` |
|
| `vscode.hassConfig` | Base path of the home assistant configuration files | `/config` |
|
||||||
| `vscode.vscodePath` | Base path of the VS Code configuration files | `/config/.vscode` |
|
| `vscode.vscodePath` | Base path of the VS Code configuration files | `/config/.vscode` |
|
||||||
@@ -174,7 +180,6 @@ The following tables lists the configurable parameters of the Home Assistant cha
|
|||||||
| `appdaemon.service.externalIPs` | External IPs for the AppDaemon UI | `[]` |
|
| `appdaemon.service.externalIPs` | External IPs for the AppDaemon UI | `[]` |
|
||||||
| `appdaemon.service.loadBalancerIP` | Loadbalancer IP for the AppDaemon UI | `` |
|
| `appdaemon.service.loadBalancerIP` | Loadbalancer IP for the AppDaemon UI | `` |
|
||||||
| `appdaemon.service.loadBalancerSourceRanges` | Loadbalancer client IP restriction range for the VS Code UI | `[]` |
|
| `appdaemon.service.loadBalancerSourceRanges` | Loadbalancer client IP restriction range for the VS Code UI | `[]` |
|
||||||
| `esphome.enabled` | Enable the optional [ESPHome](https://esphome.io) deployment | `false` |
|
|
||||||
| `mariadb.enabled` | Enable the optional [Mariadb](https://github.com/bitnami/charts) deployment | `false` |
|
| `mariadb.enabled` | Enable the optional [Mariadb](https://github.com/bitnami/charts) deployment | `false` |
|
||||||
| `postgresql.enabled` | Enable the optional [Postgres](https://github.com/bitnami/charts) deployment | `false` |
|
| `postgresql.enabled` | Enable the optional [Postgres](https://github.com/bitnami/charts) deployment | `false` |
|
||||||
| `influxdb.enabled` | Enable the optional [Influxdb](https://github.com/bitnami/charts) deployment | `false` |
|
| `influxdb.enabled` | Enable the optional [Influxdb](https://github.com/bitnami/charts) deployment | `false` |
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{{- if .Values.configurator.enabled }}
|
{{- if .Values.configurator.enabled }}
|
||||||
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
@@ -20,8 +21,9 @@ data:
|
|||||||
password: {{ .Values.configurator.password | b64enc | quote }}
|
password: {{ .Values.configurator.password | b64enc | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
---
|
|
||||||
{{- if .Values.vscode.enabled }}
|
{{- if .Values.vscode.enabled }}
|
||||||
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
@@ -37,8 +39,9 @@ data:
|
|||||||
password: {{ .Values.vscode.password | b64enc | quote }}
|
password: {{ .Values.vscode.password | b64enc | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
---
|
|
||||||
{{- if .Values.appdaemon.enabled }}
|
{{- if .Values.appdaemon.enabled }}
|
||||||
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: homeassistant/home-assistant
|
repository: homeassistant/home-assistant
|
||||||
tag: 0.116.1
|
tag: 0.118.3
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
pullSecrets: []
|
pullSecrets: []
|
||||||
|
|
||||||
@@ -252,7 +252,7 @@ vscode:
|
|||||||
##
|
##
|
||||||
image:
|
image:
|
||||||
repository: codercom/code-server
|
repository: codercom/code-server
|
||||||
tag: 3.4.1
|
tag: 3.7.2
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
## VSCode password
|
## VSCode password
|
||||||
@@ -350,31 +350,17 @@ appdaemon:
|
|||||||
loadBalancerSourceRanges: []
|
loadBalancerSourceRanges: []
|
||||||
# nodePort: 30000
|
# nodePort: 30000
|
||||||
|
|
||||||
esphome:
|
|
||||||
enabled: false
|
|
||||||
# Mount home-assistant's secrets.yaml into the esphome container.
|
|
||||||
extraVolumes:
|
|
||||||
- name: ha-config
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: home-assistant
|
|
||||||
extraVolumeMounts:
|
|
||||||
- name: ha-config
|
|
||||||
mountPath: /config/secrets.yaml
|
|
||||||
subPath: secrets.yaml
|
|
||||||
|
|
||||||
# Enabled mariadb
|
# Enabled mariadb
|
||||||
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
|
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
|
||||||
mariadb:
|
mariadb:
|
||||||
enabled: false
|
enabled: false
|
||||||
db:
|
architecture: standalone
|
||||||
name: home-assistant
|
auth:
|
||||||
user: home-assistant
|
database: home-assistant
|
||||||
|
username: home-assistant
|
||||||
password: home-assistant-pass
|
password: home-assistant-pass
|
||||||
replication:
|
rootPassword: home-assistantrootpass
|
||||||
enabled: false
|
primary:
|
||||||
rootUser:
|
|
||||||
password: home-assistantrootpass
|
|
||||||
master:
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
# storageClass: ""
|
# storageClass: ""
|
||||||
@@ -383,11 +369,9 @@ mariadb:
|
|||||||
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
|
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: false
|
enabled: false
|
||||||
global:
|
postgresqlUsername: home-assistant
|
||||||
postgresql:
|
postgresqlPassword: home-assistant-pass
|
||||||
postgresqlUsername: home-assistant
|
postgresqlDatabase: home-assistant
|
||||||
postgresqlPassword: home-assistant-pass
|
|
||||||
postgresqlDatabase: home-assistant
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
# storageClass: ""
|
# storageClass: ""
|
||||||
|
|||||||
24
charts/homer/.helmignore
Normal file
24
charts/homer/.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
|
||||||
16
charts/homer/Chart.yaml
Normal file
16
charts/homer/Chart.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: 20.09.1
|
||||||
|
description: A dead simple static HOMepage for your servER to keep your services on hand, from a simple yaml configuration file.
|
||||||
|
icon: https://raw.githubusercontent.com/bastienwirtz/homer/main/public/logo.png
|
||||||
|
home: https://github.com/bastienwirtz/homer
|
||||||
|
name: homer
|
||||||
|
version: 1.1.1
|
||||||
|
sources:
|
||||||
|
- https://github.com/bastienwirtz/homer
|
||||||
|
maintainers:
|
||||||
|
- name: billimek
|
||||||
|
email: jeff@billimek.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
version: 1.6.2
|
||||||
|
repository: https://k8s-at-home.com/charts/
|
||||||
8
charts/homer/OWNERS
Normal file
8
charts/homer/OWNERS
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
approvers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
reviewers:
|
||||||
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
61
charts/homer/README.md
Normal file
61
charts/homer/README.md
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
# homer
|
||||||
|
|
||||||
|
This is a helm chart for [homer](https://github.com/bastienwirtz/homer).
|
||||||
|
|
||||||
|
**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/homer
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
helm install --name my-release k8s-at-home/homer
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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/homer/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 homer \
|
||||||
|
--set env.TZ="America/New_York" \
|
||||||
|
k8s-at-home/homer
|
||||||
|
```
|
||||||
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
|
chart. For example,
|
||||||
|
```console
|
||||||
|
helm install homer k8s-at-home/homer --values values.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
image:
|
||||||
|
tag: ...
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
**NOTE**
|
||||||
|
|
||||||
|
If you get
|
||||||
|
```console
|
||||||
|
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
|
||||||
|
```
|
||||||
|
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
|
||||||
2
charts/homer/ci/ct-values.yaml
Normal file
2
charts/homer/ci/ct-values.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
1
charts/homer/templates/common.yaml
Normal file
1
charts/homer/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
23
charts/homer/values.yaml
Normal file
23
charts/homer/values.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Default values for homer.
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: b4bz/homer
|
||||||
|
tag: 20.09.1
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
|
service:
|
||||||
|
port:
|
||||||
|
port: 8080
|
||||||
|
|
||||||
|
env: {}
|
||||||
|
# UID:
|
||||||
|
# GID:
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
emptyDir: false
|
||||||
|
mountPath: /www/assets
|
||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: v0.16.2106
|
appVersion: v0.16.2106
|
||||||
description: API Support for your favorite torrent trackers
|
description: API Support for your favorite torrent trackers
|
||||||
name: jackett
|
name: jackett
|
||||||
version: 5.4.0
|
version: 5.6.1
|
||||||
keywords:
|
keywords:
|
||||||
- jackett
|
- jackett
|
||||||
- torrent
|
- torrent
|
||||||
@@ -17,4 +17,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: ^1.5.0
|
version: 1.6.2
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
reviewers:
|
reviewers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
This is a helm chart for [Jackett](https://github.com/Jackett/Jackett).
|
This is a helm chart for [Jackett](https://github.com/Jackett/Jackett).
|
||||||
|
|
||||||
|
**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
|
||||||
@@ -35,7 +37,7 @@ Additionally you can take a look at the common library [values.yaml](https://git
|
|||||||
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 jackett \
|
helm install jackett \
|
||||||
--set env.TZ="America/New York" \
|
--set env.TZ="America/New_York" \
|
||||||
k8s-at-home/jackett
|
k8s-at-home/jackett
|
||||||
```
|
```
|
||||||
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
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 10.6.4
|
appVersion: 10.6.4
|
||||||
description: Jellyfin is a Free Software Media System
|
description: Jellyfin is a Free Software Media System
|
||||||
name: jellyfin
|
name: jellyfin
|
||||||
version: 3.0.0
|
version: 3.2.1
|
||||||
keywords:
|
keywords:
|
||||||
- jellyfin
|
- jellyfin
|
||||||
- plex
|
- plex
|
||||||
@@ -18,4 +18,4 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: ^1.5.0
|
version: 1.6.2
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
reviewers:
|
reviewers:
|
||||||
- billimek
|
- billimek
|
||||||
|
- onedr0p
|
||||||
|
- bjw-s
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user