Compare commits

...

76 Commits

Author SHA1 Message Date
Ryan Wholey
10fb48fd27 [youtubedl-material] Fix incorrect mount paths (#1112) 2021-08-06 23:06:17 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
fe6403318e [unifi] Reimplement external MongoDB (#1113)
* Reimplement external MongoDB
* fix PVC mountPath for backwards compatibility

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-08-06 11:34:00 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
d80eeedd4c [unifi] Migrate to common library (#1101) 2021-08-05 17:06:27 -04:00
k8s-at-home[bot]
2216127da4 Auto-generate chart README [no ci] 2021-08-03 19:30:15 +00:00
Ryan Holt
9e9d39e2b0 [vikunja] Added link for postgresql and updated readme to support (#1110)
* added link for postgresql and updated readme to support. bumped version
2021-08-03 21:29:48 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
be699c5035 ci: Update regex 2021-08-03 21:29:05 +02:00
Angel Nunez Mencias
2df5b026b8 Merge pull request #1108 from toboshii/fix/namespace-selector
[pod-gateway] Fix for allowing custom namespace selectors without dict merges
2021-08-03 14:09:40 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
02f1040111 Merge branch 'master' into fix/namespace-selector 2021-08-03 13:54:23 +02:00
renovate[bot]
d44819695f chore(deps): update external patch dep (#1105)
* chore(deps): update external patch dep

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-03 13:49:44 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
e67c4213c2 Merge branch 'master' into fix/namespace-selector 2021-08-03 07:55:19 +02:00
k8s-at-home[bot]
fdc36dafa9 Auto-generate chart README [no ci] 2021-08-03 04:39:48 +00:00
renovate[bot]
6473218dd5 chore(deps): update external patch dep helm releases (#1106) 2021-08-03 06:39:19 +02:00
Toboshii Nakama
4d74bfc1e2 fix: readme badge version 2021-08-02 16:19:56 -05:00
Toboshii Nakama
c7186800da chore: bump semver and update changelog 2021-08-02 16:12:20 -05:00
Toboshii Nakama
fb898031b4 fix: allow custom selectors without dict merges 2021-08-02 15:58:48 -05:00
allcontributors[bot]
f1d6009768 docs: add chris-sanders as a contributor for code (#1103)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-07-29 08:10:26 +02:00
k8s-at-home[bot]
3b07afaaf0 Auto-generate chart README [no ci] 2021-07-29 06:07:24 +00:00
Chris Sanders
3b04d62f28 Gollum fixes for init and cron (#1099)
Signed-off-by: Chris Sanders <sanders.chris@gmail.com>

Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-29 08:07:00 +02:00
Brandon Clifford
226ccc84f0 Move Blocky replicas under controller definition (#1102) 2021-07-29 06:32:30 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
5d1e7d6ddc ci: Fix Label workflow
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-25 17:44:20 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
b9b96e5892 ci: Update configuration
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-25 17:29:34 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
34bcb259ea ci: Simplify label workflow
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-25 17:22:21 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
cfca06cb46 ci: Labels should work now
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 17:06:42 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
4c11a2f073 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 17:04:29 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
d21551b9d7 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 16:55:13 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
1cf71ea5a7 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 16:49:11 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
2220ef13c7 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 16:46:19 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
9616b91166 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 16:43:49 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
83b431aab9 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 16:40:10 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
6cf95a59f0 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 16:36:47 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
fc9ecd6d02 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 16:26:04 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
fe2b0a8eb1 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 16:20:50 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
5ea3df64a9 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 16:10:45 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
4709b114bd ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 16:04:43 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
d576bb458b ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 15:59:02 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
6566c4047c ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 15:49:54 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
1e9b109f36 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 15:46:39 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
b6e68e7ea6 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 15:41:56 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
60f4945c27 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 15:37:54 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
5e85a73e42 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 15:29:09 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
55a03e7897 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 15:25:26 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
e80147c11f ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 15:09:51 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
a77147b7d0 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 15:03:27 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
6558012215 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 14:58:31 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
8276fa44bf ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 14:56:24 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
8d9993c4de ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 14:54:57 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
bc5265c6fd ci: debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 14:49:41 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
b145bd21c5 ci: debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 14:41:27 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
4e7525476c ci: debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 14:30:58 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
0fc0088d9b ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 14:25:54 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
1fdcfebbcb ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 14:22:58 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
0f8ad35215 ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 14:01:03 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
5481f77bf7 ci: Add debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 13:45:11 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
f77bb36710 ci: Fix syntax
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 13:40:41 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
8de01b8ffc ci: More testing
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 13:37:05 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
454d818866 ci: Use check_run
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 13:31:19 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
c0ae019bca ci: Add source run info
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 13:21:25 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
849709775d ci: Fix CI checks for forks
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 13:03:17 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
a5b459cdfc ci: Update labeler workflow
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 10:44:53 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
25e2c34582 ci: Update labeler workflow
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 10:12:42 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
a66ace3641 ci: Update labeler workflow
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 10:00:08 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
1e5f1ad50a ci: Update labeler workflow 2021-07-24 09:55:23 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
bb633c1ea2 ci: Update labeler action 2021-07-24 09:51:25 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
229af21b63 ci: Update labeler action 2021-07-24 09:26:56 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
b1bac1cbab ci: Update labeler action 2021-07-24 09:21:09 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
adf135e69e Merge branch 'master' of ssh://github.com/k8s-at-home/charts 2021-07-24 09:17:52 +02:00
ᗪєνιη ᗷυнʟ
8f10a87533 ci: Update labeler action
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-24 09:17:30 +02:00
ᗪєνιη ᗷυнʟ
79d923d989 fix: update helm dep in chart linter 2021-07-21 15:47:51 -04:00
ᗪєνιη ᗷυнʟ
75a72e87dc fix: bump helm dep in chart release 2021-07-21 15:46:41 -04:00
k8s-at-home[bot]
afdece0e9a Auto-generate chart summary [no ci] 2021-07-18 15:17:38 +00:00
ᗪєνιη ᗷυнʟ
619d9e49e9 [frigate] chart based on common (#1091)
* feat: welcome back frigate

* feat: add resources block

* Update charts/stable/frigate/templates/configmap.yaml

Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>

* feat: add resources block

* feat: add resources block

* fix: configmap tpl

Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-18 11:16:33 -04:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
09ab372625 ci: Update title regex 2021-07-18 16:49:35 +02:00
k8s-at-home[bot]
233bac5c47 Auto-generate chart summary [no ci] 2021-07-12 22:04:05 +00:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
b972760a6f [amcrest2mqtt] Add chart (#1089)
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-12 18:02:53 -04:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
24d289bcaa ci: Fix PR title check 2021-07-12 20:11:57 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
0c1161508e ci: Update labels config
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-07-12 10:37:56 +02:00
117 changed files with 1572 additions and 1831 deletions

View File

@@ -292,6 +292,15 @@
"contributions": [
"code"
]
},
{
"login": "chris-sanders",
"name": "Chris Sanders",
"avatar_url": "https://avatars.githubusercontent.com/u/813115?v=4",
"profile": "https://github.com/chris-sanders",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,

View File

@@ -6,14 +6,15 @@ chart-dirs:
- charts/stable
excluded-charts:
- charts/stable/alertmanager-bot
- charts/stable/amcrest2mqtt
- charts/stable/foundryvtt
- charts/stable/multus
- charts/stable/pod-gateway
- charts/stable/promcord
- charts/stable/reg
- charts/stable/ser2sock
- charts/stable/zalando-postgres-cluster
- charts/stable/zigbee2mqtt
- charts/stable/foundryvtt
- charts/stable/pod-gateway
chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
- k8s-at-home-libraries=https://library-charts.k8s-at-home.com

24
.github/labels.json vendored
View File

@@ -1,24 +0,0 @@
{
"labels": {
"kind:incorrect-title": {
"name": "kind:incorrect-title",
"colour": "#ffb700",
"description": "Incorrect title"
}
},
"pr": {
"kind:incorrect-title": {
"requires": 2,
"conditions": [
{
"type": "creatorMatches",
"pattern": "^(?!renovate).+"
},
{
"type": "titleMatches",
"pattern": "^(?!\\[[a-z]+\\]\\s[A-Z].+).+"
}
]
}
}
}

View File

@@ -92,22 +92,15 @@ jobs:
name: Lint charts
runs-on: ubuntu-20.04
steps:
- uses: getsentry/action-github-app-token@v1
id: get-app-token
with:
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ steps.get-app-token.outputs.token }}
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.5.3
version: v3.6.3
- uses: actions/setup-python@v2
with:
@@ -120,52 +113,15 @@ jobs:
id: lint
run: ct lint --config .github/ct-lint.yaml
# CI Passed
- name: "add label: ok"
uses: actions-ecosystem/action-add-labels@v1
if: ${{ success() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "lint:ok"
- name: "remove label: failed"
uses: actions-ecosystem/action-remove-labels@v1
if: ${{ success() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "lint:failed"
# CI Failed
- name: "add label: failed"
uses: actions-ecosystem/action-add-labels@v1
if: ${{ failure() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "lint:failed"
- name: "remove label: ok"
uses: actions-ecosystem/action-remove-labels@v1
if: ${{ failure() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "lint:ok"
unittest:
needs:
- lint
name: Run unit tests
runs-on: ubuntu-20.04
steps:
- uses: getsentry/action-github-app-token@v1
id: get-app-token
with:
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ steps.get-app-token.outputs.token }}
fetch-depth: 0
- name: Install Dev tools
@@ -174,7 +130,7 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.5.3
version: v3.6.3
- name: Install Ruby
uses: ruby/setup-ruby@v1
@@ -204,22 +160,15 @@ jobs:
max-parallel: 15
runs-on: ubuntu-20.04
steps:
- uses: getsentry/action-github-app-token@v1
id: get-app-token
with:
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ steps.get-app-token.outputs.token }}
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.5.3
version: v3.6.3
- uses: actions/setup-python@v2
with:
@@ -249,42 +198,6 @@ jobs:
name: Install successful
runs-on: ubuntu-20.04
steps:
- uses: getsentry/action-github-app-token@v1
id: get-app-token
with:
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
- name: Check install matrix status
if: ${{ needs.changes-install.outputs.detected == 'true' && needs.install.result != 'success' }}
run: exit 1
# CI Passed
- name: "add label: ok"
uses: actions-ecosystem/action-add-labels@v1
if: ${{ success() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "install:ok"
- name: "remove label: failed"
uses: actions-ecosystem/action-remove-labels@v1
if: ${{ success() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "install:failed"
# CI Failed
- name: "add label: failed"
uses: actions-ecosystem/action-add-labels@v1
if: ${{ failure() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "install:failed"
- name: "remove label: ok"
uses: actions-ecosystem/action-remove-labels@v1
if: ${{ failure() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "install:ok"

View File

@@ -41,7 +41,7 @@ jobs:
if: steps.filter.outputs.addedOrModified == 'true'
uses: azure/setup-helm@v1
with:
version: v3.5.3
version: v3.6.3
- uses: actions/setup-python@v2
if: steps.filter.outputs.addedOrModified == 'true'
@@ -117,7 +117,7 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.5.4
version: v3.6.3
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.1

View File

@@ -8,7 +8,7 @@ on:
- edited
- closed
- reopened
pull_request:
pull_request_target:
types:
- opened
- edited
@@ -17,11 +17,6 @@ on:
- ready_for_review
- synchronize
permissions:
contents: read
issues: write
pull-requests: write
jobs:
label:
name: Label issues and pull requests
@@ -33,10 +28,44 @@ jobs:
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
- uses: actions/checkout@v2
- uses: Videndum/label-mastermind@2.1.3
with:
token: ${{ steps.get-app-token.outputs.token }}
- uses: IvanFon/super-labeler-action@v1
with:
github-token: ${{ steps.get-app-token.outputs.token }}
GITHUB_TOKEN: ${{ steps.get-app-token.outputs.token }}
configJSON: |
{
"releaseMastermind": {
"labels": {
"kind:incorrect-title": {
"name": "kind:incorrect-title",
"colour": "#ffb700",
"description": "Incorrect title"
}
},
"runners": [
{
"root": ".",
"versioning": {
"source": "milestones",
"type": "other"
},
"pr": {
"labels": {
"kind:incorrect-title": {
"requires": 2,
"conditions": [
{
"type": "creatorMatches",
"pattern": "^(?!renovate).+"
},
{
"type": "titleMatches",
"pattern": "^(?!\\[[a-z0-9\\-]+\\]\\s.+).+"
}
]
}
}
}
}
]
}
}

View File

@@ -0,0 +1,126 @@
---
name: "Metadata: Label pull requests CI status"
on:
workflow_run:
workflows:
- "Pre-commit consistency check"
- "Charts: Lint and test"
types:
- completed
jobs:
label-precommit:
name: Label pre-commit status
runs-on: ubuntu-20.04
if: "${{ github.event.workflow.name == 'Pre-commit consistency check' }}"
steps:
- uses: getsentry/action-github-app-token@v1
id: get-app-token
with:
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
- name: "Get information about the origin 'CI' run"
uses: potiuk/get-workflow-origin@v1_3
id: source-run-info
with:
token: ${{ steps.get-app-token.outputs.token }}
sourceRunId: ${{ github.event.workflow_run.id }}
- name: Label precommit success
uses: andymckay/labeler@1.0.3
if: ${{ github.event.workflow_run.conclusion == 'success' }}
with:
repo-token: ${{ steps.get-app-token.outputs.token }}
issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }}
add-labels: "precommit:ok"
remove-labels: "precommit:failed"
- name: Label precommit failure
uses: andymckay/labeler@1.0.3
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
with:
repo-token: ${{ steps.get-app-token.outputs.token }}
issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }}
add-labels: "precommit:failed"
remove-labels: "precommit:ok"
label-lint-install:
name: Label lint and install status
runs-on: ubuntu-20.04
if: "${{ github.event.workflow.name == 'Charts: Lint and test' }}"
steps:
- uses: getsentry/action-github-app-token@v1
id: get-app-token
with:
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
- name: "Get information about the origin 'CI' run"
uses: potiuk/get-workflow-origin@v1_3
id: source-run-info
with:
token: ${{ steps.get-app-token.outputs.token }}
sourceRunId: ${{ github.event.workflow_run.id }}
- name: "Get workflow job status"
uses: actions/github-script@v4
id: get-workflow-jobs
with:
github-token: ${{ steps.get-app-token.outputs.token }}
script: |
let result = new Object
const wfJobs = await github.actions.listJobsForWorkflowRun({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.payload.workflow_run.id,
})
for (const job of wfJobs.data.jobs) {
if (job.name === 'Lint charts') {
result['lint'] = job.conclusion
} else if (job.name === 'Install successful') {
result['install'] = job.conclusion
}
}
console.log(result)
return result
- name: Label lint success
uses: andymckay/labeler@1.0.3
if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).lint == 'success' }}
with:
repo-token: ${{ steps.get-app-token.outputs.token }}
issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }}
add-labels: "lint:ok"
remove-labels: "lint:failed"
- name: Label lint failure
uses: andymckay/labeler@1.0.3
if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).lint == 'failure' }}
with:
repo-token: ${{ steps.get-app-token.outputs.token }}
issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }}
add-labels: "lint:failed"
remove-labels: "lint:ok"
- name: Label install success
uses: andymckay/labeler@1.0.3
if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).install == 'success' }}
with:
repo-token: ${{ steps.get-app-token.outputs.token }}
issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }}
add-labels: "install:ok"
remove-labels: "install:failed"
- name: Label install failure
uses: andymckay/labeler@1.0.3
if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).install == 'failure' }}
with:
repo-token: ${{ steps.get-app-token.outputs.token }}
issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }}
add-labels: "install:failed"
remove-labels: "install:ok"

