Compare commits

...

81 Commits

Author SHA1 Message Date
renovate[bot]
643d60fed7 [dashmachine] Update helm chart common to v1.7.0 (#258)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 08:56:23 -05:00
renovate[bot]
d5377e032d [couchpotato] Update helm chart common to v1.7.0 (#257)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 08:56:15 -05:00
renovate[bot]
d6e87293c1 [bazarr] Update helm chart common to v1.7.0 (#256)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 08:51:29 -05:00
renovate[bot]
5ae5ab007d [alertmanager-bot] Update helm chart common to v1.7.0 (#255)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 08:51:05 -05:00
ᗪєνιη ᗷυнʟ
a077a803d4 add separate pre-release job with turnstyle (#254) 2020-11-26 14:19:28 +01:00
Mike K
45b6282a15 [common] Add args option to mainContainer (#253)
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-11-26 08:11:01 -05:00
ᗪєνιη ᗷυнʟ
e6a9d994f9 [multi-chart] bump patch (#251) 2020-11-25 19:40:41 -05:00
renovate[bot]
e94ef45b70 [alertmanager-bot] Update helm chart common to v1.6.2 (#223)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:19:01 -05:00
renovate[bot]
86907798e0 [jellyfin] Update helm chart common to v1.6.2 (#232)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:56 -05:00
renovate[bot]
1218e56529 [nzbhydra2] Update helm chart common to v1.6.2 (#236)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:49 -05:00
renovate[bot]
902574734b [organizr] Update helm chart common to v1.6.2 (#238)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:40 -05:00
renovate[bot]
f276356baa [piaware] Update helm chart common to v1.6.2 (#239)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:35 -05:00
renovate[bot]
2fdce70485 [plex-media-server] Update helm chart common to v1.6.2 (#240)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:25 -05:00
renovate[bot]
56b03ff1f1 [qbittorrent] Update helm chart common to v1.6.2 (#241)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:20 -05:00
renovate[bot]
6c1e3f0e23 [unifi-poller] Update helm chart common to v1.6.2 (#246)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:11 -05:00
renovate[bot]
25e129b57c [xteve] Update helm chart common to v1.6.2 (#247)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:17:46 -05:00
renovate[bot]
e0bae04364 [zigbee2mqtt] Update helm chart common to v1.6.2 (#248)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:17:39 -05:00
renovate[bot]
03473ff13f [zwave2mqtt] Update helm chart common to v1.6.2 (#249)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:17:30 -05:00
renovate[bot]
a024f2c9b4 [node-red] Update helm chart common to v1.6.2 (#234)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:16:27 -05:00
renovate[bot]
9a43343d0e [ombi] Update helm chart common to v1.6.2 (#237)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:16:00 -05:00
renovate[bot]
ec4525d0c1 [homer] Update helm chart common to v1.6.2 (#230)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:15:35 -05:00
renovate[bot]
85a391e902 [sabnzbd] Update helm chart common to v1.6.2 (#243)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:15:16 -05:00
renovate[bot]
e301c08620 [nzbget] Update helm chart common to v1.6.2 (#235)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:15:02 -05:00
renovate[bot]
429db07f64 [sonarr] Update helm chart common to v1.6.2 (#244)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:14:45 -05:00
renovate[bot]
6a281a2828 [lidarr] Update helm chart common to v1.6.2 (#233)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:14:32 -05:00
renovate[bot]
d021b87405 [jackett] Update helm chart common to v1.6.2 (#231)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:14:11 -05:00
renovate[bot]
6174dfc8ef [radarr] Update helm chart common to v1.6.2 (#242)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:13:53 -05:00
renovate[bot]
5e9897d8cc [tautulli] Update helm chart common to v1.6.2 (#245)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:13:12 -05:00
renovate[bot]
819e3a6fce [freshrss] Update helm chart common to v1.6.2 (#229)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:12:48 -05:00
renovate[bot]
b278fc51b5 [flood] Update helm chart common to v1.6.2 (#228)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:12:24 -05:00
renovate[bot]
94521bcdda [ddclient] Update helm chart common to v1.6.2 (#227)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:12:04 -05:00
renovate[bot]
fa5cc7171c [bazarr] Update helm chart common to v1.6.2 (#224)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:11:49 -05:00
ᗪєνιη ᗷυнʟ
58af006816 [renovate] only rebase when conflicted (#250) 2020-11-25 16:11:29 -05:00
renovate[bot]
fba5edf834 [dashmachine] Update helm chart common to v1.6.2 (#226)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 15:45:40 -05:00
renovate[bot]
250d308995 [couchpotato] Update helm chart common to v1.6.2 (#225)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 15:45:13 -05:00
ᗪєνιη ᗷυнʟ
dc90788f78 remove gitAuthor from renovate config (#222) 2020-11-25 21:40:04 +01:00
ᗪєνιη ᗷυнʟ
e93bf613f1 [common] set dnspolicy default to ClusterFirst (#221) 2020-11-25 21:10:25 +01:00
renovate[bot]
5edd9b8b00 [teslamate] Update helm chart postgresql to v10.1.1 (#219)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 20:27:44 +01:00
renovate[bot]
70990295db [statping] Update helm chart postgresql to v10.1.1 (#218)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 20:22:30 +01:00
ᗪєνιη ᗷυнʟ
66feb4ca7e add suppressNotifications (#220) 2020-11-25 17:25:48 +01:00
ᗪєνιη ᗷυнʟ
693902005a [home-assistant] update postgresql to use right options (#215) 2020-11-25 11:19:46 -05:00
ᗪєνιη ᗷυнʟ
10ac770b40 [homer] add new chart (#216) 2020-11-24 19:50:40 -05:00
Ryan Holt
8d6ec42996 Merge pull request #214 from k8s-at-home/alertmanager-bot-common
[alertmanager-bot] new chart
2020-11-24 19:05:10 -05:00
Devin Buhl
2632a248a4 [alertmanager-bot] fix bci errors 2020-11-24 17:12:18 -05:00
Devin Buhl
c78292c8e7 [alertmanager-bot] fix blank lines 2020-11-24 17:07:49 -05:00
ᗪєνιη ᗷυнʟ
226c0d19c1 remove tabs 2020-11-24 17:03:56 -05:00
ᗪєνιη ᗷυнʟ
c46da9968d Update ct-values.yaml 2020-11-24 17:03:37 -05:00
Devin Buhl
0bf211c8e9 [alertmanager-bot] new chart 2020-11-24 17:02:04 -05:00
Ryan Holt
4ef7b2b312 [dashmachine] convert dashmachine to common library and bump to 2.0.0 (#213)
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-11-24 13:48:07 -05:00
renovate[bot]
1d5b7ff5bf [statping] Update helm chart postgresql to v10 (#210)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-24 11:16:01 -05:00
renovate[bot]
7fc5825da9 [teslamate] Update helm chart postgresql to v10 (#211)
* [teslamate] Update helm chart postgresql to v10

* bump minor

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-24 11:10:45 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
e621f470f5 [home-assistant] Upgrade dependencies (#212)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-24 11:04:08 -05:00
renovate[bot]
23f9c09612 [statping] Update helm chart postgresql to v9.8.12 (#203)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-24 10:26:46 -05:00
renovate[bot]
5a1ae94997 [powerdns] Update helm chart postgresql to v9.8.12 (#202)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-24 09:42:32 -05:00
renovate[bot]
415f618e2b [powerdns] Update helm chart mariadb to v7.10.4 (#201)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-24 09:32:56 -05:00
renovate[bot]
118ed4cc26 Configure Renovate (#196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-24 09:17:38 -05:00
Mark McWhirter
3b0b096427 [traefik-forward-auth] Add cookie secret to values (#197)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-24 09:15:11 -05:00
ᗪєνιη ᗷυнʟ
a05b836cd1 [workflow] update linting and release workflows (#195) 2020-11-24 08:30:11 -05:00
ᗪєνιη ᗷυнʟ
1355fc9a06 [multi-chart] prepare for renovatebot (#194) 2020-11-23 16:32:12 -05:00
Nathan Pawelek
60f85c84eb [freshrss] new chart (#193) 2020-11-23 16:04:40 -05:00
ᗪєνιη ᗷυнʟ
f4a926a7ee [multi-chart] bump charts to latest common library version (#192) 2020-11-23 16:20:41 +01:00
ᗪєνιη ᗷυнʟ
1902db60b9 [ombi] add mariadb to ombi deps (#189) 2020-11-23 15:29:30 +01:00
ᗪєνιη ᗷυнʟ
eb7cfe789e add ISSUE_TEMPLATE (#190) 2020-11-23 09:27:02 -05:00
ᗪєνιη ᗷυнʟ
ff1b01b296 [jackett] bump chart and common version (#188)
* bump chart and common version

* fix readme

* Update OWNERS
2020-11-23 15:19:40 +01:00
Bernd Schörgers
0c99fb1339 [common] 1.6.1 (#191) 2020-11-23 15:10:29 +01:00
André Bauer
8bc2923281 [oauth2-proxy] fixing home & source urls in chart.yaml (#187)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-23 08:00:34 -05:00
ᗪєνιη ᗷυнʟ
5f17e040e8 [common] 1.6.0 (#178)
Co-authored-by: Bernd Schörgers <bernd@bjws.nl>
Co-authored-by: bjws <bernd@bjws.nl>
2020-11-23 07:55:12 -05:00
Marco Kilchhofer
158674fc45 [unifi] Fix speedtest container port (#186) 2020-11-21 15:36:48 -05:00
ᗪєνιη ᗷυнʟ
8a2859285c [flood] fix data dir (#185) 2020-11-19 23:18:11 -05:00
ᗪєνιη ᗷυнʟ
79e40ecd76 [zigbee2mqtt] set ZIGBEE2MQTT_DATA envar (#182) 2020-11-19 15:18:48 +01:00
Mark McWhirter
e3c38e70eb [traefik-forward-auth] Use namespace in the middleware (#181)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-19 08:07:44 -05:00
ᗪєνιη ᗷυнʟ
c4ba55abe2 [flood] new chart (#184) 2020-11-18 18:46:04 -05:00
ᗪєνιη ᗷυнʟ
0c6be064e3 [node-red] migrate to common library (#180) 2020-11-18 13:54:50 -05:00
Ryan Holt
e2eca4851b [oauth2-proxy] migrate oauth2-proxy chart (#179) 2020-11-17 17:03:15 -05:00
Thomas Ingvarsson
0f318cb980 [unifi] Add jvmInitHeapSize and jvmMaxHeapSize configuration (#175)
* Add jvmInitHeapSize and jvmMaxHeapSize which are passed on
  to the container as env vars

* Bump version, no change in default behaviour

* Update README.md with new configuration parameters

Signed-off-by: Thomas Ingvarsson <ingvarsson.thomas@gmail.com>
2020-11-17 09:39:37 -05:00
Mike K
e6cdf79352 [Deconz] - Add option for a persistence.subpath (#172)
Co-authored-by: Mike Knell <mike.knell@lifecycle-software.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-16 19:12:29 -05:00
Carlos Ravelo
e4528a12c7 [Plex] - Allow claimName to not be specified for extra mounts and add subPath (#168)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-16 18:34:22 -05:00
ᗪєνιη ᗷυнʟ
459110633a [ddclient] new chart (#167) 2020-11-16 12:38:17 -05:00
ᗪєνιη ᗷυнʟ
5c130e5cbc [plex-media-server] add new chart with common library (#171) 2020-11-16 12:37:47 -05:00
Bernd Schörgers
e46d898ee4 [common] Read and the service ports correctly (#170) 2020-11-16 10:02:36 -05:00
Carlos Ravelo
e67b0cc17b [Plex] Added the ability to specify subPath on each extraData mount (#159)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-15 19:22:08 -05:00
216 changed files with 2851 additions and 1000 deletions

32
.github/ISSUE_TEMPLATE/bug-report.md vendored Normal file
View 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. -->

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

View File

@@ -1,8 +1,10 @@
remote: origin
target-branch: master
helm-extra-args: --timeout 600s
chart-dirs:
- charts
excluded-charts:
- common
chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
- k8s-at-home=https://k8s-at-home.com/charts
excluded-charts:
- common

27
.github/renovate.json vendored Normal file
View 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"]
}
]
}

View File

@@ -1,28 +1,45 @@
name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
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: |
git fetch --prune --unshallow;
echo "commitmsg=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_ENV
changed=$(ct list-changed --config .github/ct.yaml)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
id: lint
uses: helm/chart-testing-action@v1.0.0
if: "! contains(env.commitmsg, '[skip lint]')"
with:
command: lint
config: ct.yaml
run: ct lint --config .github/ct.yaml
if: steps.list-changed.outputs.changed == 'true'
- name: Create kind cluster
uses: helm/kind-action@v1.0.0
if: "steps.lint.outputs.changed == 'true' && ! contains(env.commitmsg, '[skip install]')"
uses: helm/kind-action@v1.1.0
if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install)
uses: helm/chart-testing-action@v1.0.0
if: "steps.lint.outputs.changed == 'true' && ! contains(env.commitmsg, '[skip install]')"
with:
command: install
config: ct.yaml
run: ct install --config .github/ct.yaml
if: steps.list-changed.outputs.changed == 'true'

View File

@@ -1,45 +1,74 @@
name: Release Charts
on:
push:
branches:
- master
paths:
- "charts/**"
jobs:
release:
timeout-minutes: 5
pre-release:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Turnstyle
- name: Block concurrent releases
uses: softprops/turnstyle@v1
with:
continue-after-seconds: 180
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Fetch history
run: git fetch --prune --unshallow
release:
needs: pre-release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
# See https://github.com/helm/chart-releaser-action/issues/6
- name: Install Helm
run: |
curl -fsSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
- name: Add dependency chart repos
run: |
helm repo add stable https://charts.helm.sh/stable
uses: azure/setup-helm@v1
with:
version: v3.4.0
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.0.0
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:
needs: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: "gh-pages"
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Commit and push timestamp updates
run: |
if [[ -f index.yaml ]]; then
export generated_date=$(date --utc +%FT%T.%9NZ)
sed -i -e "s/^generated:.*/generated: \"$generated_date\"/" index.yaml
git add index.yaml
git commit -sm "Update generated timestamp [ci-skip]" || exit 0
git push
fi

View 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

View File

@@ -0,0 +1,21 @@
apiVersion: v2
appVersion: 0.4.2
description: Bot for Prometheus Alertmanager
name: alertmanager-bot
version: 1.2.0
keywords:
- alertmanager
- telegram
- bot
- alerting
home: https://github.com/k8s-at-home/charts/tree/master/charts/alertmanager-bot
sources:
- https://hub.docker.com/r/metalmatze/alertmanager-bot
- https://github.com/metalmatze/alertmanager-bot
maintainers:
- name: billimek
email: jeff@billimek.com
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 1.7.0

View File

@@ -0,0 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- onedr0p
- bjw-s

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

View File

@@ -0,0 +1,7 @@
service:
enabled: false
probes:
liveness:
enabled: false
readiness:
enabled: false

View File

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

View File

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

View 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

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v0.9.0.5
description: Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements
name: bazarr
version: 4.4.0
version: 4.8.0
keywords:
- bazarr
- radarr
@@ -21,4 +21,4 @@ maintainers:
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: ^1.5.0
version: 1.7.0

View File

@@ -1,4 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- onedr0p
- bjw-s

View File

@@ -2,6 +2,8 @@
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;
```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,
```console
helm install bazarr \
--set env.TZ="America/New York" \
--set env.TZ="America/New_York" \
k8s-at-home/bazarr
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: common
description: Function library for k8s-at-home charts
type: library
version: 1.5.0
version: 1.7.0
keywords:
- k8s-at-home
- common

View File

@@ -1,7 +1,10 @@
# 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
@@ -9,22 +12,84 @@ This chart provides common template helpers which can be used to develop new cha
## 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
dependencies:
- name: common
version: 0.x.x
repository: https://k8s-at-home.com/charts/
# node-red-values.yaml
image:
repository: nodered/node-red
tag: 1.2.5
env:
TZ: America/New_York
```
```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
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.names.fullname" . }}
data:
myvalue: "Hello World"
# Chart.yaml
dependencies:
- name: common
version: x.x.x
repository: https://k8s-at-home.com/charts/
```
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
```

View File

@@ -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" -}}
{{- /* Merge the local chart values and the common chart defaults */ -}}
{{- include "common.values.setup" . }}
@@ -10,10 +13,16 @@
{{- /* Build the templates */ -}}
{{- include "common.pvc" . }}
{{- print "---" | nindent 0 -}}
{{- if eq .Values.controllerType "statefulset" }}
{{- include "common.statefulset" . | nindent 0 }}
{{ else }}
{{- if .Values.serviceAccount.create -}}
{{- include "common.serviceAccount" . }}
{{- print "---" | nindent 0 -}}
{{- end -}}
{{- if eq .Values.controllerType "deployment" }}
{{- 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 -}}
{{- print "---" | nindent 0 -}}
{{ include "common.service" . | nindent 0 }}

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

View File

@@ -1,8 +1,12 @@
{{/*
This template serves as the blueprint for the Deployment objects that are created
within the common library.
*/}}
{{- define "common.deployment" -}}
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
kind: Deployment
metadata:
name: {{ template "common.names.fullname" . }}
name: {{ include "common.names.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with .Values.controllerLabels }}
@@ -34,10 +38,17 @@ spec:
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 }}
@@ -47,10 +58,14 @@ spec:
{{- with .Values.additionalContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with (include "common.controller.volumes" . | trim) }}
volumes:
{{- include "common.controller.volumes" . | trim | nindent 6 }}
{{- . | nindent 6 }}
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View File

@@ -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" -}}
{{- if .Values.ingress.enabled -}}
{{- $svcPort := .Values.service.port.port -}}

View File

@@ -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" -}}
{{- /* Generate pvc as required */ -}}
{{- range $index, $PVC := .Values.persistence }}

View File

@@ -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" -}}
{{- if .Values.service.enabled -}}
{{- /* Generate primary service */ -}}

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

View File

@@ -1,8 +1,12 @@
{{/*
This template serves as the blueprint for the StatefulSet objects that are created
within the common library.
*/}}
{{- define "common.statefulset" -}}
apiVersion: {{ include "common.capabilities.statefulset.apiVersion" . }}
kind: StatefulSet
metadata:
name: {{ template "common.names.fullname" . }}
name: {{ include "common.names.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with .Values.controllerLabels }}
@@ -35,6 +39,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "common.names.serviceAccountName" . }}
{{- with .Values.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
@@ -48,10 +53,10 @@ spec:
{{- with .Values.additionalContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with (include "common.controller.volumes" . | trim) }}
volumes:
{{- include "common.controller.volumes" . | trim | nindent 6 }}
{{- . | nindent 6 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View File

@@ -1,12 +1,12 @@
{{/*
The OpenVPN configmaps to be included
The VPN config and scripts to be included.
*/}}
{{- define "common.addon.vpn.configmap" -}}
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "common.names.fullname" . }}-vpn
name: {{ include "common.names.fullname" . }}-vpn
labels:
{{- include "common.labels" . | nindent 4 }}
data:

View File

@@ -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" -}}
{{- if .Values.addons.vpn.networkPolicy.enabled -}}
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: {{ template "common.names.fullname" . }}
name: {{ include "common.names.fullname" . }}
spec:
podSelector:
matchLabels:

View File

@@ -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" -}}
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down -}}
name: vpnconfig
configMap:
name: {{ template "common.names.fullname" . }}-vpn
name: {{ include "common.names.fullname" . }}-vpn
items:
{{- if .Values.addons.vpn.configFile }}
- key: vpnConfigfile

View File

@@ -1,5 +1,6 @@
{{/*
Template to render VPN addon
It will include / inject the required templates based on the given values.
*/}}
{{- define "common.addon.vpn" -}}
{{- if .Values.addons.vpn.enabled -}}

View File

@@ -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" -}}
{{/* Append the openVPN container to the additionalContainers */}}

View File

@@ -1,5 +1,5 @@
{{/*
The OpenVPN container(s) to be inserted
The OpenVPN sidecar container to be inserted.
*/}}
{{- define "common.addon.openvpn.container" -}}
name: openvpn
@@ -22,7 +22,7 @@ envFrom:
{{- if .Values.addons.vpn.openvpn.authSecret }}
name: {{ .Values.addons.vpn.openvpn.authSecret }}
{{- else }}
name: {{ template "common.names.fullname" . }}-openvpn
name: {{ include "common.names.fullname" . }}-openvpn
{{- 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 }}

View File

@@ -1,12 +1,12 @@
{{/*
The OpenVPN secrets to be included
The OpenVPN credentials secrets to be included.
*/}}
{{- define "common.addon.openvpn.secret" -}}
{{- with .Values.addons.vpn.openvpn.auth -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "common.names.fullname" $ }}-openvpn
name: {{ include "common.names.fullname" $ }}-openvpn
labels:
{{- include "common.labels" $ | nindent 4 }}
data:

View File

@@ -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" -}}
{{/* Append the Wireguard container to the additionalContainers */}}

View File

@@ -1,5 +1,5 @@
{{/*
The Wireguard container(s) to be inserted
The Wireguard sidecar container to be inserted.
*/}}
{{- define "common.addon.wireguard.container" -}}
name: wireguard

View File

@@ -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" -}}
{{- $ingressName := include "common.names.fullname" . -}}
{{- $values := .Values.ingress -}}

View File

@@ -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" -}}
{{- $values := .Values.persistence -}}
{{- if hasKey . "ObjectValues" -}}

View File

@@ -1,3 +1,7 @@
{{/*
This template serves as a blueprint for all Service objects that are created
within the common library.
*/}}
{{- define "common.classes.service" -}}
{{- $values := .Values.service -}}
{{- if hasKey . "ObjectValues" -}}
@@ -9,7 +13,7 @@
{{- if hasKey $values "nameSuffix" -}}
{{- $serviceName = printf "%v-%v" $serviceName $values.nameSuffix -}}
{{ end -}}
{{- $svcType := $values.type -}}
{{- $svcType := $values.type | default "" -}}
apiVersion: v1
kind: Service
metadata:
@@ -58,17 +62,7 @@ spec:
{{- if $values.publishNotReadyAddresses }}
publishNotReadyAddresses: {{ $values.publishNotReadyAddresses }}
{{- end }}
ports:
- port: {{ $values.port.port }}
targetPort: {{ $values.port.targetPort }}
protocol: {{ $values.port.protocol }}
name: {{ $values.port.name }}
{{- if (and (eq $svcType "NodePort") (not (empty $values.port.nodePort))) }}
nodePort: {{ $values.port.nodePort }}
{{ end }}
{{- with $values.additionalPorts }}
{{ toYaml . | nindent 4 }}
{{- end }}
{{- include "common.classes.service.ports" (dict "svcType" $svcType "values" $values ) | trim | nindent 2 }}
selector:
{{- include "common.labels.selectorLabels" . | nindent 4 }}
{{- end }}

View File

@@ -0,0 +1,23 @@
{{/*
Render all the ports and additionalPorts for a Service object.
*/}}
{{- define "common.classes.service.ports" -}}
{{- $ports := list -}}
{{- $values := .values -}}
{{- $ports = mustAppend $ports $values.port -}}
{{- range $_ := $values.additionalPorts -}}
{{- $ports = mustAppend $ports . -}}
{{- end }}
{{- if $ports -}}
ports:
{{- range $_ := $ports }}
- port: {{ .port }}
targetPort: {{ .targetPort | default "http" }}
protocol: {{ .protocol | default "TCP" }}
name: {{ .name | default "http" }}
{{- if (and (eq $.svcType "NodePort") (not (empty .nodePort))) }}
nodePort: {{ .nodePort }}
{{ end }}
{{- end -}}
{{- end -}}
{{- end }}

View File

@@ -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" -}}
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
@@ -10,7 +21,7 @@ Return the appropriate apiVersion for deployment.
{{- end -}}
{{/*
Return the appropriate apiVersion for statefulset.
Return the appropriate apiVersion for StatefulSet objects.
*/}}
{{- define "common.capabilities.statefulset.apiVersion" -}}
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
@@ -21,7 +32,7 @@ Return the appropriate apiVersion for statefulset.
{{- end -}}
{{/*
Return the appropriate apiVersion for ingress.
Return the appropriate apiVersion for Ingress objects.
*/}}
{{- define "common.capabilities.ingress.apiVersion" -}}
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}

View File

@@ -1,5 +1,5 @@
{{/*
Common labels
Common labels shared across objects.
*/}}
{{- define "common.labels" -}}
helm.sh/chart: {{ include "common.names.chart" . }}
@@ -11,7 +11,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
Selector labels shared across objects.
*/}}
{{- define "common.labels.selectorLabels" -}}
app.kubernetes.io/name: {{ include "common.names.name" . }}

View File

@@ -31,12 +31,12 @@ Create chart name and version as used by the chart label.
{{- end }}
{{/*
Create the name of the service account to use
Create the name of the ServiceAccount to use.
*/}}
{{- define "common.names.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "k8s-at-home.fullname" .) .Values.serviceAccount.name }}
{{- default (include "common.names.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

View File

@@ -1,5 +1,7 @@
{{/*
Merge the local chart values and the common chart defaults.
*/}}
{{- define "common.values.setup" -}}
{{- /* Merge the local chart values and the common chart defaults */ -}}
{{- if .Values.common -}}
{{- $defaultValues := deepCopy .Values.common -}}
{{- $userValues := deepCopy (omit .Values "common") -}}

View File

@@ -1,8 +1,13 @@
{{- /* The main containter that will be included in the controller */ -}}
{{- /*
The main container included in the controller.
*/ -}}
{{- define "common.controller.mainContainer" -}}
- name: {{ template "common.names.fullname" . }}
- name: {{ include "common.names.fullname" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.args }}
args: {{ . }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 4 }}
@@ -14,15 +19,7 @@
value: {{ $value | quote }}
{{- end }}
{{- end }}
ports:
- name: {{ .Values.service.port.name }}
containerPort: {{ .Values.service.port.port }}
protocol: {{ .Values.service.port.protocol }}
{{- range $port := .Values.service.additionalPorts }}
- name: {{ $port.name }}
containerPort: {{ $port.port }}
protocol: {{ $port.protocol }}
{{- end }}
{{- include "common.controller.ports" . | trim | nindent 2 }}
volumeMounts:
{{- range $index, $PVC := .Values.persistence }}
{{- if $PVC.enabled }}

View File

@@ -0,0 +1,39 @@
{{/*
Ports included by the controller.
*/}}
{{- define "common.controller.ports" -}}
{{- $ports := list -}}
{{- with .Values.service -}}
{{- $serviceValues := deepCopy . -}}
{{/* append the ports for the main service */}}
{{- if .enabled -}}
{{- $_ := set .port "name" (default "http" .port.name) -}}
{{- $ports = mustAppend $ports .port -}}
{{- range $_ := .additionalPorts -}}
{{/* append the additonalPorts for the main service */}}
{{- $ports = mustAppend $ports . -}}
{{- end }}
{{- end }}
{{/* append the ports for each additional service */}}
{{- range $_ := .additionalServices }}
{{- if .enabled -}}
{{- $_ := set .port "name" (required "Missing port.name" .port.name) -}}
{{- $ports = mustAppend $ports .port -}}
{{- range $_ := .additionalPorts -}}
{{/* append the additonalPorts for each additional service */}}
{{- $ports = mustAppend $ports . -}}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{/* export/render the list of ports */}}
{{- if $ports -}}
ports:
{{- range $_ := $ports }}
- name: {{ .name }}
containerPort: {{ .port }}
protocol: {{ .protocol | default "TCP" }}
{{- end -}}
{{- end -}}
{{- end -}}

View File

@@ -1,5 +1,5 @@
{{/*
Default liveness/readiness/startup probes
Liveness/readiness/startup probes based on tcpSocket checks.
*/}}
{{- define "common.controller.probes.tcpSocket" -}}
{{- if .Values.probes.liveness.enabled -}}

View File

@@ -1,5 +1,5 @@
{{/*
volumes included by the controller
Volumes included by the controller.
*/}}
{{- define "common.controller.volumes" -}}
{{- range $index, $persistence := .Values.persistence }}

View File

@@ -1,21 +1,39 @@
# type: options are statefulset or deployment
# type: options are deployment, daemonset or statefulset
controllerType: deployment
# Set annotations on the deployment/statefulset
# Set annotations on the deployment/statefulset/daemonset
controllerAnnotations: {}
# Set labels on the deployment/statefulset
# Set labels on the deployment/statefulset/daemonset
controllerLabels: {}
replicas: 1
strategy:
## For Deployments, valid values are Recreate and RollingUpdate
## For StatefulSets, valid values are OnDelete and RollingUpdate
## DaemonSets ignore this
type: RollingUpdate
# Override the default args
args: []
# Set annotations on the pod
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: {}
# When using hostNetwork make sure you set dnsPolicy to ClusterFirstWithHostNet
hostNetwork: false
dnsPolicy: ClusterFirst
initContainers: []
additionalContainers: []
@@ -44,9 +62,11 @@ service:
# Specify the default port information
port:
port:
name: http
# name defaults to http
name:
protocol: TCP
targetPort: http
# targetPort defaults to http
targetPort:
## Specify the nodePort value for the LoadBalancer and NodePort service types.
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
##
@@ -66,10 +86,12 @@ service:
# type: ClusterIP
# # Specify the default port information
# port:
# port: ""
# name: http
# port:
# # name defaults to http
# name:
# protocol: TCP
# targetPort: http
# # targetPort defaults to http
# targetPort:
# # nodePort:
# additionalPorts: []
# annotations: {}
@@ -147,6 +169,14 @@ affinity: {}
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:
vpn:
enabled: false

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: latest
description: CouchPotato (CP) is an automatic NZB and torrent downloader.
name: couchpotato
version: 3.0.0
version: 3.3.0
keywords:
- couchpotato
- usenet
@@ -18,4 +18,4 @@ maintainers:
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: ^1.5.0
version: 1.7.0

View File

@@ -1,4 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- billimek
- onedr0p
- bjw-s

View File

@@ -2,6 +2,8 @@
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;
```shell

View 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

View File

@@ -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
home: https://github.com/rmountjoy92/DashMachine
name: dashmachine
version: 1.0.0
version: 2.2.0
sources:
- https://github.com/rmountjoy92/DashMachine
maintainers:
- name: carpenike
email: ryan@ryanholt.net
dependencies:
- name: common
version: 1.7.0
repository: https://k8s-at-home.com/charts/

View File

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

View File

@@ -1,31 +1,69 @@
dashmachine
===========
DashMachine is another web application bookmark dashboard, with fun features.
# Dashmachine
## Chart Values
This is a helm chart for [DashMachine](https://github.com/rmountjoy92/DashMachine).
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| deploymentAnnotations | object | `{}` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"rmountjoy/dashmachine"` | |
| image.tag | string | `"latest"` | |
| ingress.annotations | object | `{}` | |
| ingress.enabled | bool | `false` | |
| ingress.hosts[0] | string | `"chart-example.local"` | |
| ingress.paths[0] | string | `"/"` | |
| ingress.tls | list | `[]` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| persistence.accessModes[0] | string | `"ReadWriteOnce"` | |
| persistence.enabled | bool | `false` | |
| persistence.size | string | `"1Gi"` | |
| persistence.storageClassName | string | `""` | |
| podAnnotations | object | `{}` | |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| service.port | int | `5000` | |
| service.type | string | `"ClusterIP"` | |
| tolerations | list | `[]` | |
**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/dashmachine
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/dashmachine
```
## 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/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.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,65 +1,22 @@
# Default values for dashmachine.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: rmountjoy/dashmachine
tag: v0.5-4
pullPolicy: IfNotPresent
nameOverride: ""
fullnameOverride: ""
strategy:
type: Recreate
service:
type: ClusterIP
port: 5000
port:
port: 5000
ingress:
enabled: false
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: {}
env: {}
# TZ: UTC
persistence:
enabled: false
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
storageClass: ""
accessModes:
- ReadWriteOnce
size: 1Gi
podAnnotations: {}
deploymentAnnotations: {}
config:
enabled: false
emptyDir: false
mountPath: /dashmachine/dashmachine/user_data

View 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

View File

@@ -0,0 +1,20 @@
apiVersion: v2
appVersion: 3.9.1
description: Perl client used to update dynamic DNS entries for accounts on Dynamic DNS Network Service Providers
name: ddclient
version: 1.2.1
keywords:
- ddclient
- dns
home: https://github.com/ddclient/ddclient
icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/ddclient-logo.png
sources:
- https://github.com/ddclient/ddclient
- https://hub.docker.com/r/linuxserver/ddclient
maintainers:
- name: billimek
email: jeff@billimek.com
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 1.6.2

8
charts/ddclient/OWNERS Normal file
View File

@@ -0,0 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- onedr0p
- bjw-s

61
charts/ddclient/README.md Normal file
View File

@@ -0,0 +1,61 @@
# 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;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/ddclient
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/ddclient
```
## 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/ddclient/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 ddclient \
--set env.TZ="America/New_York" \
k8s-at-home/ddclient
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install ddclient k8s-at-home/ddclient --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`.

View File

@@ -0,0 +1,7 @@
service:
enabled: false
probes:
liveness:
enabled: false
readiness:
enabled: false

View File

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

View File

@@ -0,0 +1,31 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the configMap to the additionalVolumes */}}
{{- define "ddclient.configmap.volume" -}}
name: ddclient-settings
configMap:
name: {{ template "common.names.fullname" . }}-settings
{{- end -}}
{{- $volume := include "ddclient.configmap.volume" . | fromYaml -}}
{{- if $volume -}}
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
{{- end -}}
{{/* Append the configMap volume to the additionalVolumeMounts */}}
{{- define "ddclient.configmap.volumeMount" -}}
name: ddclient-settings
mountPath: /defaults/ddclient.conf
subPath: ddclient.conf
{{- end -}}
{{- $volumeMount := include "ddclient.configmap.volumeMount" . | fromYaml -}}
{{- if $volumeMount -}}
{{- $additionalVolumeMounts := append .Values.additionalVolumeMounts $volumeMount }}
{{- $_ := set .Values "additionalVolumeMounts" (deepCopy $additionalVolumeMounts) -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "common.names.fullname" . }}-settings
labels:
{{- include "common.labels" . | nindent 4 }}
data:
ddclient.conf: |
{{ .Values.config | indent 4 }}

View File

@@ -0,0 +1,37 @@
# Default values for ddclient.
image:
repository: linuxserver/ddclient
pullPolicy: IfNotPresent
tag: version-v3.9.1
env: {}
# TZ:
# PUID:
# PGID:
service:
enabled: false
probes:
liveness:
enabled: false
readiness:
enabled: false
strategy:
type: Recreate
config: |
# This is the configuration for ddclient
# Inorder for it to function you need to set it up
# e.g. this is the config for Cloudflare
use=web
web=dynamicdns.park-your-domain.com/getip
protocol=cloudflare
ssl=yes
ttl=1
login=${CF_EMAIL}
password=${CF_GLOBAL_APIKEY}
zone=${DOMAIN}.${TLD}
${DOMAIN}.${TLD}

24
charts/flood/.helmignore Normal file
View 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

22
charts/flood/Chart.yaml Normal file
View File

@@ -0,0 +1,22 @@
apiVersion: v2
appVersion: 4.1.1
description: Flood is a monitoring service for various torrent clients
name: flood
version: 1.2.1
keywords:
- flood
- rtorrent
- qbittorrent
- transmission
home: https://github.com/k8s-at-home/charts/tree/master/charts/flood
icon: https://raw.githubusercontent.com/jesec/flood/master/flood.svg
sources:
- https://github.com/jesec/flood
- https://hub.docker.com/r/jesec/flood
maintainers:
- name: billimek
email: jeff@billimek.com
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 1.6.2

8
charts/flood/OWNERS Normal file
View File

@@ -0,0 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- onedr0p
- bjw-s

61
charts/flood/README.md Normal file
View File

@@ -0,0 +1,61 @@
# 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;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/flood
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/flood
```
## 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/flood/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 flood \
--set env.TZ="America/New_York" \
k8s-at-home/flood
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install flood k8s-at-home/flood --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`.

View File

@@ -0,0 +1,7 @@
ingress:
enabled: true
persistence:
data:
enabled: true
emptyDir: true
mountPath: /data

View File

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

View File

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

36
charts/flood/values.yaml Normal file
View File

@@ -0,0 +1,36 @@
# Default values for flood.
image:
repository: jesec/flood
pullPolicy: IfNotPresent
tag: 4.1.1
strategy:
type: Recreate
service:
port:
port: 3000
# Other environment variables that can be configure can be seen at
# https://github.com/jesec/flood/blob/master/config.cli.js
env:
FLOOD_OPTION_RUNDIR: /data
persistence:
data:
enabled: false
emptyDir: false
mountPath: /data
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""

View 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

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

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

67
charts/freshrss/README.md Normal file
View 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.

View File

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

View File

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

View File

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

View 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

View 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

View File

@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 0.116.1
appVersion: 0.118.3
description: Home Assistant
name: home-assistant
version: 2.7.0
version: 3.1.0
keywords:
- home-assistant
- hass
@@ -20,19 +20,15 @@ maintainers:
- name: runningman84
email: phil@hellmi.de
dependencies:
- name: esphome
repository: https://k8s-at-home.com/charts/
version: ~2.2.0
condition: esphome.enabled
- name: postgresql
version: 9.1.2
version: 10.1.1
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: mariadb
version: 7.7.1
version: 9.0.1
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled
- name: influxdb
version: 0.6.7
version: 1.0.0
repository: https://charts.bitnami.com/bitnami
condition: influxdb.enabled

View File

@@ -2,6 +2,8 @@
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;
```shell
@@ -9,6 +11,10 @@ helm repo add k8s-at-home https://k8s-at-home.com/charts/
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
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 |
|-------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|
| `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.pullSecrets` | Secrets to use when pulling the image | `[]` |
| `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 | `[]` |
| `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.tag` | Image tag | `3.4.1` |
| `vscode.image.tag` | Image tag | `3.7.2` |
| `vscode.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `vscode.hassConfig` | Base path of the home assistant configuration files | `/config` |
| `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.loadBalancerIP` | Loadbalancer IP for the AppDaemon 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` |
| `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` |

View File

@@ -1,4 +1,5 @@
{{- if .Values.configurator.enabled }}
---
apiVersion: v1
kind: Secret
metadata:
@@ -20,8 +21,9 @@ data:
password: {{ .Values.configurator.password | b64enc | quote }}
{{- end }}
{{- end }}
---
{{- if .Values.vscode.enabled }}
---
apiVersion: v1
kind: Secret
metadata:
@@ -37,8 +39,9 @@ data:
password: {{ .Values.vscode.password | b64enc | quote }}
{{- end }}
{{- end }}
---
{{- if .Values.appdaemon.enabled }}
---
apiVersion: v1
kind: Secret
metadata:

View File

@@ -4,7 +4,7 @@
image:
repository: homeassistant/home-assistant
tag: 0.116.1
tag: 0.118.3
pullPolicy: IfNotPresent
pullSecrets: []
@@ -252,7 +252,7 @@ vscode:
##
image:
repository: codercom/code-server
tag: 3.4.1
tag: 3.7.2
pullPolicy: IfNotPresent
## VSCode password
@@ -350,31 +350,17 @@ appdaemon:
loadBalancerSourceRanges: []
# 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
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
mariadb:
enabled: false
db:
name: home-assistant
user: home-assistant
architecture: standalone
auth:
database: home-assistant
username: home-assistant
password: home-assistant-pass
replication:
enabled: false
rootUser:
password: home-assistantrootpass
master:
rootPassword: home-assistantrootpass
primary:
persistence:
enabled: false
# storageClass: ""
@@ -383,11 +369,9 @@ mariadb:
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
postgresql:
enabled: false
global:
postgresql:
postgresqlUsername: home-assistant
postgresqlPassword: home-assistant-pass
postgresqlDatabase: home-assistant
postgresqlUsername: home-assistant
postgresqlPassword: home-assistant-pass
postgresqlDatabase: home-assistant
persistence:
enabled: false
# storageClass: ""

24
charts/homer/.helmignore Normal file
View 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
View 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
View File

@@ -0,0 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- onedr0p
- bjw-s

61
charts/homer/README.md Normal file
View 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`.

Some files were not shown because too many files have changed in this diff Show More