View File

@@ -13,16 +13,9 @@ jobs:
name: Run pre-commit checks
runs-on: ubuntu-20.04
steps:
- uses: getsentry/action-github-app-token@v1
id: get-app-token
with:
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ steps.get-app-token.outputs.token }}
fetch-depth: 0
- uses: dorny/paths-filter@v2
@@ -46,33 +39,3 @@ jobs:
if: steps.filter.outputs.addedOrModified != 'true'
with:
extra_args: --all-files
# CI Passed
- name: "add label: ok"
uses: actions-ecosystem/action-add-labels@v1
if: ${{ success() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "precommit:ok"
- name: "remove label: failed"
uses: actions-ecosystem/action-remove-labels@v1
if: ${{ success() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "precommit:failed"
# CI Failed
- name: "add label: failed"
uses: actions-ecosystem/action-add-labels@v1
if: ${{ failure() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "precommit:failed"
- name: "remove label: ok"
uses: actions-ecosystem/action-remove-labels@v1
if: ${{ failure() }}
with:
github_token: ${{ steps.get-app-token.outputs.token }}
labels: "precommit:ok"

View File

@@ -1,6 +1,6 @@
# Helm charts
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-32-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-33-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
[![docs](https://img.shields.io/badge/docs-rtfm-yellow?logo=gitbook&logoColor=white&style=for-the-badge)](https://docs.k8s-at-home.com/)
@@ -88,6 +88,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center"><a href="https://github.com/zamnuts"><img src="https://avatars.githubusercontent.com/u/4969305?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andrew Zammit</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=zamnuts" title="Code">💻</a></td>
<td align="center"><a href="https://boxingoctop.us"><img src="https://avatars.githubusercontent.com/u/3494484?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ryan Draga</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=TuxOtaku" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/jkroepke"><img src="https://avatars.githubusercontent.com/u/1560587?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jan-Otto Kröpke</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=jkroepke" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/chris-sanders"><img src="https://avatars.githubusercontent.com/u/813115?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Chris Sanders</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=chris-sanders" title="Code">💻</a></td>
</tr>
</table>

View File

@@ -5,6 +5,7 @@
| [adguard-home](stable/adguard-home) | DNS proxy as ad-blocker for local network |
| [airsonic](stable/airsonic) | Airsonic is a Free and Open Source community driven media server |
| [alertmanager-bot](stable/alertmanager-bot) | Bot for Prometheus Alertmanager |
| [amcrest2mqtt](stable/amcrest2mqtt) | Expose all events from an Amcrest device to an MQTT broker |
| [apache-musicindex](stable/apache-musicindex) | Index and stream music using apache-musicindex and m3u playlists |
| [appdaemon](stable/appdaemon) | AppDaemon is a loosely coupled, multi-threaded, sandboxed python execution environment for writing automation apps for various types of Home Automation Software including Home Assistant and MQTT. |
| [baikal](stable/baikal) | Baïkal is a lightweight CalDAV+CardDAV server. It offers a web interface with management of users, address books and calendars. |
@@ -28,6 +29,7 @@
| [focalboard](stable/focalboard) | Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana. |
| [foundryvtt](stable/foundryvtt) | An easy-to-deploy Dockerized Foundry Virtual Tabletop server |
| [freshrss](stable/freshrss) | FreshRSS is a self-hosted RSS feed aggregator |
| [frigate](stable/frigate) | NVR With Realtime Object Detection for IP Cameras |
| [gaps](stable/gaps) | Gaps searches through your Plex Server or local folders for all movies, then queries for known movies in the same collection. |
| [gollum](stable/gollum) | Gollum is a simple wiki system built on top of Git |
| [gonic](stable/gonic) | Music streaming server / subsonic server API implementation |

View File

@@ -0,0 +1,26 @@
# 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
# helm-docs templates
*.gotmpl

View File

@@ -0,0 +1,19 @@
apiVersion: v2
appVersion: 1.0.5
description: Expose all events from an Amcrest device to an MQTT broker
name: amcrest2mqtt
version: 1.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- amcrest2mqtt
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/amcrest2mqtt
icon: https://raw.githubusercontent.com/k8s-at-home/organization/main/logo/k8s-at-home-400.png
sources:
- https://github.com/dchesterton/amcrest2mqtt
maintainers:
- name: bjw-s
email: me@bjw-s.dev
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 3.3.0

View File

@@ -0,0 +1,116 @@
# amcrest2mqtt
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 1.0.5](https://img.shields.io/badge/AppVersion-1.0.5-informational?style=flat-square)
Expose all events from an Amcrest device to an MQTT broker
**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)**
## Source Code
* <https://github.com/dchesterton/amcrest2mqtt>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR
```console
helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install amcrest2mqtt k8s-at-home/amcrest2mqtt
```
## Installing the Chart
To install the chart with the release name `amcrest2mqtt`
```console
helm install amcrest2mqtt k8s-at-home/amcrest2mqtt
```
## Uninstalling the Chart
To uninstall the `amcrest2mqtt` deployment
```console
helm uninstall amcrest2mqtt
```
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
## Configuration
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install amcrest2mqtt \
--set env.TZ="America/New York" \
k8s-at-home/amcrest2mqtt
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install amcrest2mqtt k8s-at-home/amcrest2mqtt -f values.yaml
```
## Custom configuration
N/A
## Values
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | See below | environment variables. See more environment variables in the [amcrest2mqtt repo](https://github.com/dchesterton/amcrest2mqtt). |
| env.AMCREST_HOST | string | `nil` | Host name used to connect to the Amcrest device |
| env.AMCREST_PASSWORD | string | `nil` | Password used to connect to the Amcrest device |
| env.AMCREST_PORT | int | `80` | Port used to connect to the Amcrest device |
| env.AMCREST_USERNAME | string | `nil` | User name used to connect to the Amcrest device |
| env.HOME_ASSISTANT | string | `"false"` | Enable Home Assistant autodiscovery |
| env.HOME_ASSISTANT_PREFIX | string | `"homeassistant"` | Home Assistant autodiscovery prefix |
| env.MQTT_HOST | int | `1883` | Host name used to connect to the MQTT broker |
| env.MQTT_PASSWORD | string | `nil` | Password used to connect to the MQTT broker |
| env.MQTT_PORT | string | `nil` | Port used to connect to the MQTT broker |
| env.MQTT_USERNAME | string | `nil` | User name used to connect to the MQTT broker |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"dchesterton/amcrest2mqtt"` | image repository |
| image.tag | string | `"1.0.5"` | image tag |
## Changelog
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog).
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).
### [1.0.0]
#### Added
- Initial version
[1.0.0]: #100
## Support
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
- Join our [Discord](https://discord.gg/sTMX7Vh) community
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)

View File

@@ -0,0 +1,146 @@
{{- define "custom.repository.organization" -}}
k8s-at-home
{{- end -}}
{{- define "custom.repository.url" -}}
https://github.com/k8s-at-home/charts
{{- end -}}
{{- define "custom.helm.url" -}}
https://k8s-at-home.com/charts/
{{- end -}}
{{- define "custom.helm.path" -}}
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
{{- end -}}
{{- define "custom.notes" -}}
**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)**
{{- end -}}
{{- define "custom.requirements" -}}
## Requirements
{{ template "chart.kubeVersionLine" . }}
{{- end -}}
{{- define "custom.dependencies" -}}
## Dependencies
{{ template "chart.requirementsTable" . }}
{{- end -}}
{{- define "custom.install.tldr" -}}
## TL;DR
```console
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
helm repo update
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
```
{{- end -}}
{{- define "custom.install" -}}
## Installing the Chart
To install the chart with the release name `{{ template "chart.name" . }}`
```console
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
```
{{- end -}}
{{- define "custom.uninstall" -}}
## Uninstalling the Chart
To uninstall the `{{ template "chart.name" . }}` deployment
```console
helm uninstall {{ template "chart.name" . }}
```
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
{{- end -}}
{{- define "custom.configuration.header" -}}
## Configuration
{{- end -}}
{{- define "custom.configuration.readValues" -}}
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
{{- end -}}
{{- define "custom.configuration.example.set" -}}
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install {{ template "chart.name" . }} \
--set env.TZ="America/New York" \
{{ template "custom.helm.path" . }}
```
{{- end -}}
{{- define "custom.configuration.example.file" -}}
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
```
{{- end -}}
{{- define "custom.valuesSection" -}}
## Values
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
{{ template "chart.valuesTable" . }}
{{- end -}}
{{- define "custom.support" -}}
## Support
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
- Join our [Discord](https://discord.gg/sTMX7Vh) community
{{- end -}}
{{ template "chart.header" . }}
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
{{ template "chart.description" . }}
{{ template "custom.notes" . }}
{{ template "chart.sourcesSection" . }}
{{ template "custom.requirements" . }}
{{ template "custom.dependencies" . }}
{{ template "custom.install.tldr" . }}
{{ template "custom.install" . }}
{{ template "custom.uninstall" . }}
{{ template "custom.configuration.header" . }}
{{ template "custom.configuration.readValues" . }}
{{ template "custom.configuration.example.set" . }}
{{ template "custom.configuration.example.file" . }}
{{ template "custom.custom.configuration" . }}
{{ template "custom.valuesSection" . }}
{{ template "custom.changelog" . }}
{{ template "custom.support" . }}
{{ template "helm-docs.versionFooter" . }}
{{ "" }}

View File

@@ -0,0 +1,19 @@
{{- define "custom.changelog.header" -}}
## Changelog
{{- end -}}
{{- define "custom.changelog" -}}
{{ template "custom.changelog.header" . }}
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog).
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).
### [1.0.0]
#### Added
- Initial version
[1.0.0]: #100
{{- end -}}

View File

@@ -0,0 +1,9 @@
{{- define "custom.custom.configuration.header" -}}
## Custom configuration
{{- end -}}
{{- define "custom.custom.configuration" -}}
{{ template "custom.custom.configuration.header" . }}
N/A
{{- end -}}

View File

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

View File

@@ -0,0 +1,25 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "amcrest2mqtt.hardcodedValues" -}}
service:
main:
enabled: false
ingress:
main:
enabled: false
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "amcrest2mqtt.hardcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -0,0 +1,40 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#
image:
# -- image repository
repository: dchesterton/amcrest2mqtt
# -- image tag
tag: 1.0.5
# -- image pull policy
pullPolicy: IfNotPresent
# -- environment variables. See more environment variables in the [amcrest2mqtt repo](https://github.com/dchesterton/amcrest2mqtt).
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# -- Host name used to connect to the Amcrest device
AMCREST_HOST:
# -- Port used to connect to the Amcrest device
AMCREST_PORT: 80
# -- User name used to connect to the Amcrest device
AMCREST_USERNAME:
# -- Password used to connect to the Amcrest device
AMCREST_PASSWORD:
# -- Host name used to connect to the MQTT broker
MQTT_HOST: 1883
# -- Port used to connect to the MQTT broker
MQTT_PORT:
# -- User name used to connect to the MQTT broker
MQTT_USERNAME:
# -- Password used to connect to the MQTT broker
MQTT_PASSWORD:
# -- Enable Home Assistant autodiscovery
HOME_ASSISTANT: "false"
# -- Home Assistant autodiscovery prefix
HOME_ASSISTANT_PREFIX: "homeassistant"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 0.8.0
description: Baïkal is a lightweight CalDAV+CardDAV server. It offers a web interface with management of users, address books and calendars.
name: baikal
version: 2.1.0
version: 2.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- baikal
@@ -23,6 +23,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: mariadb
version: 9.3.16
version: 9.3.19
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

View File

@@ -1,6 +1,6 @@
# baikal
![Version: 2.1.0](https://img.shields.io/badge/Version-2.1.0-informational?style=flat-square) ![AppVersion: 0.8.0](https://img.shields.io/badge/AppVersion-0.8.0-informational?style=flat-square)
![Version: 2.1.1](https://img.shields.io/badge/Version-2.1.1-informational?style=flat-square) ![AppVersion: 0.8.0](https://img.shields.io/badge/AppVersion-0.8.0-informational?style=flat-square)
Baïkal is a lightweight CalDAV+CardDAV server. It offers a web interface with management of users, address books and calendars.
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.16 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.19 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v0.14
description: DNS proxy as ad-blocker for local network
name: blocky
version: 7.1.0
version: 7.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- blocky

View File

@@ -1,6 +1,6 @@
# blocky
![Version: 7.1.0](https://img.shields.io/badge/Version-7.1.0-informational?style=flat-square) ![AppVersion: v0.14](https://img.shields.io/badge/AppVersion-v0.14-informational?style=flat-square)
![Version: 7.1.1](https://img.shields.io/badge/Version-7.1.1-informational?style=flat-square) ![AppVersion: v0.14](https://img.shields.io/badge/AppVersion-v0.14-informational?style=flat-square)
DNS proxy as ad-blocker for local network
@@ -76,6 +76,7 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| config | string | see URL to default config | Full list of options https://github.com/0xERR0R/blocky/blob/master/docs/config.yml |
| controller.replicas | int | `1` | (int) Number of pods to load balance between |
| controller.strategy | string | `"RollingUpdate"` | Set the controller upgrade strategy |
| env | object | See below | environment variables. See [image docs](https://0xerr0r.github.io/blocky/installation/#run-with-docker) for more details. |
| env.TZ | string | `"UTC"` | Set the container timezone |
@@ -84,7 +85,6 @@ N/A
| image.tag | string | `"v0.14"` | image tag |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| prometheus.serviceMonitor | object | See values.yaml | Enable and configure a Prometheus serviceMonitor for the chart under this key. See also the notes under `additionalContainers`. |
| replicas | int | `1` | (int) Number of pods to load balance between |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog

View File

@@ -16,6 +16,8 @@ image:
controller:
# -- Set the controller upgrade strategy
strategy: RollingUpdate
# -- (int) Number of pods to load balance between
replicas: 1
# -- environment variables. See [image docs](https://0xerr0r.github.io/blocky/installation/#run-with-docker) for more details.
# @default -- See below
@@ -23,9 +25,6 @@ env:
# -- Set the container timezone
TZ: UTC
# -- (int) Number of pods to load balance between
replicas: 1
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:

View File

@@ -3,7 +3,7 @@ apiVersion: v2
appVersion: v21.05.1
description: A simple, self-hosted, easy-to-use platform for organising and storing information.
name: bookstack
version: 2.3.0
version: 2.3.1
kubeVersion: ">=1.16.0-0"
keywords:
- bookstack
@@ -25,6 +25,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: mariadb
version: 9.3.16
version: 9.3.19
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

View File

@@ -1,6 +1,6 @@
# bookstack
![Version: 2.3.0](https://img.shields.io/badge/Version-2.3.0-informational?style=flat-square) ![AppVersion: v21.05.1](https://img.shields.io/badge/AppVersion-v21.05.1-informational?style=flat-square)
![Version: 2.3.1](https://img.shields.io/badge/Version-2.3.1-informational?style=flat-square) ![AppVersion: v21.05.1](https://img.shields.io/badge/AppVersion-v21.05.1-informational?style=flat-square)
A simple, self-hosted, easy-to-use platform for organising and storing information.
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.16 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.19 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.2.0
description: Cert-Manager Webhook for DNSMadeEasy
name: dnsmadeeasy-webhook
version: 3.4.0
version: 3.4.1
keywords:
- cert-manager
- dnsmadeeasy
@@ -21,5 +21,5 @@ dependencies:
version: 3.3.0
- name: cert-manager
repository: https://charts.jetstack.io
version: v1.4.0
version: v1.4.2
condition: cert-manager.enabled

View File

@@ -1,6 +1,6 @@
# dnsmadeeasy-webhook
![Version: 3.4.0](https://img.shields.io/badge/Version-3.4.0-informational?style=flat-square) ![AppVersion: 1.2.0](https://img.shields.io/badge/AppVersion-1.2.0-informational?style=flat-square)
![Version: 3.4.1](https://img.shields.io/badge/Version-3.4.1-informational?style=flat-square) ![AppVersion: 1.2.0](https://img.shields.io/badge/AppVersion-1.2.0-informational?style=flat-square)
Cert-Manager Webhook for DNSMadeEasy
@@ -17,7 +17,7 @@ Cert-Manager Webhook for DNSMadeEasy
| Repository | Name | Version |
|------------|------|---------|
| https://charts.jetstack.io | cert-manager | v1.4.0 |
| https://charts.jetstack.io | cert-manager | v1.4.2 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "2021.06.01"
description: DSMR-protocol reader, telegram data storage and energy consumption visualizer.
name: dsmr-reader
version: 4.3.0
version: 4.3.1
kubeVersion: ">=1.16.0-0"
keywords:
- dsmr-reader
@@ -20,6 +20,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

View File

@@ -1,6 +1,6 @@
# dsmr-reader
![Version: 4.3.0](https://img.shields.io/badge/Version-4.3.0-informational?style=flat-square) ![AppVersion: 2021.06.01](https://img.shields.io/badge/AppVersion-2021.06.01-informational?style=flat-square)
![Version: 4.3.1](https://img.shields.io/badge/Version-4.3.1-informational?style=flat-square) ![AppVersion: 2021.06.01](https://img.shields.io/badge/AppVersion-2021.06.01-informational?style=flat-square)
DSMR-protocol reader, telegram data storage and energy consumption visualizer.
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -0,0 +1,26 @@
# 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
# helm-docs templates
*.gotmpl

View File

@@ -0,0 +1,24 @@
apiVersion: v2
appVersion: v0.8.0
description: NVR With Realtime Object Detection for IP Cameras
name: frigate
version: 5.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- frigate
- nvr
- tensorflow
- coral
- ml
- machine-learning
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/frigate
icon: https://github.com/blakeblackshear/frigate/blob/master/docs/static/img/frigate.png
sources:
- https://github.com/blakeblackshear/frigate
maintainers:
- name: billimek
email: jeff@billimek.com
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 3.3.0

View File

@@ -0,0 +1,117 @@
# frigate
![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: v0.8.0](https://img.shields.io/badge/AppVersion-v0.8.0-informational?style=flat-square)
NVR With Realtime Object Detection for IP Cameras
**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)**
## Source Code
* <https://github.com/blakeblackshear/frigate>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR
```console
helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install frigate k8s-at-home/frigate
```
## Installing the Chart
To install the chart with the release name `frigate`
```console
helm install frigate k8s-at-home/frigate
```
## Uninstalling the Chart
To uninstall the `frigate` deployment
```console
helm uninstall frigate
```
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
## Configuration
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install frigate \
--set env.TZ="America/New York" \
k8s-at-home/frigate
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install frigate k8s-at-home/frigate -f values.yaml
```
## Custom configuration
N/A
## Values
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | Affinity constraint rules to place the Pod on a specific node. [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) |
| config | string | see URL to default config | See [docs](https://blakeblackshear.github.io/frigate/) for more details. |
| env | object | See below | environment variables. See [docs](https://blakeblackshear.github.io/frigate/) for more details. |
| env.FRIGATE_RTSP_PASSWORD | string | empty | Set a RTSP password |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"blakeblackshear/frigate"` | image repository |
| image.tag | string | `"0.8.4-amd64"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| persistence.cache | object | See values.yaml | Configure a temporary cache. See [docs](https://blakeblackshear.github.io/frigate/) for more details.. |
| persistence.usb | object | See values.yaml | Configure a hostPathMount to mount a USB device in the container. |
| resources | object | `{}` | Configure the resource requests and/or limits for the Pod |
| securityContext.privileged | bool | `false` | (bool) Privileged securityContext may be required if USB devices are accessed directly through the host machine |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog).
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).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.2.0/charts/stable/common/) for the up-to-date values.
[5.0.0]: #500
## Support
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
- Join our [Discord](https://discord.gg/sTMX7Vh) community
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)

View File

@@ -0,0 +1,146 @@
{{- define "custom.repository.organization" -}}
k8s-at-home
{{- end -}}
{{- define "custom.repository.url" -}}
https://github.com/k8s-at-home/charts
{{- end -}}
{{- define "custom.helm.url" -}}
https://k8s-at-home.com/charts/
{{- end -}}
{{- define "custom.helm.path" -}}
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
{{- end -}}
{{- define "custom.notes" -}}
**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)**
{{- end -}}
{{- define "custom.requirements" -}}
## Requirements
{{ template "chart.kubeVersionLine" . }}
{{- end -}}
{{- define "custom.dependencies" -}}
## Dependencies
{{ template "chart.requirementsTable" . }}
{{- end -}}
{{- define "custom.install.tldr" -}}
## TL;DR
```console
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
helm repo update
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
```
{{- end -}}
{{- define "custom.install" -}}
## Installing the Chart
To install the chart with the release name `{{ template "chart.name" . }}`
```console
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
```
{{- end -}}
{{- define "custom.uninstall" -}}
## Uninstalling the Chart
To uninstall the `{{ template "chart.name" . }}` deployment
```console
helm uninstall {{ template "chart.name" . }}
```
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
{{- end -}}
{{- define "custom.configuration.header" -}}
## Configuration
{{- end -}}
{{- define "custom.configuration.readValues" -}}
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
Other values may be used from the [values.yaml](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
{{- end -}}
{{- define "custom.configuration.example.set" -}}
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
```console
helm install {{ template "chart.name" . }} \
--set env.TZ="America/New York" \
{{ template "custom.helm.path" . }}
```
{{- end -}}
{{- define "custom.configuration.example.file" -}}
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
```console
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
```
{{- end -}}
{{- define "custom.valuesSection" -}}
## Values
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common)
{{ template "chart.valuesTable" . }}
{{- end -}}
{{- define "custom.support" -}}
## Support
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
- Join our [Discord](https://discord.gg/sTMX7Vh) community
{{- end -}}
{{ template "chart.header" . }}
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
{{ template "chart.description" . }}
{{ template "custom.notes" . }}
{{ template "chart.sourcesSection" . }}
{{ template "custom.requirements" . }}
{{ template "custom.dependencies" . }}
{{ template "custom.install.tldr" . }}
{{ template "custom.install" . }}
{{ template "custom.uninstall" . }}
{{ template "custom.configuration.header" . }}
{{ template "custom.configuration.readValues" . }}
{{ template "custom.configuration.example.set" . }}
{{ template "custom.configuration.example.file" . }}
{{ template "custom.custom.configuration" . }}
{{ template "custom.valuesSection" . }}
{{ template "custom.changelog" . }}
{{ template "custom.support" . }}
{{ template "helm-docs.versionFooter" . }}
{{ "" }}

View File

@@ -0,0 +1,20 @@
{{- define "custom.changelog.header" -}}
## Changelog
{{- end -}}
{{- define "custom.changelog" -}}
{{ template "custom.changelog.header" . }}
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common#changelog).
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).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.2.0/charts/stable/common/) for the up-to-date values.
[5.0.0]: #500
{{- end -}}

View File

@@ -0,0 +1,9 @@
{{- define "custom.custom.configuration.header" -}}
## Custom configuration
{{- end -}}
{{- define "custom.custom.configuration" -}}
{{ template "custom.custom.configuration.header" . }}
N/A
{{- end -}}

View File

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

View File

@@ -0,0 +1,19 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "frigate.configValues" -}}
persistence:
frigate-config:
enabled: "true"
mountPath: "/config/config.yml"
subPath: "config.yml"
type: "custom"
volumeSpec:
configMap:
name: {{ printf "%v-config" (include "common.names.fullname" .) }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "frigate.configValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.names.fullname" . }}-config
labels:
{{- include "common.labels" . | nindent 4 }}
data:
config.yml: |
{{- tpl .Values.config $ | nindent 4 }}

View File

@@ -0,0 +1,106 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#
image:
# -- image repository
repository: blakeblackshear/frigate
# -- image tag
tag: 0.8.4-amd64
# -- image pull policy
pullPolicy: IfNotPresent
# -- environment variables. See [docs](https://blakeblackshear.github.io/frigate/) for more details.
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# -- Set a RTSP password
# @default -- empty
FRIGATE_RTSP_PASSWORD: ""
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
http:
port: 5000
rtmp:
enabled: false
port: 1935
protocol: TCP
targetPort: 1935
ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
securityContext:
# -- (bool) Privileged securityContext may be required if USB devices are accessed directly through the host machine
privileged: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
data:
enabled: false
mountPath: /data
media:
enabled: false
mountPath: /media
# -- Configure a hostPathMount to mount a USB device in the container.
# @default -- See values.yaml
usb:
enabled: false
type: hostPath
hostPath: /dev/bus/usb
# -- Configure a temporary cache. See [docs](https://blakeblackshear.github.io/frigate/) for more details..
# @default -- See values.yaml
cache:
enabled: true
type: emptyDir
medium: Memory
sizeLimit: 1Gi
mountPath: /dev/shm
# -- Affinity constraint rules to place the Pod on a specific node.
# [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)
affinity: {}
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: app
# operator: In
# values:
# - coral-tpu
# -- Configure the resource requests and/or limits for the Pod
resources: {}
# requests:
# # Hardware acceleration using an Intel iGPU w/ QuickSync and
# # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes)
# gpu.intel.com/i915: 1
# cpu: 200m
# memory: 256Mi
# limits:
# # Hardware acceleration using an Intel iGPU w/ QuickSync and
# # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes)
# gpu.intel.com/i915: 1
# memory: 4096Mi
# -- See [docs](https://blakeblackshear.github.io/frigate/) for more details.
# @default -- see URL to default config
config: |
mqtt:
host: test.mosquitto.org
topic_prefix: frigate
detectors:
cpu1:
type: cpu

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: latest
description: Gollum is a simple wiki system built on top of Git
name: gollum
version: 2.1.0
version: 2.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- gollum

View File

@@ -1,6 +1,6 @@
# gollum
![Version: 2.1.0](https://img.shields.io/badge/Version-2.1.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 2.1.1](https://img.shields.io/badge/Version-2.1.1-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
Gollum is a simple wiki system built on top of Git
@@ -94,6 +94,11 @@ All notable changes to this application Helm chart will be documented in this fi
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).
### [2.1.1]
- Fixed init script order to clear before cloning not after
- Switched cron script to be sh not bash, fixing failing crons
### [2.0.0]
#### Changed

View File

@@ -9,6 +9,11 @@ All notable changes to this application Helm chart will be documented in this fi
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).
### [2.1.1]
- Fixed init script order to clear before cloning not after
- Switched cron script to be sh not bash, fixing failing crons
### [2.0.0]
#### Changed

View File

@@ -15,6 +15,15 @@ args:
{{ end }}
initContainers:
- name: clear-wiki
image: alpine
command:
- sh
- -c
- rm -fr /wiki/*; rm -fr /wiki/.*; ls -la /wiki/;
volumeMounts:
- mountPath: /wiki
name: wiki
- name: git-init
image: alpine/git
args:
@@ -26,15 +35,6 @@ initContainers:
volumeMounts:
- mountPath: /wiki
name: wiki
- name: clear-wiki
image: alpine
command:
- sh
- -c
- rm -fr /wiki/*; rm -fr /wiki/.*; ls -la /wiki/;
volumeMounts:
- mountPath: /wiki
name: wiki
additionalContainers:
- name: cron

View File

@@ -4,7 +4,7 @@ metadata:
name: {{ include "common.names.fullname" . }}
data:
git-sync: |
#!/bin/bash
#!/bin/sh
cd /wiki && {{ .Values.gollum.syncCommand }}
config.rb: |
{{- .Values.gollum.config | nindent 4 }}

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2021.6.3
description: Home Assistant
name: home-assistant
version: 9.3.0
version: 9.3.1
kubeVersion: ">=1.16.0-0"
keywords:
- home-assistant
@@ -22,11 +22,11 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: mariadb
version: 9.3.16
version: 9.3.19
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled
- name: influxdb

View File

@@ -1,6 +1,6 @@
# home-assistant
![Version: 9.3.0](https://img.shields.io/badge/Version-9.3.0-informational?style=flat-square) ![AppVersion: 2021.6.3](https://img.shields.io/badge/AppVersion-2021.6.3-informational?style=flat-square)
![Version: 9.3.1](https://img.shields.io/badge/Version-9.3.1-informational?style=flat-square) ![AppVersion: 2021.6.3](https://img.shields.io/badge/AppVersion-2021.6.3-informational?style=flat-square)
Home Assistant
@@ -21,8 +21,8 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | influxdb | 1.1.9 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.16 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.19 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: latest
description: A monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting.
name: icinga2
version: 1.1.0
version: 1.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- icinga2
@@ -20,6 +20,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: mariadb
version: 9.3.16
version: 9.3.19
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

View File

@@ -1,6 +1,6 @@
# icinga2
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
A monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting.
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.16 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.19 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.1.2
description: This server allows you to sync any Joplin client
name: joplin-server
version: 3.3.0
version: 3.3.1
keywords:
- joplin
- notes
@@ -20,6 +20,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

View File

@@ -1,6 +1,6 @@
# joplin-server
![Version: 3.3.0](https://img.shields.io/badge/Version-3.3.0-informational?style=flat-square) ![AppVersion: 2.1.2](https://img.shields.io/badge/AppVersion-2.1.2-informational?style=flat-square)
![Version: 3.3.1](https://img.shields.io/badge/Version-3.3.1-informational?style=flat-square) ![AppVersion: 2.1.2](https://img.shields.io/badge/AppVersion-2.1.2-informational?style=flat-square)
This server allows you to sync any Joplin client
@@ -18,7 +18,7 @@ This server allows you to sync any Joplin client
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.2.20
description: Kanboard is a free and open source Kanban project management software.
name: kanboard
version: 3.1.0
version: 3.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- kanboard
@@ -19,6 +19,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

View File

@@ -1,6 +1,6 @@
# kanboard
![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square) ![AppVersion: v1.2.20](https://img.shields.io/badge/AppVersion-v1.2.20-informational?style=flat-square)
![Version: 3.1.1](https://img.shields.io/badge/Version-3.1.1-informational?style=flat-square) ![AppVersion: v1.2.20](https://img.shields.io/badge/AppVersion-v1.2.20-informational?style=flat-square)
Kanboard is a free and open source Kanban project management software.
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.0.32
description: Miniflux is a minimalist and opinionated feed reader.
name: miniflux
version: 3.1.0
version: 3.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- miniflux
@@ -20,6 +20,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

View File

@@ -1,6 +1,6 @@
# miniflux
![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square) ![AppVersion: 2.0.32](https://img.shields.io/badge/AppVersion-2.0.32-informational?style=flat-square)
![Version: 3.1.1](https://img.shields.io/badge/Version-3.1.1-informational?style=flat-square) ![AppVersion: 2.0.32](https://img.shields.io/badge/AppVersion-2.0.32-informational?style=flat-square)
Miniflux is a minimalist and opinionated feed reader.
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 3.1.1-apache
description: A Personal Relationship Management tool to help you organize your social life
name: monica
version: 5.1.0
version: 5.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- crm
@@ -19,6 +19,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: mariadb
version: 9.3.16
version: 9.3.19
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

View File

@@ -1,6 +1,6 @@
# monica
![Version: 5.1.0](https://img.shields.io/badge/Version-5.1.0-informational?style=flat-square) ![AppVersion: 3.1.1-apache](https://img.shields.io/badge/AppVersion-3.1.1--apache-informational?style=flat-square)
![Version: 5.1.1](https://img.shields.io/badge/Version-5.1.1-informational?style=flat-square) ![AppVersion: 3.1.1-apache](https://img.shields.io/badge/AppVersion-3.1.1--apache-informational?style=flat-square)
A Personal Relationship Management tool to help you organize your social life
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.16 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.19 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -3,7 +3,7 @@ apiVersion: v2
appVersion: 6.1.0
description: OpenEMR is the most popular open source electronic health records and medical practice management solution.
name: openemr
version: 2.3.0
version: 2.3.1
kubeVersion: ">=1.16.0-0"
keywords:
- openemr
@@ -23,6 +23,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: mariadb
version: 9.3.16
version: 9.3.19
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

View File

@@ -1,6 +1,6 @@
# openemr
![Version: 2.3.0](https://img.shields.io/badge/Version-2.3.0-informational?style=flat-square) ![AppVersion: 6.1.0](https://img.shields.io/badge/AppVersion-6.1.0-informational?style=flat-square)
![Version: 2.3.1](https://img.shields.io/badge/Version-2.3.1-informational?style=flat-square) ![AppVersion: 6.1.0](https://img.shields.io/badge/AppVersion-6.1.0-informational?style=flat-square)
OpenEMR is the most popular open source electronic health records and medical practice management solution.
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.16 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.19 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.0.0
description: OpenKM integrates all essential documents management, collaboration and an advanced search functionality into one easy to use solution.
name: openkm
version: 1.2.0
version: 1.2.1
kubeVersion: ">=1.16.0-0"
keywords:
- openkm
@@ -21,10 +21,10 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: mariadb
version: 9.3.16
version: 9.3.19
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

View File

@@ -1,6 +1,6 @@
# openkm
![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 1.2.1](https://img.shields.io/badge/Version-1.2.1-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
OpenKM integrates all essential documents management, collaboration and an advanced search functionality into one easy to use solution.
@@ -19,8 +19,8 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.16 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.19 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.2.6
description: Admision controller to change the default gateway and DNS server of PODs
name: pod-gateway
version: 3.3.0
version: 4.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- pod-gateway

View File

@@ -1,6 +1,6 @@
# pod-gateway
![Version: 3.3.0](https://img.shields.io/badge/Version-3.3.0-informational?style=flat-square) ![AppVersion: 1.2.6](https://img.shields.io/badge/AppVersion-1.2.6-informational?style=flat-square)
![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square) ![AppVersion: 1.2.6](https://img.shields.io/badge/AppVersion-1.2.6-informational?style=flat-square)
Admision controller to change the default gateway and DNS server of PODs
@@ -129,7 +129,7 @@ certificates. It does not install it as dependency to avoid conflicts.
| webhook.image.pullPolicy | string | `"IfNotPresent"` | image pullPolicy of the webhook |
| webhook.image.repository | string | `"ghcr.io/k8s-at-home/gateway-admision-controller"` | image repository of the webhook |
| webhook.image.tag | string | `"v3.3.2"` | image tag of the webhook |
| webhook.namespaceSelector | object | `{"matchLabels":{"routed-gateway":"true"}}` | Selector for namespace. All pods in this namespace will get evaluated by the webhook. **IMPORTANT**: Do not select the namespace where the webhook is deployed to or you will get locking issues. |
| webhook.namespaceSelector | object | `{"custom":{},"label":"routed-gateway","type":"label"}` | Selector for namespace. All pods in this namespace will get evaluated by the webhook. **IMPORTANT**: Do not select the namespace where the webhook is deployed to or you will get locking issues. |
| webhook.replicas | int | `1` | number of webhook instances to deploy |
| webhook.strategy | object | `{"type":"RollingUpdate"}` | strategy for updates |
@@ -139,6 +139,10 @@ All notable changes to this application Helm chart will be documented in this fi
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).
### [4.0.0]
- Fixed `namespaceSelector` to allow replacing the default label value.
### [3.2.2]
- Remove some default values (`addons.vpn.openvpn`, `addons.vpn.wireguard`, `addons.vpn.env`, `addons.vpn.configFileSecret`) which were interfering with user supplied configuration.

View File

@@ -9,6 +9,10 @@ All notable changes to this application Helm chart will be documented in this fi
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).
### [4.0.0]
- Fixed `namespaceSelector` to allow replacing the default label value.
### [3.2.2]
- Remove some default values (`addons.vpn.openvpn`, `addons.vpn.wireguard`, `addons.vpn.env`, `addons.vpn.configFileSecret`) which were interfering with user supplied configuration.

View File

@@ -10,7 +10,12 @@ webhooks:
- name: "{{ include "common.names.fullname" . }}.svc.cluster.local"
namespaceSelector:
{{- with .Values.webhook.namespaceSelector }}
{{ toYaml . | nindent 4 }}
{{- if eq .type "label" }}
matchLabels:
{{ .label }}: "true"
{{- else if eq .type "custom" }}
{{- toYaml .custom | nindent 4 }}
{{- end }}
{{- end }}
rules:
- apiGroups: [""]

View File

@@ -119,12 +119,13 @@ webhook:
# **IMPORTANT**: Do not select the namespace where the webhook
# is deployed to or you will get locking issues.
namespaceSelector:
matchLabels:
routed-gateway: "true"
# matchExpressions:
# - key: notTouch
# operator: NotIn
# values: ["1"]
type: label
label: "routed-gateway"
custom: {}
# matchExpressions:
# - key: notTouch
# operator: NotIn
# values: ["1"]
# -- default behviour for new PODs in the evaluated namespace
gatewayDefault: true

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v4.3.1
description: PowerDNS is a DNS server, written in C++ and licensed under the GPL. It runs on most Unix derivatives. PowerDNS features a large number of different backends ranging from simple BIND style zonefiles to relational databases and load balancing/failover algorithms. A DNS recursor is provided as a separate program.
name: powerdns
version: 3.3.0
version: 3.3.1
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/powerdns
sources:
- http://www.github.com/PowerDNS/
@@ -12,10 +12,10 @@ maintainers:
email: ryan@ryanholt.net
dependencies:
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: mariadb
version: 9.3.16
version: 9.3.19
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

View File

@@ -1,6 +1,6 @@
# powerdns
![Version: 3.3.0](https://img.shields.io/badge/Version-3.3.0-informational?style=flat-square) ![AppVersion: v4.3.1](https://img.shields.io/badge/AppVersion-v4.3.1-informational?style=flat-square)
![Version: 3.3.1](https://img.shields.io/badge/Version-3.3.1-informational?style=flat-square) ![AppVersion: v4.3.1](https://img.shields.io/badge/AppVersion-v4.3.1-informational?style=flat-square)
PowerDNS is a DNS server, written in C++ and licensed under the GPL. It runs on most Unix derivatives. PowerDNS features a large number of different backends ranging from simple BIND style zonefiles to relational databases and load balancing/failover algorithms. A DNS recursor is provided as a separate program.
@@ -16,8 +16,8 @@ PowerDNS is a DNS server, written in C++ and licensed under the GPL. It runs on
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.16 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.19 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.7.1
description: A self-hosted and PHP-based URL shortener application with CLI and REST interfaces
name: shlink
version: 2.3.0
version: 2.3.1
kubeVersion: ">=1.16.0-0"
keywords:
- shlink
@@ -19,10 +19,10 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: mariadb
version: 9.3.16
version: 9.3.19
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

View File

@@ -1,6 +1,6 @@
# shlink
![Version: 2.3.0](https://img.shields.io/badge/Version-2.3.0-informational?style=flat-square) ![AppVersion: 2.7.1](https://img.shields.io/badge/AppVersion-2.7.1-informational?style=flat-square)
![Version: 2.3.1](https://img.shields.io/badge/Version-2.3.1-informational?style=flat-square) ![AppVersion: 2.7.1](https://img.shields.io/badge/AppVersion-2.7.1-informational?style=flat-square)
A self-hosted and PHP-based URL shortener application with CLI and REST interfaces
@@ -18,8 +18,8 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.16 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.19 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v0.90.74
description: Status page for monitoring your websites and applications
name: statping
version: 4.1.0
version: 4.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- statping
@@ -22,6 +22,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

View File

@@ -1,6 +1,6 @@
# statping
![Version: 4.1.0](https://img.shields.io/badge/Version-4.1.0-informational?style=flat-square) ![AppVersion: v0.90.74](https://img.shields.io/badge/AppVersion-v0.90.74-informational?style=flat-square)
![Version: 4.1.1](https://img.shields.io/badge/Version-4.1.1-informational?style=flat-square) ![AppVersion: v0.90.74](https://img.shields.io/badge/AppVersion-v0.90.74-informational?style=flat-square)
Status page for monitoring your websites and applications
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.9
description: Teedy is an open source, lightweight document management system for individuals and businesses.
name: teedy
version: 4.1.0
version: 4.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- teedy
@@ -21,6 +21,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

View File

@@ -1,6 +1,6 @@
# teedy
![Version: 4.1.0](https://img.shields.io/badge/Version-4.1.0-informational?style=flat-square) ![AppVersion: v1.9](https://img.shields.io/badge/AppVersion-v1.9-informational?style=flat-square)
![Version: 4.1.1](https://img.shields.io/badge/Version-4.1.1-informational?style=flat-square) ![AppVersion: v1.9](https://img.shields.io/badge/AppVersion-v1.9-informational?style=flat-square)
Teedy is an open source, lightweight document management system for individuals and businesses.
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -3,7 +3,7 @@ apiVersion: v2
appVersion: v1.23.4
description: A self-hosted data logger for your Tesla 🚘
name: teslamate
version: 5.1.0
version: 5.1.1
keywords:
- teslamate
- tesla
@@ -16,7 +16,7 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
maintainers:

View File

@@ -1,6 +1,6 @@
# teslamate
![Version: 5.1.0](https://img.shields.io/badge/Version-5.1.0-informational?style=flat-square) ![AppVersion: v1.23.4](https://img.shields.io/badge/AppVersion-v1.23.4-informational?style=flat-square)
![Version: 5.1.1](https://img.shields.io/badge/Version-5.1.1-informational?style=flat-square) ![AppVersion: v1.23.4](https://img.shields.io/badge/AppVersion-v1.23.4-informational?style=flat-square)
A self-hosted data logger for your Tesla 🚘
@@ -16,7 +16,7 @@ A self-hosted data logger for your Tesla 🚘
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v4.13
description: Traccar is an open source GPS tracking system.
name: traccar
version: 5.1.0
version: 5.1.1
kubeVersion: ">=1.16.0-0"
keywords:
- traccar
@@ -20,6 +20,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: mariadb
version: 9.3.16
version: 9.3.19
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

View File

@@ -1,6 +1,6 @@
# traccar
![Version: 5.1.0](https://img.shields.io/badge/Version-5.1.0-informational?style=flat-square) ![AppVersion: v4.13](https://img.shields.io/badge/AppVersion-v4.13-informational?style=flat-square)
![Version: 5.1.1](https://img.shields.io/badge/Version-5.1.1-informational?style=flat-square) ![AppVersion: v4.13](https://img.shields.io/badge/AppVersion-v4.13-informational?style=flat-square)
Traccar is an open source GPS tracking system.
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mariadb | 9.3.16 |
| https://charts.bitnami.com/bitnami | mariadb | 9.3.19 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v1.8723.0
description: Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator
name: tt-rss
version: 3.2.0
version: 3.2.1
kubeVersion: ">=1.16.0-0"
keywords:
- tt-rss
@@ -18,6 +18,6 @@ dependencies:
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.2
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

View File

@@ -1,6 +1,6 @@
# tt-rss
![Version: 3.2.0](https://img.shields.io/badge/Version-3.2.0-informational?style=flat-square) ![AppVersion: v1.8723.0](https://img.shields.io/badge/AppVersion-v1.8723.0-informational?style=flat-square)
![Version: 3.2.1](https://img.shields.io/badge/Version-3.2.1-informational?style=flat-square) ![AppVersion: v1.8723.0](https://img.shields.io/badge/AppVersion-v1.8723.0-informational?style=flat-square)
Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.5.2 |
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR

View File

@@ -19,5 +19,8 @@
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
OWNERS
# helm-docs templates
*.gotmpl

View File

@@ -1,12 +1,11 @@
apiVersion: v2
appVersion: 6.2.25
appVersion: v6.2.26
description: Ubiquiti Network's Unifi Controller
name: unifi
version: 2.0.4
version: 3.1.0
keywords:
- ubiquiti
- unifi
- mongodb
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/unifi
icon: https://prd-www-cdn.ubnt.com/static/favicon-152.png
sources:
@@ -16,3 +15,11 @@ maintainers:
email: jeff@billimek.com
- name: mcronce
email: mike@quadra-tec.net
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: mongodb
version: 10.23.9
repository: https://charts.bitnami.com/bitnami
condition: mongodb.enabled

View File

@@ -1,6 +1,6 @@
# unifi
![Version: 2.0.4](https://img.shields.io/badge/Version-2.0.4-informational?style=flat-square) ![AppVersion: 6.2.25](https://img.shields.io/badge/AppVersion-6.2.25-informational?style=flat-square)
![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square) ![AppVersion: v6.2.26](https://img.shields.io/badge/AppVersion-v6.2.26-informational?style=flat-square)
Ubiquiti Network's Unifi Controller
@@ -16,6 +16,8 @@ Ubiquiti Network's Unifi Controller
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | mongodb | 10.23.9 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR
@@ -64,43 +66,52 @@ helm install unifi k8s-at-home/unifi -f values.yaml
## Custom configuration
### Running with separate MongoDB
By default the Unifi controller runs an internal MongoDB.
If you wish to run the chart with a separate MongoDB instance our chart provides the option to enable a MongoDB instance by adding the following in your `values.yaml`:
```yaml
mongodb:
enabled: true
```
(For more configuration options see the [mongodb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mongodb).)
If you do not specify any other configuration, the required environment variables will be inferred automatically.
It is also possible to override the environment variables to configure the image. See [here](https://github.com/jacobalberty/unifi-docker#external-mongodb-environment-variables) for more details.
### Regarding the services
- `guiService`: Represents the main web UI and is what one would normally point
the ingress to.
- `captivePortalService`: This service is used to allow the captive portal webpage
to be accessible. It needs to be reachable by the clients connecting to your guest
network.
- `controllerService`: This is needed in order for the unifi devices to talk to
the controller and must be otherwise exposed to the network where the unifi
devices run. If you run this as a `NodePort` (the default setting), make sure
that there is an external load balancer that is directing traffic from port
8080 to the `NodePort` for this service.
- `discoveryService`: This needs to be reachable by the unifi devices on the
network similar to the controller `Service` but only during the discovery
phase. This is a UDP service.
- `stunService`: Also used periodically by the unifi devices to communicate
with the controller using UDP. See [this article][ubnt 3] and [this other
article][ubnt 4] for more information.
- `syslogService`: Used to capture syslog from Unifi devices if the feature is
enabled in the site configuration. This needs to be reachable by Unifi devices
on port 5514/UDP.
- `speedtestService`: Used for mobile speedtest inside the UniFi Mobile app.
This needs to be reachable by clients connecting to port 6789/TCP.
By default it is not possible to combine TCP and UDP ports on a service with `type: LoadBalancer`. This can be solved in a number of ways:
### Ingress and HTTPS
Unifi does [not support HTTP][unifi] so if you wish to use the guiService, you
need to ensure that you use a backend transport of HTTPS.
An example entry in `values.yaml` to achieve this is as follows:
1. Create a separate service containing the UDP ports. This could be done by setting disabling the UDP ports under `service.main.ports` and adding the following in your `values.yaml`:
```yaml
service:
udp:
enabled: true
type: LoadBalancer
# <your other service configuration>
ports:
stun:
enabled: true
port: 3478
protocol: UDP
syslog:
enabled: true
port: 5514
protocol: UDP
discovery:
enabled: true
port: 10001
protocol: UDP
```
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
```
2. Since Kubernetes 1.20 there is a feature gate that can be enabled to allow TCP and UDP ports to coexist on Services with `type: Loadbalancer`.
You will need to enable the `MixedProtocolLBService` feature gate in order to achieve this.
For more information about feature gates, please see [the docs](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/).
## Values
@@ -108,101 +119,29 @@ ingress:
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| GID | int | `999` | |
| UID | int | `999` | |
| affinity | object | `{}` | |
| captivePortalService.annotations | object | `{}` | Provide any additional annotations which may be required. This can be used to set the LoadBalancer service type to internal only. ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer |
| captivePortalService.enabled | bool | `false` | |
| captivePortalService.externalTrafficPolicy | string | `nil` | Set the externalTrafficPolicy in the Service to either Cluster or Local |
| captivePortalService.http | int | `8880` | Kubernetes port where the http service is exposed |
| captivePortalService.https | int | `8843` | Kubernetes port where the https service is exposed |
| captivePortalService.ingress | object | `{"annotations":{},"enabled":false,"hosts":["chart-example.local"],"path":"/","tls":[]}` | Ingress settings |
| captivePortalService.labels | object | `{}` | |
| captivePortalService.loadBalancerIP | string | `nil` | Use loadBalancerIP to request a specific static IP, otherwise leave blank |
| captivePortalService.loadBalancerSourceRanges | list | `nil` | loadBalancerSourceRanges |
| captivePortalService.type | string | `"ClusterIP"` | Kubernetes service type |
| controllerService.annotations | object | `{}` | Provide any additional annotations which may be required. This can be used to set the LoadBalancer service type to internal only. ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer |
| controllerService.externalTrafficPolicy | string | `nil` | Set the externalTrafficPolicy in the Service to either Cluster or Local |
| controllerService.ingress | object | `{"annotations":{},"enabled":false,"hosts":["chart-example.local"],"path":"/","tls":[]}` | Ingress settings |
| controllerService.labels | object | `{}` | |
| controllerService.loadBalancerIP | string | `nil` | Use loadBalancerIP to request a specific static IP, otherwise leave blank |
| controllerService.loadBalancerSourceRanges | list | `nil` | loadBalancerSourceRanges |
| controllerService.port | int | `8080` | Kubernetes port where the service is exposed |
| controllerService.type | string | `"NodePort"` | Kubernetes service type |
| customCert | object | `{"certName":"tls.crt","enabled":false,"isChain":false,"keyName":"tls.key"}` | If you provide your own custom certificate in <unifi-data>/cert you can define the following parameters to configure the controller |
| deploymentAnnotations | object | `{}` | |
| discoveryService.annotations | object | `{}` | Provide any additional annotations which may be required. This can be used to set the LoadBalancer service type to internal only. ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer |
| discoveryService.externalTrafficPolicy | string | `nil` | Set the externalTrafficPolicy in the Service to either Cluster or Local |
| discoveryService.labels | object | `{}` | |
| discoveryService.loadBalancerIP | string | `nil` | Use loadBalancerIP to request a specific static IP, otherwise leave blank |
| discoveryService.loadBalancerSourceRanges | list | `nil` | loadBalancerSourceRanges |
| discoveryService.port | int | `10001` | Kubernetes port where the service is exposed |
| discoveryService.type | string | `"NodePort"` | Kubernetes service type |
| extraConfigFiles | object | `{}` | |
| extraJvmOpts | list | `[]` | |
| extraVolumeMounts | list | `[]` | |
| extraVolumes | list | `[]` | |
| guiService.annotations | object | `{}` | Provide any additional annotations which may be required. This can be used to set the LoadBalancer service type to internal only. ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer |
| guiService.externalTrafficPolicy | string | `nil` | Set the externalTrafficPolicy in the Service to either Cluster or Local |
| guiService.labels | object | `{}` | |
| guiService.loadBalancerIP | string | `nil` | Use loadBalancerIP to request a specific static IP, otherwise leave blank |
| guiService.loadBalancerSourceRanges | list | `nil` | loadBalancerSourceRanges |
| guiService.nodePort | int | `nil` | Specify the nodePort value for the LoadBalancer and NodePort service types. ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport |
| guiService.port | int | `8443` | Kubernetes port where the service is exposed |
| guiService.type | string | `"ClusterIP"` | Kubernetes service type |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"jacobalberty/unifi"` | |
| image.tag | string | `"6.2.25"` | |
| ingress | object | `{"annotations":{},"enabled":false,"hosts":["chart-example.local"],"path":"/","tls":[]}` | Ingress settings |
| jvmInitHeapSize | string | `nil` | Java Virtual Machine (JVM) initial, and minimum, heap size Unset value means there is no lower limit |
| jvmMaxHeapSize | string | `"1024M"` | Java Virtual Machine (JVM) maximum heap size For larger installations a larger value is recommended. For memory constrained system this value can be lowered. |
| livenessProbe | object | `{"enabled":true,"failureThreshold":3,"initialDelaySeconds":30,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}` | Liveness probe values Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes |
| logging | object | `{"promtail":{"enabled":false,"image":{"pullPolicy":"IfNotPresent","repository":"grafana/promtail","tag":"1.6.0"},"loki":{"url":"http://loki.logs.svc.cluster.local:3100/loki/api/v1/push"}}}` | Logging configuration |
| mongodb | object | `{"databaseName":"unifi","dbUri":"mongodb://mongo/unifi","enabled":false,"statDbUri":"mongodb://mongo/unifi_stat"}` | define an external mongoDB instead of using the built-in mongodb |
| nodeSelector | object | `{}` | |
| persistence.accessMode | string | `"ReadWriteOnce"` | Persistence access modes |
| persistence.enabled | bool | `false` | Use persistent volume to store data |
| persistence.existingClaim | string | `nil` | Use an existing PVC to persist data |
| persistence.size | string | `"5Gi"` | Size of persistent volume claim |
| persistence.skipuninstall | bool | `false` | Do not delete the pvc upon helm uninstall |
| persistence.storageClass | string | `nil` | Type of persistent volume claim |
| podAnnotations | object | `{}` | |
| readinessProbe | object | `{"enabled":true,"failureThreshold":3,"initialDelaySeconds":15,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}` | Readiness probe values Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes |
| resources | object | `{}` | |
| runAsRoot | bool | `false` | |
| speedtestService.annotations | object | `{}` | Provide any additional annotations which may be required. This can be used to set the LoadBalancer service type to internal only. ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer |
| speedtestService.externalTrafficPolicy | string | `nil` | Set the externalTrafficPolicy in the Service to either Cluster or Local |
| speedtestService.labels | object | `{}` | |
| speedtestService.loadBalancerIP | string | `nil` | Use loadBalancerIP to request a specific static IP, otherwise leave blank |
| speedtestService.loadBalancerSourceRanges | list | `nil` | loadBalancerSourceRanges |
| speedtestService.port | int | `6789` | Kubernetes port where the service is exposed |
| speedtestService.type | string | `"ClusterIP"` | Kubernetes service type |
| strategyType | string | `"Recreate"` | upgrade strategy type (e.g. Recreate or RollingUpdate) |
| stunService.annotations | object | `{}` | Provide any additional annotations which may be required. This can be used to set the LoadBalancer service type to internal only. ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer |
| stunService.externalTrafficPolicy | string | `nil` | Set the externalTrafficPolicy in the Service to either Cluster or Local |
| stunService.labels | object | `{}` | |
| stunService.loadBalancerIP | string | `nil` | Use loadBalancerIP to request a specific static IP, otherwise leave blank |
| stunService.loadBalancerSourceRanges | list | `nil` | loadBalancerSourceRanges |
| stunService.port | int | `3478` | Kubernetes port where the service is exposed |
| stunService.type | string | `"NodePort"` | Kubernetes service type |
| syslogService.annotations | object | `{}` | Provide any additional annotations which may be required. This can be used to set the LoadBalancer service type to internal only. ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer |
| syslogService.enabled | bool | `false` | |
| syslogService.externalTrafficPolicy | string | `nil` | Set the externalTrafficPolicy in the Service to either Cluster or Local |
| syslogService.labels | object | `{}` | |
| syslogService.loadBalancerIP | string | `nil` | Use loadBalancerIP to request a specific static IP, otherwise leave blank |
| syslogService.loadBalancerSourceRanges | list | `nil` | loadBalancerSourceRanges |
| syslogService.port | int | `5514` | Kubernetes port where the service is exposed |
| syslogService.type | string | `"NodePort"` | Kubernetes service type |
| timezone | string | `"UTC"` | |
| tolerations | list | `[]` | |
| unifiedService.annotations | object | `{}` | Provide any additional annotations which may be required. This can be used to set the LoadBalancer service type to internal only. ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer |
| unifiedService.enabled | bool | `false` | |
| unifiedService.externalTrafficPolicy | string | `nil` | Set the externalTrafficPolicy in the Service to either Cluster or Local |
| unifiedService.labels | object | `{}` | |
| unifiedService.loadBalancerIP | string | `nil` | Use loadBalancerIP to request a specific static IP, otherwise leave blank |
| unifiedService.loadBalancerSourceRanges | list | `nil` | loadBalancerSourceRanges |
| unifiedService.nodePort | int | `nil` | Specify the nodePort value for the LoadBalancer and NodePort service types. ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport |
| unifiedService.type | string | `"ClusterIP"` | Kubernetes service type |
| env | object | See below | environment variables. See more environment variables in the [image documentation](https://github.com/jacobalberty/unifi-docker#environment-variables). |
| env.JVM_INIT_HEAP_SIZE | string | `nil` | Java Virtual Machine (JVM) initial, and minimum, heap size Unset value means there is no lower limit |
| env.JVM_MAX_HEAP_SIZE | string | `"1024M"` | Java Virtual Machine (JVM) maximum heap size For larger installations a larger value is recommended. For memory constrained system this value can be lowered. |
| env.RUNAS_UID0 | string | `"false"` | Run UniFi as root |
| env.TZ | string | `"UTC"` | Set the container timezone |
| env.UNIFI_GID | string | `"999"` | Specify the group ID the application will run as |
| env.UNIFI_UID | string | `"999"` | Specify the user ID the application will run as |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"jacobalberty/unifi"` | image repository |
| image.tag | string | `"v6.2.26"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| ingress.portal | object | See values.yaml | Enable and configure settings for the captive portal ingress under this key. |
| mongodb | object | See values.yaml | Enable and configure mongodb database subchart under this key. For more options see [mongodb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mongodb) |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. |
| service.main.ports.controller | object | See values.yaml | Configure Controller port used for device command/control |
| service.main.ports.discovery | object | See values.yaml | Configure device discovery port |
| service.main.ports.http | object | See values.yaml | Configure Web interface + API port |
| service.main.ports.portal-http | object | See values.yaml | Configure Captive Portal HTTP port |
| service.main.ports.portal-https | object | See values.yaml | Configure Captive Portal HTTPS port |
| service.main.ports.speedtest | object | See values.yaml | Configure Speedtest port (used for UniFi mobile speed test) |
| service.main.ports.stun | object | See values.yaml | Configure STUN port |
| service.main.ports.syslog | object | See values.yaml | Configure remote syslog port |
## Changelog
@@ -210,6 +149,29 @@ All notable changes to this application Helm chart will be documented in this fi
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]
#### Added
- Support for running with an external MongoDB instance has been reimplemented.
#### Fixed
- The chart is now compatible again with PVC's that were created with chart versions < 3.0.0.
### [3.0.0]
#### Changed
- **BREAKING**: Migrated chart to common library. This means that there are many things that work different from before. Please check the `values.yaml` file for the current implementation.
- Changed image tag to `v6.2.26`.
#### Removed
- **BREAKING**: Removed support for deploying a separate MongoDB instance.
- **BREAKING**: Removed support for specifying custom configMaps in chart values.
- **BREAKING**: Removed chart-specific Promtail implementation. This can be replaced by using the common library charts Promtail add-on.
### [2.0.4]
#### Added
@@ -258,9 +220,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[2.0.2]: #2.0.2
[2.0.1]: #2.0.1
[1.5.3]: #1.5.3
[3.0.0]: #300
[2.0.4]: #204
[2.0.2]: #202
[2.0.1]: #201
[1.5.3]: #153
## Support

View File

@@ -9,6 +9,29 @@ All notable changes to this application Helm chart will be documented in this fi
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]
#### Added
- Support for running with an external MongoDB instance has been reimplemented.
#### Fixed
- The chart is now compatible again with PVC's that were created with chart versions < 3.0.0.
### [3.0.0]
#### Changed
- **BREAKING**: Migrated chart to common library. This means that there are many things that work different from before. Please check the `values.yaml` file for the current implementation.
- Changed image tag to `v6.2.26`.
#### Removed
- **BREAKING**: Removed support for deploying a separate MongoDB instance.
- **BREAKING**: Removed support for specifying custom configMaps in chart values.
- **BREAKING**: Removed chart-specific Promtail implementation. This can be replaced by using the common library charts Promtail add-on.
### [2.0.4]
#### Added
@@ -57,7 +80,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[2.0.2]: #2.0.2
[2.0.1]: #2.0.1
[1.5.3]: #1.5.3
[3.0.0]: #300
[2.0.4]: #204
[2.0.2]: #202
[2.0.1]: #201
[1.5.3]: #153
{{- end -}}

View File

@@ -5,41 +5,51 @@
{{- define "custom.custom.configuration" -}}
{{ template "custom.custom.configuration.header" . }}
### Running with separate MongoDB
By default the Unifi controller runs an internal MongoDB.
If you wish to run the chart with a separate MongoDB instance our chart provides the option to enable a MongoDB instance by adding the following in your `values.yaml`:
```yaml
mongodb:
enabled: true
```
(For more configuration options see the [mongodb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mongodb).)
If you do not specify any other configuration, the required environment variables will be inferred automatically.
It is also possible to override the environment variables to configure the image. See [here](https://github.com/jacobalberty/unifi-docker#external-mongodb-environment-variables) for more details.
### Regarding the services
- `guiService`: Represents the main web UI and is what one would normally point
the ingress to.
- `captivePortalService`: This service is used to allow the captive portal webpage
to be accessible. It needs to be reachable by the clients connecting to your guest
network.
- `controllerService`: This is needed in order for the unifi devices to talk to
the controller and must be otherwise exposed to the network where the unifi
devices run. If you run this as a `NodePort` (the default setting), make sure
that there is an external load balancer that is directing traffic from port
8080 to the `NodePort` for this service.
- `discoveryService`: This needs to be reachable by the unifi devices on the
network similar to the controller `Service` but only during the discovery
phase. This is a UDP service.
- `stunService`: Also used periodically by the unifi devices to communicate
with the controller using UDP. See [this article][ubnt 3] and [this other
article][ubnt 4] for more information.
- `syslogService`: Used to capture syslog from Unifi devices if the feature is
enabled in the site configuration. This needs to be reachable by Unifi devices
on port 5514/UDP.
- `speedtestService`: Used for mobile speedtest inside the UniFi Mobile app.
This needs to be reachable by clients connecting to port 6789/TCP.
By default it is not possible to combine TCP and UDP ports on a service with `type: LoadBalancer`. This can be solved in a number of ways:
### Ingress and HTTPS
Unifi does [not support HTTP][unifi] so if you wish to use the guiService, you
need to ensure that you use a backend transport of HTTPS.
An example entry in `values.yaml` to achieve this is as follows:
1. Create a separate service containing the UDP ports. This could be done by setting disabling the UDP ports under `service.main.ports` and adding the following in your `values.yaml`:
```yaml
service:
udp:
enabled: true
type: LoadBalancer
# <your other service configuration>
ports:
stun:
enabled: true
port: 3478
protocol: UDP
syslog:
enabled: true
port: 5514
protocol: UDP
discovery:
enabled: true
port: 10001
protocol: UDP
```
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
```
2. Since Kubernetes 1.20 there is a feature gate that can be enabled to allow TCP and UDP ports to coexist on Services with `type: Loadbalancer`.
You will need to enable the `MixedProtocolLBService` feature gate in order to achieve this.
For more information about feature gates, please see [the docs](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/).
{{- end -}}

View File

View File

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

View File

@@ -1,19 +1 @@
1. Get the application URL by running these commands:
{{- if .Values.ingress.enabled }}
{{- range .Values.ingress.hosts }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.ingress.path }}
{{- end }}
{{- else if contains "NodePort" .Values.guiService.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "unifi.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.guiService.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 --namespace {{ .Release.Namespace }} -w {{ template "unifi.fullname" . }}-gui'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "unifi.fullname" . }}-gui -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:{{ .Values.guiService.port }}
{{- else if contains "ClusterIP" .Values.guiService.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "unifi.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8443:{.Values.guiService.port}
Visit https://127.0.0.1:8443 to use your application
{{- end }}
{{- include "common.notes.defaultNotes" . -}}

View File

@@ -1,52 +0,0 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "unifi.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 "unifi.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 "unifi.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels
*/}}
{{- define "unifi.labels" -}}
helm.sh/chart: {{ include "unifi.chart" . }}
{{ include "unifi.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "unifi.selectorLabels" -}}
app.kubernetes.io/name: {{ include "unifi.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

View File

@@ -1,64 +0,0 @@
{{- if (and .Values.captivePortalService.ingress.enabled (not .Values.unifiedService.enabled)) }}
{{- $fullName := include "unifi.fullname" . -}}
{{- $ingressPath := .Values.captivePortalService.ingress.path -}}
{{- $unifiedServiceEnabled := .Values.unifiedService.enabled -}}
{{- $captivePortalHttps := .Values.captivePortalService.https -}}
{{- if semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}-captive
labels:
app.kubernetes.io/name: {{ include "unifi.name" . }}
helm.sh/chart: {{ include "unifi.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.captivePortalService.ingress.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.captivePortalService.ingress.tls }}
tls:
{{- range .Values.captivePortalService.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.captivePortalService.ingress.hosts }}
- host: {{ . }}
http:
paths:
- path: {{ $ingressPath }}
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Prefix
{{- end }}
backend:
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }}-captiveportalservice
port:
{{- if $captivePortalHttps }}
name: https-captive
{{- else }}
name: http-captive
{{- end }}
{{- else }}
serviceName: {{ $fullName }}-captiveportalservice
{{- if $captivePortalHttps }}
servicePort: https-captive
{{- else }}
servicePort: http-captive
{{- end }}
{{- end -}}
{{- end }}
{{- end }}

View File

@@ -1,60 +0,0 @@
{{ if (and .Values.captivePortalService.enabled (not .Values.unifiedService.enabled)) }}
apiVersion: v1
kind: Service
metadata:
name: {{ template "unifi.fullname" . }}-captiveportalservice
labels:
app.kubernetes.io/name: {{ include "unifi.name" . }}
helm.sh/chart: {{ include "unifi.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.captivePortalService.labels }}
{{ toYaml .Values.captivePortalService.labels | indent 4 }}
{{- end }}
{{- with .Values.captivePortalService.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if (or (eq .Values.captivePortalService.type "ClusterIP") (empty .Values.captivePortalService.type)) }}
type: ClusterIP
{{- if .Values.captivePortalService.clusterIP }}
clusterIP: {{ .Values.captivePortalService.clusterIP }}
{{end}}
{{- else if eq .Values.captivePortalService.type "LoadBalancer" }}
type: {{ .Values.captivePortalService.type }}
{{- if .Values.captivePortalService.loadBalancerIP }}
loadBalancerIP: {{ .Values.captivePortalService.loadBalancerIP }}
{{- end }}
{{- if .Values.captivePortalService.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{ toYaml .Values.captivePortalService.loadBalancerSourceRanges | indent 4 }}
{{- end -}}
{{- else }}
type: {{ .Values.captivePortalService.type }}
{{- end }}
{{- if .Values.captivePortalService.externalIPs }}
externalIPs:
{{ toYaml .Values.captivePortalService.externalIPs | indent 4 }}
{{- end }}
{{- if .Values.captivePortalService.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.captivePortalService.externalTrafficPolicy }}
{{- end }}
ports:
- port: {{ .Values.captivePortalService.http }}
targetPort: http-captive
protocol: TCP
name: http-captive
{{ if (and (eq .Values.captivePortalService.type "NodePort") (not (empty .Values.captivePortalService.http))) }}
nodePort: {{.Values.captivePortalService.http}}
{{ end }}
- port: {{ .Values.captivePortalService.https }}
targetPort: https-captive
protocol: TCP
name: https-captive
{{ if (and (eq .Values.captivePortalService.type "NodePort") (not (empty .Values.captivePortalService.https))) }}
nodePort: {{.Values.captivePortalService.https}}
{{ end }}
selector:
{{- include "unifi.selectorLabels" . | nindent 6 }}
{{ end }}

View File

@@ -0,0 +1,22 @@
{{- include "common.values.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "unifi.harcodedValues" -}}
env:
UNIFI_STDOUT: "true"
{{- if .Values.mongodb.enabled }}
{{- if not .Values.env.DB_URI }}
DB_URI: mongodb://{{ .Release.Name }}-mongodb:27017/unifi
{{- end }}
{{- if not .Values.env.STATDB_URI }}
STATDB_URI: mongodb://{{ .Release.Name }}-mongodb:27017/unifi_stat
{{- end }}
{{- if not .Values.env.DB_NAME }}
DB_NAME: unifi
{{- end }}
{{- end }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "unifi.harcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -1,13 +0,0 @@
{{- if .Values.extraConfigFiles }}
kind: ConfigMap
apiVersion: v1
metadata:
name: {{ template "unifi.fullname" . }}
labels:
app.kubernetes.io/name: {{ include "unifi.name" . }}
helm.sh/chart: {{ include "unifi.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
data:
{{ toYaml .Values.extraConfigFiles | indent 2 }}
{{- end }}

View File

@@ -1,55 +0,0 @@
{{- if (and .Values.controllerService.ingress.enabled (not .Values.unifiedService.enabled)) }}
{{- $fullName := include "unifi.fullname" . -}}
{{- $ingressPath := .Values.controllerService.ingress.path -}}
{{- $unifiedServiceEnabled := .Values.unifiedService.enabled -}}
{{- if semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}-controller
labels:
app.kubernetes.io/name: {{ include "unifi.name" . }}
helm.sh/chart: {{ include "unifi.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.controllerService.ingress.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.controllerService.ingress.tls }}
tls:
{{- range .Values.controllerService.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.controllerService.ingress.hosts }}
- host: {{ . }}
http:
paths:
- path: {{ $ingressPath }}
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Prefix
{{- end }}
backend:
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }}-controller
port:
name: controller
{{- else -}}
serviceName: {{ $fullName }}-controller
servicePort: controller
{{- end }}
{{- end }}
{{- end }}

View File

@@ -1,53 +0,0 @@
{{ if not .Values.unifiedService.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ template "unifi.fullname" . }}-controller
labels:
app.kubernetes.io/name: {{ include "unifi.name" . }}
helm.sh/chart: {{ include "unifi.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.controllerService.labels }}
{{ toYaml .Values.controllerService.labels | indent 4 }}
{{- end }}
{{- with .Values.controllerService.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if (or (eq .Values.controllerService.type "ClusterIP") (empty .Values.controllerService.type)) }}
type: ClusterIP
{{- if .Values.controllerService.clusterIP }}
clusterIP: {{ .Values.controllerService.clusterIP }}
{{end}}
{{- else if eq .Values.controllerService.type "LoadBalancer" }}
type: {{ .Values.controllerService.type }}
{{- if .Values.controllerService.loadBalancerIP }}
loadBalancerIP: {{ .Values.controllerService.loadBalancerIP }}
{{- end }}
{{- if .Values.controllerService.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{ toYaml .Values.controllerService.loadBalancerSourceRanges | indent 4 }}
{{- end -}}
{{- else }}
type: {{ .Values.controllerService.type }}
{{- end }}
{{- if .Values.controllerService.externalIPs }}
externalIPs:
{{ toYaml .Values.controllerService.externalIPs | indent 4 }}
{{- end }}
{{- if .Values.controllerService.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.controllerService.externalTrafficPolicy }}
{{- end }}
ports:
- port: {{ .Values.controllerService.port }}
targetPort: controller
protocol: TCP
name: controller
{{ if (and (eq .Values.controllerService.type "NodePort") (not (empty .Values.controllerService.nodePort))) }}
nodePort: {{.Values.controllerService.nodePort}}
{{ end }}
selector:
{{- include "unifi.selectorLabels" . | nindent 4 }}
{{ end }}

View File

@@ -1,219 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "unifi.fullname" . }}
{{- if .Values.deploymentAnnotations }}
annotations:
{{- range $key, $value := .Values.deploymentAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
app.kubernetes.io/name: {{ include "unifi.name" . }}
helm.sh/chart: {{ include "unifi.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
replicas: 1
strategy:
type: {{ .Values.strategyType }}
selector:
matchLabels:
{{- include "unifi.selectorLabels" . | nindent 6 }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "unifi.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
containers:
{{- if .Values.logging.promtail.enabled }}
- name: {{ .Chart.Name }}-promtail
image: "{{ .Values.logging.promtail.image.repository }}:{{ .Values.logging.promtail.image.tag }}"
imagePullPolicy: {{ .Values.logging.promtail.image.pullPolicy }}
args:
- -config.file=/etc/promtail/promtail.yaml
volumeMounts:
- name: promtail-config
mountPath: /etc/promtail/promtail.yaml
subPath: promtail.yaml
readOnly: true
- mountPath: /unifi/log
name: unifi-data
subPath: {{ ternary "log" (printf "%s/%s" .Values.persistence.subPath "log") (empty .Values.persistence.subPath) }}
{{- end }}
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: https-gui
containerPort: {{ .Values.guiService.port }}
protocol: TCP
- name: controller
containerPort: {{ .Values.controllerService.port }}
protocol: TCP
- name: discovery
containerPort: 10001
protocol: UDP
- name: stun
containerPort: 3478
protocol: UDP
- name: syslog
containerPort: 5514
protocol: UDP
{{- if .Values.captivePortalService.enabled }}
- name: http-captive
containerPort: {{ .Values.captivePortalService.http }}
protocol: TCP
- name: https-captive
containerPort: {{ .Values.captivePortalService.https }}
protocol: TCP
{{- end }}
- name: speedtest
containerPort: 6789
protocol: TCP
{{- if not .Values.runAsRoot }}
securityContext:
capabilities:
add:
- SETFCAP
{{- end }}
{{- if .Values.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: /status
port: https-gui
scheme: HTTPS
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
successThreshold: {{ .Values.livenessProbe.successThreshold }}
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
{{- end }}
{{- if .Values.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: /status
port: https-gui
scheme: HTTPS
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
successThreshold: {{ .Values.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
{{- end }}
env:
- name: UNIFI_HTTP_PORT
value: "{{ .Values.controllerService.port }}"
- name: UNIFI_HTTPS_PORT
value: "{{ .Values.guiService.port }}"
- name: TZ
value: "{{ .Values.timezone }}"
- name: RUNAS_UID0
value: "{{ .Values.runAsRoot }}"
- name: UNIFI_UID
value: "{{ .Values.UID }}"
- name: UNIFI_GID
value: "{{ .Values.GID }}"
- name: UNIFI_STDOUT
value: "true"
{{- if .Values.extraJvmOpts }}
- name: JVM_EXTRA_OPTS
value: "{{- join " " .Values.extraJvmOpts }}"
{{- end }}
{{- if .Values.jvmInitHeapSize }}
- name: JVM_INIT_HEAP_SIZE
value: "{{ .Values.jvmInitHeapSize }}"
{{- end }}
{{- if .Values.jvmMaxHeapSize }}
- name: JVM_MAX_HEAP_SIZE
value: "{{ .Values.jvmMaxHeapSize }}"
{{- end }}
{{- if .Values.mongodb.enabled }}
- name: DB_URI
value: "{{ .Values.mongodb.dbUri }}"
- name: STATDB_URI
value: "{{ .Values.mongodb.statDbUri }}"
- name: DB_NAME
value: "{{ .Values.mongodb.databaseName }}"
{{- end }}
{{- if and .Values.customCert .Values.customCert.enabled }}
- name: CERT_IS_CHAIN
value: "{{ .Values.customCert.isChain }}"
- name: CERTNAME
value: "{{ .Values.customCert.certName }}"
- name: CERT_PRIVATE_NAME
value: "{{ .Values.customCert.keyName }}"
{{- end }}
volumeMounts:
- mountPath: /unifi/data
name: unifi-data
subPath: {{ ternary "data" (printf "%s/%s" .Values.persistence.subPath "data") (empty .Values.persistence.subPath) }}
- mountPath: /unifi/log
name: unifi-data
subPath: {{ ternary "log" (printf "%s/%s" .Values.persistence.subPath "log") (empty .Values.persistence.subPath) }}
- mountPath: /unifi/cert
{{- if and .Values.customCert .Values.customCert.enabled .Values.customCert.certSecret }}
name: unifi-cert-secret
{{- else }}
name: unifi-data
subPath: {{ ternary "cert" (printf "%s/%s" .Values.persistence.subPath "cert") (empty .Values.persistence.subPath) }}
{{- end }}
- mountPath: /unifi/init.d
name: unifi-data
subPath: {{ ternary "init.d" (printf "%s/%s" .Values.persistence.subPath "init.d") (empty .Values.persistence.subPath) }}
{{- if .Values.extraConfigFiles }}
- name: extra-config
mountPath: /configmap
{{- end }}
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 12 }}{{ end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
volumes:
- name: unifi-data
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "unifi.fullname" . }}{{- end }}
{{- else }}
emptyDir: {}
{{ end }}
{{- if .Values.extraConfigFiles }}
- name: extra-config
configMap:
name: {{ template "unifi.fullname" . }}
{{- end }}
{{- if and .Values.customCert .Values.customCert.enabled .Values.customCert.certSecret }}
- name: unifi-cert-secret
secret:
secretName: "{{ .Values.customCert.certSecret }}"
{{- end }}
{{- if .Values.logging.promtail.enabled }}
- name: promtail-config
projected:
defaultMode: 0444
sources:
- configMap:
name: {{ template "unifi.fullname" . }}-promtail
items:
- key: promtail.yaml
path: promtail.yaml
{{- end }}
{{- if .Values.extraVolumes }}{{ toYaml .Values.extraVolumes | trim | nindent 8 }}{{ end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}

View File

@@ -1,53 +0,0 @@
{{ if not .Values.unifiedService.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ template "unifi.fullname" . }}-discovery
labels:
app.kubernetes.io/name: {{ include "unifi.name" . }}
helm.sh/chart: {{ include "unifi.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.discoveryService.labels }}
{{ toYaml .Values.discoveryService.labels | indent 4 }}
{{- end }}
{{- with .Values.discoveryService.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if (or (eq .Values.discoveryService.type "ClusterIP") (empty .Values.discoveryService.type)) }}
type: ClusterIP
{{- if .Values.discoveryService.clusterIP }}
clusterIP: {{ .Values.discoveryService.clusterIP }}
{{end}}
{{- else if eq .Values.discoveryService.type "LoadBalancer" }}
type: {{ .Values.discoveryService.type }}
{{- if .Values.discoveryService.loadBalancerIP }}
loadBalancerIP: {{ .Values.discoveryService.loadBalancerIP }}
{{- end }}
{{- if .Values.discoveryService.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{ toYaml .Values.discoveryService.loadBalancerSourceRanges | indent 4 }}
{{- end -}}
{{- else }}
type: {{ .Values.discoveryService.type }}
{{- end }}
{{- if .Values.discoveryService.externalIPs }}
externalIPs:
{{ toYaml .Values.discoveryService.externalIPs | indent 4 }}
{{- end }}
{{- if .Values.discoveryService.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.discoveryService.externalTrafficPolicy }}
{{- end }}
ports:
- port: {{ .Values.discoveryService.port }}
targetPort: discovery
protocol: UDP
name: discovery
{{ if (and (eq .Values.discoveryService.type "NodePort") (not (empty .Values.discoveryService.nodePort))) }}
nodePort: {{.Values.discoveryService.nodePort}}
{{ end }}
selector:
{{- include "unifi.selectorLabels" . | nindent 4 }}
{{ end }}

View File

@@ -1,53 +0,0 @@
{{ if not .Values.unifiedService.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ template "unifi.fullname" . }}-gui
labels:
app.kubernetes.io/name: {{ include "unifi.name" . }}
helm.sh/chart: {{ include "unifi.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.guiService.labels }}
{{ toYaml .Values.guiService.labels | indent 4 }}
{{- end }}
{{- with .Values.guiService.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if (or (eq .Values.guiService.type "ClusterIP") (empty .Values.guiService.type)) }}
type: ClusterIP
{{- if .Values.guiService.clusterIP }}
clusterIP: {{ .Values.guiService.clusterIP }}
{{end}}
{{- else if eq .Values.guiService.type "LoadBalancer" }}
type: {{ .Values.guiService.type }}
{{- if .Values.guiService.loadBalancerIP }}
loadBalancerIP: {{ .Values.guiService.loadBalancerIP }}
{{- end }}
{{- if .Values.guiService.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{ toYaml .Values.guiService.loadBalancerSourceRanges | indent 4 }}
{{- end -}}
{{- else }}
type: {{ .Values.guiService.type }}
{{- end }}
{{- if .Values.guiService.externalIPs }}
externalIPs:
{{ toYaml .Values.guiService.externalIPs | indent 4 }}
{{- end }}
{{- if .Values.guiService.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.guiService.externalTrafficPolicy }}
{{- end }}
ports:
- name: https-gui
port: {{ .Values.guiService.port }}
protocol: TCP
targetPort: https-gui
{{ if (and (eq .Values.guiService.type "NodePort") (not (empty .Values.guiService.nodePort))) }}
nodePort: {{.Values.guiService.nodePort}}
{{ end }}
selector:
{{- include "unifi.selectorLabels" . | nindent 4 }}
{{ end }}

View File

@@ -1,60 +0,0 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "unifi.fullname" . -}}
{{- $ingressPath := .Values.ingress.path -}}
{{- $unifiedServiceEnabled := .Values.unifiedService.enabled -}}
{{- if semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}
{{- with .Values.ingress.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
labels:
{{- include "unifi.labels" . | nindent 4 }}
spec:
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ . }}
http:
paths:
- path: {{ $ingressPath }}
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
pathType: Prefix
{{- end }}
backend:
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
service:
{{- if $unifiedServiceEnabled }}
name: {{ $fullName }}
{{- else }}
name: {{ $fullName }}-gui
{{- end }}
port:
name: https-gui
{{- else -}}
{{- if $unifiedServiceEnabled }}
serviceName: {{ $fullName }}
{{- else }}
serviceName: {{ $fullName }}-gui
{{- end }}
servicePort: https-gui
{{- end -}}
{{- end }}
{{- end }}

View File

@@ -1,34 +0,0 @@
{{- if .Values.logging.promtail.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "unifi.fullname" . }}-promtail
labels:
app.kubernetes.io/name: {{ include "unifi.name" . }}
helm.sh/chart: {{ include "unifi.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
data:
promtail.yaml: |
server:
disable: true
positions:
filename: /tmp/positions.yaml
clients:
- url: {{ .Values.logging.promtail.loki.url }}
scrape_configs:
- job_name: unifi-logs
static_configs:
- targets:
- localhost
labels:
job: unifi-logs
__path__: "/unifi/log/*.log"
- job_name: unifi-remote-logs
static_configs:
- targets:
- localhost
labels:
job: unifi-remote-logs
__path__: "/unifi/log/remote/*.log"
{{- end }}

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