Compare commits

...

340 Commits

Author SHA1 Message Date
renovate[bot]
9749081d70 Update Helm chart common to v2.2.1 (#481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-08 15:38:17 +01:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
61028541f1 [common] v2.2.1 (#480)
* [common] v2.2.1
2021-01-08 15:21:03 +01:00
auricom
28118894f7 add recipes (#479) 2021-01-08 08:59:56 -05:00
Michael Goldstein
27b095e12d [Mosquitto] Update Mosquitto to support configurable ports (#475)
Co-authored-by: Michael Goldstein <michael.goldstein@digitalreasoning.com>
2021-01-08 08:26:32 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
ebd7aa6f0c [samba] New chart (#477) 2021-01-07 14:10:50 -05:00
Mike K
bb34df9273 Feature/tvheadend - HTSP port (#476)
* New chart

* trigger workflow

* Update README.md

* Update common.yaml

* Use default service name

* Add htsp port

* bump
2021-01-07 18:17:20 +01:00
ᗪєνιη ᗷυнʟ
871d50ebd5 [meta] update readme (#474)
* [meta] update readme

* Update README.md

Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>

Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2021-01-06 11:01:45 -05:00
renovate[bot]
8bf006814a Update Helm chart common to v2.2.0 (#473)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-05 20:24:47 +01:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
bf0ec02b1e Update renovate.json5 2021-01-05 19:20:22 +01:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
eeba9db503 Update renovate.json5 2021-01-05 19:19:02 +01:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
17d0825d3e Update renovate.json5 2021-01-05 19:16:52 +01:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
52561bd15d [common] version 2.2.0 (#443)
* Add code-server env to values

* Bump chart version

* [common] - add ingressclass name (#441)

* add ingressclassname

Signed-off-by: Jon Baker <jonbaker85@gmail.com>

* Allow disabling of service links

* Update changelog

* Update changelog

* Set better default for targetPort

* Allow for different container / service ports

* Fix linting error

* Add unit tests

* Add unit tests

* Add unit tests

* Service unit tests

* Split CI jobs

* Testing CI

* Testing CI

* Testing CI

* Testing CI

* Rename test file to match source

* Fix newline

Co-authored-by: Jon Baker <jonbaker85@gmail.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2021-01-05 18:34:42 +01:00
dcplaya
311c9c35bb [hyperion-ng] Initial Commit (#470)
* [hyperion-ng] Initial Commit

* Dang trailing space! Makes lint happy

* Suggested changes
2021-01-04 20:04:07 +01:00
stretched
d3679c6d39 [powerdns] Fix some minor issues introduced by dde8baec08 in k8s-at-home/charts#78. (#468)
- Bring `appVersion` from `Chart.yaml` back in sync with the wq`image.tag` from `values.yaml`
- `postgres.enabled` -> `postgresql.enabled` for postgresql dependency in `Chart.yaml`

Signed-off-by: David Armstrong <stretched@users.noreply.github.com>
2021-01-03 08:25:00 -05:00
Patrick Collins
77ea057807 [heimdall] fix copy-paste typo (#466)
* fix copy-paste typo

* bump chart version
2021-01-02 19:18:00 -05:00
Mike K
5e9124b1db [TVheadend] - New chart contribution (#464) 2021-01-02 16:27:58 -05:00
Dave O'Connor
b4e3d966aa [zigbee2mqtt] update appVersion to 1.17.0 (#460) 2021-01-01 16:06:31 +01:00
renovate[bot]
423c8b00dc Update Helm chart influxdb to v1.1.6 (#453)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-01 10:22:38 +01:00
renovate[bot]
fa10413661 Update external minor dep Helm releases (minor) (#454)
* Update external minor dep Helm releases

* [statping] Revert dependency update

* [home-assistant] Bump influxdb (see #453)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2021-01-01 10:16:43 +01:00
renovate[bot]
1193908f6d [powerdns] Update Helm chart mariadb to v9 (#455)
* [powerdns] Update Helm chart mariadb to v9

* Update values for latest mariadb chart

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2021-01-01 10:01:04 +01:00
Mark McWhirter
554ecb81c9 [nzbhydra2] Use HTTP probes & Bump Version (#450) 2020-12-30 14:42:23 -05:00
Mark McWhirter
3d467a1779 [Deluge] V1 of Deluge Chart (#447) 2020-12-29 12:51:19 -05:00
Tarvi Pillessaar
e0ce54f4f3 [oauth2-proxy] Add support for initContainers (#446) 2020-12-29 12:49:53 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
323a2bc496 [octoprint] Use built-in haproxy (#445) 2020-12-29 07:20:53 -05:00
Jon Baker
1e46b5c7d6 [home-assistant] Update documentation for HA and Ingress (#442)
* Update documentation for HA and Ingress

Signed-off-by: Jon Baker <jonbaker85@gmail.com>

* Bump chart version

Signed-off-by: Jon Baker <jonbaker85@gmail.com>

* Bump chart version

Signed-off-by: Jon Baker <jonbaker85@gmail.com>
2020-12-28 20:51:59 -05:00
Mark McWhirter
aa45228a8d [Readarr] New Readarr chart (#438)
* V1 of Readarr

* Feedback from PR

* Additional message around early-dev project
2020-12-28 15:14:30 -05:00
Mike K
157e898ed0 [neolink] New chart contribution (#434)
* Neolink chart

* .

* Revert

* Heh

* Comment out sample config

* Revert last commit
2020-12-27 11:36:48 -05:00
Mike K
0e6c5c3617 Tweak readme (#435) 2020-12-27 07:23:36 -05:00
dza89
144350e4c9 Remove /metrics from probes (#433)
Signed-off-by: Daan <dhapotter@gmail.com>
2020-12-25 15:12:35 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
1d0cce4146 [network-ups-tools] New chart (#431) 2020-12-24 06:51:18 -05:00
ᗪєνιη ᗷυнʟ
7358653626 [home-assistant] allow setting a base64-encoded SSH private key (#430)
* [home-assistant] allow setting a base64-encoded SSH private key

* [home-assistant] allow setting a base64-encoded SSH private key
2020-12-23 16:46:42 +01:00
ᗪєνιη ᗷυнʟ
b290bcd0a1 [home-assistant] allow setting a base64-encoded SSH private key (#429)
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-23 09:47:01 -05:00
Ryan Holt
33b54fc068 Merge pull request #427 from auricom/searx
[searx] new chart
2020-12-22 18:42:34 -05:00
auricom
c7d19f3439 lint 2020-12-22 23:13:44 +01:00
auricom
2cd8ee95b3 Merge branch 'master' into searx 2020-12-22 23:13:11 +01:00
auricom
59cfa8911d fixes 2020-12-22 23:11:03 +01:00
auricom
80b63716e7 lint 2020-12-22 14:12:13 +01:00
auricom
de9e78afa8 lint 2020-12-22 14:09:41 +01:00
Joshua Hügli
fa594708c5 [zigbee2mqtt] update appVersion to 1.16.2 (#428)
* update to 1.16.2

* update Chart.yaml
2020-12-21 13:36:35 -05:00
auricom
afe95bbb01 Merge branch 'master' into searx 2020-12-21 14:24:08 +01:00
auricom
d198281248 add searx 2020-12-21 14:16:31 +01:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
e3d6d55d0f [dsmr-reader] New chart (#426)
* [dsmr-reader] New chart

* Add vscode folder to helmignore
2020-12-21 08:09:40 -05:00
Stas Alekseev
3288c87a4e [resilio-sync]: new chart (#425)
* feat(chart): new chart for resilio-sync

* fix(charts): address feedback on resilio-sync chart
2020-12-20 22:33:57 -05:00
CuBiC
5521e92c2b [node-feature-discovery] New image repository and version bump to v0.7.0 (#423) 2020-12-20 19:41:22 -05:00
ᗪєνιη ᗷυнʟ
9b9796004a [monica] fix word (#422) 2020-12-20 16:39:51 -05:00
renovate[bot]
3260bd1bc3 Update Helm chart common to v2.1.1 (#420)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-19 07:48:22 +01:00
ᗪєνιη ᗷυнʟ
e0fa776b45 [common] use subPath in container (#419)
* [common] use subPath in container

* bump patch on chart version
2020-12-18 21:39:35 -05:00
ᗪєνιη ᗷυнʟ
cbbc76c340 [gaps] new chart (#418)
* [gaps] new chart

* [gaps] add vscode to helmignore
2020-12-18 22:43:15 +01:00
renovate[bot]
2c572d2e94 Update Helm chart common to v2.1.0 (#417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-18 18:21:36 +01:00
Jeff Billimek
b0d6043893 [common] allow code-server to run with additional args (#414) 2020-12-18 15:44:57 +01:00
ᗪєνιη ᗷυнʟ
1252387702 [various] clean up ct-values (#415) 2020-12-18 09:40:35 -05:00
ᗪєνιη ᗷυнʟ
d7b0ad55f3 Create stale.yml 2020-12-17 13:21:23 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
a265546c22 Update renovate.json5 2020-12-17 14:11:14 +01:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
49de00be1a [workflow] Always run linting 2020-12-17 13:36:34 +01:00
ᗪєνιη ᗷυнʟ
b74f570b93 [home-assistant] migrate to common chart (#333)
* [home-assistant] migrate to common chart

* [home-assistant] uncomment out serviceMonitor

* [home-assistant] uncomment out serviceMonitor

* bump influxdb

* Bump postgresql

* Update charts/home-assistant/README.md

Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>

* Update charts/home-assistant/README.md

Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>

* Update charts/home-assistant/README.md

Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>

* fix up few review changes

* Update CHANGELOG.md

* Add deploykey support, vscode CI

* Fix CI

* bump influxdb

* fix up comments

* bump postgres to 10.2.0

* bump postgres to 10.2.0

* bump HA version and remove code-server

* bump mariadb version

* add mariadb to changelog

* bump to common 2.0.0

* remove other ct-values

* bump common

* Delete ct-values.yaml

* Update Chart.yaml

* bump to 2020.12.1

* bump to 2020.12.1

* bump to 2020.12.1

Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-17 01:27:05 -05:00
renovate[bot]
07aa2b4c51 Update helm chart common to v2.0.4 (#410)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 16:27:00 -05:00
ᗪєνιη ᗷυнʟ
c0b2c6dad6 move commitMessagePrefix and branchTopic into packageRules 2020-12-16 15:13:54 -05:00
renovate[bot]
3ee1714fab [zwave2mqtt] Update helm chart common to v2 (#406)
* [zwave2mqtt] Update helm chart common to v2

* Delete ct-values.yaml

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 21:00:28 +01:00
renovate[bot]
f1b3fbcfba [unifi-poller] Update helm chart common to v2 (#403)
* [unifi-poller] Update helm chart common to v2

* Delete ct-values.yaml

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-16 20:59:50 +01:00
renovate[bot]
22ed86b73e [xteve] Update helm chart common to v2 (#404)
* [xteve] Update helm chart common to v2

* Delete ct-values.yaml

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 20:57:47 +01:00
renovate[bot]
52778133b7 [zigbee2mqtt] Update helm chart common to v2 (#405)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 20:56:07 +01:00
renovate[bot]
82a1eab1ca [nzbhydra2] Update helm chart common to v2 (#408)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:54:33 -05:00
renovate[bot]
0bd29e4c6d [traccar] Update helm chart common to v2 (#402)
* [traccar] Update helm chart common to v2

* Delete ct-values.yaml

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 20:54:18 +01:00
renovate[bot]
cd54aa7fad [tautulli] Update helm chart common to v2 (#401)
* [tautulli] Update helm chart common to v2

* Delete ct-values.yaml

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-16 20:53:28 +01:00
renovate[bot]
df18109726 [heimdall] Update helm chart common to v2 (#407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:52:39 -05:00
renovate[bot]
6a76a306f7 [sonarr] Update helm chart common to v2 (#400)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:51:02 -05:00
renovate[bot]
39fbc31cc2 [qbittorrent] Update helm chart common to v2 (#397)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-16 14:44:09 -05:00
renovate[bot]
2f9a11e56b [sabnzbd] Update helm chart common to v2 (#399)
* [sabnzbd] Update helm chart common to v2

* Delete ct-values.yaml

* Update Chart.yaml

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-16 20:43:20 +01:00
renovate[bot]
6681145be2 [radarr] Update helm chart common to v2 (#398)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:38:11 -05:00
renovate[bot]
7e144c6fcd [pyload] Update helm chart common to v2 (#396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:36:28 -05:00
renovate[bot]
a503b0441a [plex-media-server] Update helm chart common to v2 (#395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:34:59 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
57f4f5d7bf [common] 2.0.4 (#392) 2020-12-16 20:34:01 +01:00
renovate[bot]
ee918dd6d0 [piaware] Update helm chart common to v2 (#394)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:28:11 -05:00
renovate[bot]
b74ab67e83 [photoprism] Update helm chart common to v2 (#393)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:26:43 -05:00
renovate[bot]
c25b86e556 [organizr] Update helm chart common to v2 (#390)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:25:12 -05:00
renovate[bot]
5c191a5cb1 [ombi] Update helm chart common to v2 (#389)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:23:44 -05:00
renovate[bot]
bbd78319e9 [octoprint] Update helm chart common to v2 (#388)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:22:19 -05:00
renovate[bot]
56d8ab7c2a [paperless] Update helm chart common to v2 (#391)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 14:13:48 -05:00
renovate[bot]
7114c2b43f [navidrome] Update helm chart common to v2 (#384)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:10:49 -05:00
renovate[bot]
69152b0916 [nzbget] Update helm chart common to v2 (#386)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:08:23 -05:00
renovate[bot]
3b257c68ab [node-red] Update helm chart common to v2 (#385)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:07:09 -05:00
renovate[bot]
aeffff5297 [lychee] Update helm chart common to v2 (#382)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:04:33 -05:00
renovate[bot]
efe9b16ee5 [jellyfin] Update helm chart common to v2 (#380)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 14:02:19 -05:00
renovate[bot]
544b55d404 [monica] Update helm chart common to v2 (#383)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 14:00:58 -05:00
renovate[bot]
d058965386 [lidarr] Update helm chart common to v2 (#381)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 13:57:36 -05:00
renovate[bot]
2aba1913af [jackett] Update helm chart common to v2 (#379)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 13:48:59 -05:00
renovate[bot]
ce4d7354fc [homer] Update helm chart common to v2 (#378)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 13:44:52 -05:00
renovate[bot]
dc12dfb58b [grocy] Update helm chart common to v2 (#375)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-16 13:41:54 -05:00
renovate[bot]
55349cfefa [esphome] Update helm chart common to v2 (#372)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-16 13:41:36 -05:00
renovate[bot]
bd9da3d19b [freshrss] Update helm chart common to v2 (#374)
* [freshrss] Update helm chart common to v2

* Delete ct-values.yaml

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-16 19:38:05 +01:00
renovate[bot]
92c2ac30f0 [appdaemon] Update helm chart common to v2 (#363)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 13:35:23 -05:00
renovate[bot]
09dafb221f [flood] Update helm chart common to v2 (#373)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 19:31:22 +01:00
renovate[bot]
80b9e0bc8e [booksonic-air] Update helm chart common to v2 (#365)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 13:30:59 -05:00
renovate[bot]
82f1a1669e [calibre-web] Update helm chart common to v2 (#366)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 13:08:56 -05:00
renovate[bot]
9aa9d8e7fa [couchpotato] Update helm chart common to v2 (#369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 13:05:58 -05:00
renovate[bot]
b3605d0d07 [ddclient] Update helm chart common to v2 (#371)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 13:00:14 -05:00
ᗪєνιη ᗷυнʟ
51639eb32b Update renovate.json5 2020-12-16 12:59:59 -05:00
renovate[bot]
aa3a17a393 [dashmachine] Update helm chart common to v2 (#370)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 12:24:37 -05:00
ᗪєνιη ᗷυнʟ
e7926410f0 switch to packagePatterns 2020-12-16 12:16:37 -05:00
renovate[bot]
6fc87ed2cf [alertmanager-bot] Update helm chart common to v2 (#362)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 12:10:42 -05:00
ᗪєνιη ᗷυнʟ
9fbf7ad1ee change packageName to k8s-at-home/common 2020-12-16 12:10:00 -05:00
renovate[bot]
3a0c0c602e [bazarr] Update helm chart common to v2 (#364)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-16 12:03:45 -05:00
ᗪєνιη ᗷυнʟ
b38ccc5fa9 [common] 2.0.3 (#368) 2020-12-16 11:48:58 -05:00
ᗪєνιη ᗷυнʟ
5332115b8a [common] bump to 2.0.2 (#367) 2020-12-16 11:36:47 -05:00
ᗪєνιη ᗷυнʟ
c4542903cf [common] 2.0.1 (#360)
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-16 11:26:35 -05:00
Yasser Saleemi
0e4e12443a [plex] Quote values for extraEnv (#361)
Ensure we always use a string and prevent accidental usage of incorrect type
(such as using true or false as values)
2020-12-16 11:19:53 -05:00
ᗪєνιη ᗷυнʟ
6d3bf5c29c [common] 2.0.0 (#316)
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-12-16 10:03:15 -05:00
renovate[bot]
42cbc413e5 [ombi] Update helm chart mariadb to v9.1.4 (#357)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 08:08:53 -05:00
renovate[bot]
dfa64cd384 [traccar] Update helm chart mariadb to v9.1.4 (#358)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 08:06:04 -05:00
renovate[bot]
86398885ea [monica] Update helm chart mariadb to v9.1.4 (#356)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 08:04:02 -05:00
Adam Cook
788d1056d3 [blocky] Update to 0.11 and add query log pvc (#353)
* [blocky] add query log persistence

Signed-off-by: Adam Cook <adam@adamjcook.dev>

* [blocky] bump version to v0.11

Signed-off-by: Adam Cook <adam@adamjcook.dev>
2020-12-14 12:53:46 -05:00
renovate[bot]
436bcfdd67 [powerdns] Update helm chart postgresql to v10.2.0 (#350)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-14 08:01:57 -05:00
renovate[bot]
786f52ee22 [teslamate] Update helm chart postgresql to v10.2.0 (#352)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-14 07:59:52 -05:00
renovate[bot]
b91b73ad0f [statping] Update helm chart postgresql to v10.1.4 (#342)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-12 10:33:12 -05:00
ᗪєνιη ᗷυнʟ
863dc3e33b update pull request template (#347)
Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-12-12 10:32:35 -05:00
renovate[bot]
a8e4b5b52e [teslamate] Update helm chart postgresql to v10.1.4 (#343)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-12 10:19:19 -05:00
renovate[bot]
349ab68ea1 [powerdns] Update helm chart postgresql to v10.1.4 (#341)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-12 10:17:42 -05:00
renovate[bot]
0a8a18c080 [unifi-poller] Update helm chart influxdb to v1.1.4 (#345)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-12 10:02:37 -05:00
renovate[bot]
0dc89e6ebf [unifi-poller] Update helm chart influxdb to v1.1.3 (#337)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-11 08:16:03 -05:00
auricom
902954dff5 Bump to re-trigger repo upload (#339)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-11 05:31:07 -05:00
auricom
a75e75f2b5 Bump to re-trigger repo upload (#338) 2020-12-11 05:25:14 -05:00
ᗪєνιη ᗷυнʟ
731b70fd98 [appdaemon] remove mountPath (#334) 2020-12-10 15:07:20 -05:00
ᗪєνιη ᗷυнʟ
b928e1ea44 [appdaemon] bump version due to release issue (#332) 2020-12-09 19:20:49 -05:00
ᗪєνιη ᗷυнʟ
61dbea3bad [home-assistant] deprecate appdaemon and configurator sidecars (#327) 2020-12-09 16:25:28 -05:00
renovate[bot]
1aa31e3bd9 [ombi] Update helm chart mariadb to v9.1.2 (#324)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-09 22:16:56 +01:00
renovate[bot]
b974051a0a [monica] Update helm chart mariadb to v9.1.2 (#323)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-09 22:15:35 +01:00
renovate[bot]
da761a5c4c [traccar] Update helm chart mariadb to v9.1.2 (#325)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-09 22:14:52 +01:00
ᗪєνιη ᗷυнʟ
a968ee3082 [calibre-web] convert to common library (#329) 2020-12-09 15:55:16 -05:00
ᗪєνιη ᗷυнʟ
ea2b63d930 [appdaemon] create separate chart outside of home-assistant (#326) 2020-12-09 15:54:56 -05:00
auricom
c139284fc3 [navidrome] new chart (#313) 2020-12-08 14:52:36 -05:00
ᗪєνιη ᗷυнʟ
5bb1c5242d [sabnzbd] add documentation on hostname-check (#321) 2020-12-08 13:15:55 -05:00
renovate[bot]
11e76c9f15 [home-assistant] Update helm chart postgresql to v10.1.3 (#317)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-08 08:04:29 -05:00
renovate[bot]
66d14d9d7d [statping] Update helm chart postgresql to v10.1.3 (#319)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-08 07:57:12 -05:00
renovate[bot]
43fe354c35 [powerdns] Update helm chart postgresql to v10.1.3 (#318)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-08 07:53:53 -05:00
renovate[bot]
9604ece2a5 [teslamate] Update helm chart postgresql to v10.1.3 (#320)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-08 07:52:13 -05:00
renovate[bot]
f051bb16cf [home-assistant] Update helm chart influxdb to v1.1.2 (#308)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-07 14:55:01 -05:00
Mike Wilson
166c4b3cd9 [home-assistant] Tiny typo fix in values.yaml (#315) 2020-12-07 14:16:41 -05:00
Aleksey Sviridkin
351d46296f [home-assistant] Fix env for appdaemon (#305) 2020-12-07 10:54:56 -05:00
auricom
601341ca9b [lychee] new chart (#307) 2020-12-07 10:53:37 -05:00
renovate[bot]
39f3555873 [unifi-poller] Update helm chart influxdb to v1.1.2 (#309)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-07 10:29:24 -05:00
dza89
44fbca1fb8 [traefik-forward-auth] Add envFrom option (#304) 2020-12-05 09:50:30 -05:00
ᗪєνιη ᗷυнʟ
6ad3ba062a [esphome] use common (#303)
Co-authored-by: Ryan Holt <ryan@ryanholt.net>
2020-12-04 18:20:33 -05:00
renovate[bot]
ab9a0fda18 [home-assistant] Update helm chart postgresql to v10.1.2 (#297)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-12-04 17:23:22 -05:00
renovate[bot]
0a3e9eb93c [teslamate] Update helm chart postgresql to v10.1.2 (#300)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 17:21:48 -05:00
renovate[bot]
7801f2e626 [statping] Update helm chart postgresql to v10.1.2 (#299)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 17:19:53 -05:00
renovate[bot]
fe64832570 [powerdns] Update helm chart postgresql to v10.1.2 (#298)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 17:17:55 -05:00
renovate[bot]
0099a56e38 [unifi-poller] Update helm chart influxdb to v1.1.1 (#302)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 17:16:28 -05:00
Ryan Holt
cfec6a9cc2 [monica] initial add for monica (#296) 2020-12-04 13:13:25 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
13dedb876b [pyload] Bump to re-trigger repo upload (#295) 2020-12-04 12:01:55 +01:00
Thomas John Wesolowski
d0fba6f031 [booksonic-air][Add] Add booksonic-air (#294)
* Add booksonic-air

Signed-off-by: TJ Wesolowski <wojoinc@pm.me>

* Clarify description in values.yaml

Signed-off-by: TJ Wesolowski <wojoinc@pm.me>

* Add storage notes

Signed-off-by: TJ Wesolowski <wojoinc@pm.me>
2020-12-03 20:28:58 -05:00
ᗪєνιη ᗷυнʟ
d310100ce7 [unifi-poller] switch to environment variables (#293) 2020-12-02 14:35:57 -05:00
Ryan Holt
c2d6c1c4f1 Merge pull request #290 from k8s-at-home/add-photoprism-chart
[photoprism] Add PhotoPrism Chart Leveraging Library
2020-12-01 09:48:23 -05:00
Ryan Holt
9e2a21995a add default values for photoprism's storage locations to env
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-12-01 09:06:58 -05:00
Ryan Holt
643db3e8cb make appversion a string to pass CT tests
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-12-01 08:43:02 -05:00
Ryan Holt
6822d3c4b4 add a link to photoprism documentation within values
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-12-01 08:41:31 -05:00
Ryan Holt
df1a3f48e0 various changes per @onedr0p comments
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-12-01 08:38:22 -05:00
Ryan Holt
6cf224d0b0 add more readme details
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-11-30 17:48:06 -05:00
Ryan Holt
bca5078de2 add newline
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-11-30 17:45:41 -05:00
Ryan Holt
31e992eb4a add sample originals mount
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-11-30 17:43:47 -05:00
Ryan Holt
a4c913aef6 revert from originals to config pv name
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-11-30 17:23:45 -05:00
Ryan Holt
d4dd34a24b add some additional photoprism default values and mounts
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-11-30 17:02:16 -05:00
Ryan Holt
19cb90701e initial commit for base photoprism files
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-11-30 16:42:46 -05:00
ᗪєνιη ᗷυнʟ
f0eb5542a4 [traccar] new chart (#289) 2020-11-30 15:46:23 -05:00
Thomas John Wesolowski
f2336eedaa [bitwardenrs] Fix HPA target (#287)
* Add persistence type check to hpa target

Signed-off-by: TJ Wesolowski <wojoinc@pm.me>

* Bump chart version

Signed-off-by: TJ Wesolowski <wojoinc@pm.me>

Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-30 06:06:00 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
915c94887d Fix persistence mountPath (#288)
* Fix persistence mountPath

* Update Chart.yaml
2020-11-30 05:54:24 -05:00
renovate[bot]
f84ac3006b [powerdns] Update helm chart postgresql to v10.1.1 (#285)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-28 18:36:58 -05:00
Ryan Holt
dde8baec08 [powerdns] flip default to postgres, fix postgres dependent chart (#78) 2020-11-28 16:43:54 -05:00
auricom
f2452edfb9 [pyload] new chart (#284) 2020-11-28 16:42:47 -05:00
ᗪєνιη ᗷυнʟ
db1260e482 [grocy/heimdall] use common lib (#283) 2020-11-27 11:30:36 -05:00
Mike K
b1859c895d [paperless] New chart (#252) 2020-11-27 13:28:29 +01:00
renovate[bot]
fed0c7a8f1 [nzbhydra2] Update helm chart common to v1.7.0 (#268)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-26 13:02:05 -05:00
renovate[bot]
40e3179aaf [nzbget] Update helm chart common to v1.7.0 (#267)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 12:55:49 -05:00
renovate[bot]
535f78770f [organizr] Update helm chart common to v1.7.0 (#270)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 12:52:58 -05:00
renovate[bot]
645f8d4c6e [piaware] Update helm chart common to v1.7.0 (#271)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 12:52:11 -05:00
renovate[bot]
7f326fc846 [plex-media-server] Update helm chart common to v1.7.0 (#272)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 12:50:23 -05:00
renovate[bot]
df26482e05 [qbittorrent] Update helm chart common to v1.7.0 (#273)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 12:44:31 -05:00
renovate[bot]
07fa996d70 [ombi] Update helm chart common to v1.7.0 (#269)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 12:42:31 -05:00
renovate[bot]
2a441c9315 [node-red] Update helm chart common to v1.7.0 (#266)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 11:40:25 -05:00
renovate[bot]
a16d5ef3a6 [radarr] Update helm chart common to v1.7.0 (#274)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:52:02 -05:00
renovate[bot]
55c30ff34c [sabnzbd] Update helm chart common to v1.7.0 (#275)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:49:29 -05:00
renovate[bot]
3281996a22 [sonarr] Update helm chart common to v1.7.0 (#276)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:47:45 -05:00
renovate[bot]
5ebaccedb3 [tautulli] Update helm chart common to v1.7.0 (#277)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:46:43 -05:00
renovate[bot]
111c993fea [unifi-poller] Update helm chart common to v1.7.0 (#278)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:43:47 -05:00
renovate[bot]
95a84496db [xteve] Update helm chart common to v1.7.0 (#279)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:42:51 -05:00
renovate[bot]
cba3f59391 [zwave2mqtt] Update helm chart common to v1.7.0 (#281)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:36:52 -05:00
renovate[bot]
9d0a7efc7d [lidarr] Update helm chart common to v1.7.0 (#265)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:34:24 -05:00
renovate[bot]
d0bad9dfb0 [jellyfin] Update helm chart common to v1.7.0 (#264)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:28:57 -05:00
renovate[bot]
67eed62c99 [jackett] Update helm chart common to v1.7.0 (#263)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:15:35 -05:00
renovate[bot]
ae38a94541 [zigbee2mqtt] Update helm chart common to v1.7.0 (#280)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:07:18 -05:00
renovate[bot]
40a2bb2d26 [homer] Update helm chart common to v1.7.0 (#262)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:01:33 -05:00
renovate[bot]
fa75854137 [freshrss] Update helm chart common to v1.7.0 (#261)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:01:25 -05:00
renovate[bot]
c379eb9efd [flood] Update helm chart common to v1.7.0 (#260)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 09:01:20 -05:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
5b64342920 [octoprint] New chart (#282) 2020-11-26 09:00:25 -05:00
renovate[bot]
ab746638e8 [ddclient] Update helm chart common to v1.7.0 (#259)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 08:56:31 -05:00
renovate[bot]
643d60fed7 [dashmachine] Update helm chart common to v1.7.0 (#258)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 08:56:23 -05:00
renovate[bot]
d5377e032d [couchpotato] Update helm chart common to v1.7.0 (#257)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 08:56:15 -05:00
renovate[bot]
d6e87293c1 [bazarr] Update helm chart common to v1.7.0 (#256)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 08:51:29 -05:00
renovate[bot]
5ae5ab007d [alertmanager-bot] Update helm chart common to v1.7.0 (#255)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-26 08:51:05 -05:00
ᗪєνιη ᗷυнʟ
a077a803d4 add separate pre-release job with turnstyle (#254) 2020-11-26 14:19:28 +01:00
Mike K
45b6282a15 [common] Add args option to mainContainer (#253)
Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
2020-11-26 08:11:01 -05:00
ᗪєνιη ᗷυнʟ
e6a9d994f9 [multi-chart] bump patch (#251) 2020-11-25 19:40:41 -05:00
renovate[bot]
e94ef45b70 [alertmanager-bot] Update helm chart common to v1.6.2 (#223)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:19:01 -05:00
renovate[bot]
86907798e0 [jellyfin] Update helm chart common to v1.6.2 (#232)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:56 -05:00
renovate[bot]
1218e56529 [nzbhydra2] Update helm chart common to v1.6.2 (#236)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:49 -05:00
renovate[bot]
902574734b [organizr] Update helm chart common to v1.6.2 (#238)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:40 -05:00
renovate[bot]
f276356baa [piaware] Update helm chart common to v1.6.2 (#239)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:35 -05:00
renovate[bot]
2fdce70485 [plex-media-server] Update helm chart common to v1.6.2 (#240)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:25 -05:00
renovate[bot]
56b03ff1f1 [qbittorrent] Update helm chart common to v1.6.2 (#241)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:20 -05:00
renovate[bot]
6c1e3f0e23 [unifi-poller] Update helm chart common to v1.6.2 (#246)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:18:11 -05:00
renovate[bot]
25e129b57c [xteve] Update helm chart common to v1.6.2 (#247)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:17:46 -05:00
renovate[bot]
e0bae04364 [zigbee2mqtt] Update helm chart common to v1.6.2 (#248)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:17:39 -05:00
renovate[bot]
03473ff13f [zwave2mqtt] Update helm chart common to v1.6.2 (#249)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:17:30 -05:00
renovate[bot]
a024f2c9b4 [node-red] Update helm chart common to v1.6.2 (#234)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:16:27 -05:00
renovate[bot]
9a43343d0e [ombi] Update helm chart common to v1.6.2 (#237)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:16:00 -05:00
renovate[bot]
ec4525d0c1 [homer] Update helm chart common to v1.6.2 (#230)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:15:35 -05:00
renovate[bot]
85a391e902 [sabnzbd] Update helm chart common to v1.6.2 (#243)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:15:16 -05:00
renovate[bot]
e301c08620 [nzbget] Update helm chart common to v1.6.2 (#235)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:15:02 -05:00
renovate[bot]
429db07f64 [sonarr] Update helm chart common to v1.6.2 (#244)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:14:45 -05:00
renovate[bot]
6a281a2828 [lidarr] Update helm chart common to v1.6.2 (#233)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:14:32 -05:00
renovate[bot]
d021b87405 [jackett] Update helm chart common to v1.6.2 (#231)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:14:11 -05:00
renovate[bot]
6174dfc8ef [radarr] Update helm chart common to v1.6.2 (#242)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:13:53 -05:00
renovate[bot]
5e9897d8cc [tautulli] Update helm chart common to v1.6.2 (#245)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:13:12 -05:00
renovate[bot]
819e3a6fce [freshrss] Update helm chart common to v1.6.2 (#229)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:12:48 -05:00
renovate[bot]
b278fc51b5 [flood] Update helm chart common to v1.6.2 (#228)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:12:24 -05:00
renovate[bot]
94521bcdda [ddclient] Update helm chart common to v1.6.2 (#227)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:12:04 -05:00
renovate[bot]
fa5cc7171c [bazarr] Update helm chart common to v1.6.2 (#224)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 16:11:49 -05:00
ᗪєνιη ᗷυнʟ
58af006816 [renovate] only rebase when conflicted (#250) 2020-11-25 16:11:29 -05:00
renovate[bot]
fba5edf834 [dashmachine] Update helm chart common to v1.6.2 (#226)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 15:45:40 -05:00
renovate[bot]
250d308995 [couchpotato] Update helm chart common to v1.6.2 (#225)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 15:45:13 -05:00
ᗪєνιη ᗷυнʟ
dc90788f78 remove gitAuthor from renovate config (#222) 2020-11-25 21:40:04 +01:00
ᗪєνιη ᗷυнʟ
e93bf613f1 [common] set dnspolicy default to ClusterFirst (#221) 2020-11-25 21:10:25 +01:00
renovate[bot]
5edd9b8b00 [teslamate] Update helm chart postgresql to v10.1.1 (#219)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 20:27:44 +01:00
renovate[bot]
70990295db [statping] Update helm chart postgresql to v10.1.1 (#218)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 20:22:30 +01:00
ᗪєνιη ᗷυнʟ
66feb4ca7e add suppressNotifications (#220) 2020-11-25 17:25:48 +01:00
ᗪєνιη ᗷυнʟ
693902005a [home-assistant] update postgresql to use right options (#215) 2020-11-25 11:19:46 -05:00
ᗪєνιη ᗷυнʟ
10ac770b40 [homer] add new chart (#216) 2020-11-24 19:50:40 -05:00
Ryan Holt
8d6ec42996 Merge pull request #214 from k8s-at-home/alertmanager-bot-common
[alertmanager-bot] new chart
2020-11-24 19:05:10 -05:00
Devin Buhl
2632a248a4 [alertmanager-bot] fix bci errors 2020-11-24 17:12:18 -05:00
Devin Buhl
c78292c8e7 [alertmanager-bot] fix blank lines 2020-11-24 17:07:49 -05:00
ᗪєνιη ᗷυнʟ
226c0d19c1 remove tabs 2020-11-24 17:03:56 -05:00
ᗪєνιη ᗷυнʟ
c46da9968d Update ct-values.yaml 2020-11-24 17:03:37 -05:00
Devin Buhl
0bf211c8e9 [alertmanager-bot] new chart 2020-11-24 17:02:04 -05:00
Ryan Holt
4ef7b2b312 [dashmachine] convert dashmachine to common library and bump to 2.0.0 (#213)
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
2020-11-24 13:48:07 -05:00
renovate[bot]
1d5b7ff5bf [statping] Update helm chart postgresql to v10 (#210)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-24 11:16:01 -05:00
renovate[bot]
7fc5825da9 [teslamate] Update helm chart postgresql to v10 (#211)
* [teslamate] Update helm chart postgresql to v10

* bump minor

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

* fix readme

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

* Bump version, no change in default behaviour

* Update README.md with new configuration parameters

Signed-off-by: Thomas Ingvarsson <ingvarsson.thomas@gmail.com>
2020-11-17 09:39:37 -05:00
Mike K
e6cdf79352 [Deconz] - Add option for a persistence.subpath (#172)
Co-authored-by: Mike Knell <mike.knell@lifecycle-software.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-16 19:12:29 -05:00
Carlos Ravelo
e4528a12c7 [Plex] - Allow claimName to not be specified for extra mounts and add subPath (#168)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-16 18:34:22 -05:00
ᗪєνιη ᗷυнʟ
459110633a [ddclient] new chart (#167) 2020-11-16 12:38:17 -05:00
ᗪєνιη ᗷυнʟ
5c130e5cbc [plex-media-server] add new chart with common library (#171) 2020-11-16 12:37:47 -05:00
Bernd Schörgers
e46d898ee4 [common] Read and the service ports correctly (#170) 2020-11-16 10:02:36 -05:00
Carlos Ravelo
e67b0cc17b [Plex] Added the ability to specify subPath on each extraData mount (#159)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-15 19:22:08 -05:00
ᗪєνιη ᗷυнʟ
b80f372c82 [unifi-poller] convert to common library (#166) 2020-11-15 15:53:07 -05:00
ᗪєνιη ᗷυнʟ
eb14f4a479 [zigbee2mqtt] update to use common library (#161) 2020-11-15 15:09:04 -05:00
ᗪєνιη ᗷυнʟ
2f9c96082f [piaware] move to common library (#163) 2020-11-15 14:41:38 -05:00
ᗪєνιη ᗷυнʟ
aaec338715 [jellyfin] convert to common library (#165) 2020-11-15 14:41:22 -05:00
ᗪєνιη ᗷυнʟ
f3b9ae9ade [couchpotato] migrate to common library (#164) 2020-11-15 14:02:34 -05:00
ᗪєνιη ᗷυнʟ
82d8c5d83f [xteve] convert to common library (#162) 2020-11-15 14:02:12 -05:00
mr-onion-2
a21912cc84 [Deconz] - Add option for a persistence.subpath (#160)
Co-authored-by: Mike Knell <mike.knell@lifecycle-software.com>
2020-11-15 10:42:44 -05:00
coldfire84
ae45a4f962 Add support for hostAliases (#154)
Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-11-14 15:10:20 -05:00
Thomas Ingvarsson
bf1772a44e [unifi] Add liveness and readiness probe configuration (#149)
* Parameterize timing of livenessProbe

* Parameterize timing of readinessProbe

* Bump version, no change in default behaviour

* Update README.md with new configuration parameters

Signed-off-by: Thomas Ingvarsson <ingvarsson.thomas@gmail.com>

Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-11-14 15:02:13 -05:00
Simon Smith
b91e6c69d7 [unifi] add speedtest service and update to 5.14.23 (#148)
* add speedtest service and update to 5.14.23

* forgot speedtest in unified service

Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-11-14 14:55:11 -05:00
coldfire84
846337f619 [node-red] add support for hostAliases (#150)
* Add startupProbe to Node-RED chart in order to address slow starting container being killed due to liveness probe failures.

* Bump node-red chart version

* Add hostAliases support for custom /etc/hosts entries

* Update description for hostAliases
2020-11-14 14:45:45 -05:00
coldfire84
4cfc8fc0db [node-red] Add startupProbe (#147)
* Add startupProbe to Node-RED chart in order to address slow starting container being killed due to liveness probe failures.

* Bump node-red chart version

* Update version to reflect new feature.

* Paramaterisation of liveness, readiness and startup probe configuration.

Configure startup probe to disabled by default.

Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-11-14 12:29:03 -05:00
Bernd Schörgers
0ec462c58e [multiple] Bump library version (#157) 2020-11-14 09:42:45 -05:00
Bernd Schörgers
533f78729b [common] Resolve indenting issues, fixes #155 (#156) 2020-11-14 08:41:05 -05:00
ᗪєνιη ᗷυнʟ
a9e5b0efd0 [zwave2mqtt] convert to use common library (#151) 2020-11-14 08:35:18 -05:00
Bernd Schörgers
7ce69b4b01 [multiple] Bump library version (#145) 2020-11-12 14:00:52 -05:00
Bernd Schörgers
1aa1b7f67e [common] Fix fluxv2 issues (#144)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-12 13:17:01 -05:00
Bernd Schörgers
7d02733b54 [multiple] Bump library version (#143)
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-11-11 16:50:43 -05:00
Bernd Schörgers
e54addcc77 [common] Allow setting strategy and replicas (#142) 2020-11-11 16:09:17 -05:00
Bernd Schörgers
e3420259d5 [multiple] Update common library (#141) 2020-11-11 14:09:22 -05:00
Bernd Schörgers
62955c1d38 [common] Use k8s-at-home wireguard image (#140) 2020-11-11 13:26:31 -05:00
Michael Kötter
407949920e [unifi] syslog & promtail logging (#105)
* add syslog service

* promtail sidecar

* bump version

* update README

Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-11-11 08:46:50 -05:00
Holden Omans
5f0a25248b [homebridge] Missing strategyType in homebridge deployment (#110)
* Missing strategyType in homebridge deployment

* Update Chart.yaml

* Update values.yaml

Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-11-11 08:39:24 -05:00
Bernd Schörgers
8946802950 [CI] Fix deprecation warning (#136) 2020-11-10 10:48:35 -05:00
Bernd Schörgers
5ce3ff0bc1 [multiple] Update library (#135) 2020-11-09 16:36:44 -05:00
Bernd Schörgers
1799d4c057 [common] Add controller labels and annotations (#134) 2020-11-09 15:50:56 -05:00
Bernd Schörgers
9a88e697d2 [multiple] Bump common library version (#133) 2020-11-09 10:11:02 -05:00
Bernd Schörgers
e2bb17f069 [qbittorrent] use common chart (#132) 2020-11-09 09:58:00 -05:00
Bernd Schörgers
55b0fb9c71 [nzbget] use common chart (#131) 2020-11-09 08:19:21 -05:00
Bernd Schörgers
b083c8516c [common] Indenting and fix volume logic (#130) 2020-11-09 07:55:25 -05:00
ᗪєνιη ᗷυнʟ
899a444153 [organizr] use common chart (#129) 2020-11-09 07:53:43 -05:00
ᗪєνιη ᗷυнʟ
ec0aa4fd8c [bazarr] use common chart (#124) 2020-11-09 07:48:15 -05:00
ᗪєνιη ᗷυнʟ
0467981e8c [sabnzbd] use common chart (#125)
* sabnzbd: use common chart

* remove app name in app.env example
2020-11-09 07:22:51 -05:00
ᗪєνιη ᗷυнʟ
e90297be47 [tautulli] use common chart (#127)
* [tautulli] use common chart

* remove app name in app.env example
2020-11-09 07:22:15 -05:00
ᗪєνιη ᗷυнʟ
8c93651a63 [nzbhydra2] use common chart (#128)
* [nzbhydra2] use common chart

* remove app name in app.env example
2020-11-09 07:19:58 -05:00
ᗪєνιη ᗷυнʟ
4566fda5ea [ombi] use common chart (#126)
* ombi: use common chart

* remove app name in app.env example
2020-11-09 07:19:00 -05:00
ᗪєνιη ᗷυнʟ
93774a4ed6 [lidarr] use common chart (#123) 2020-11-08 13:25:59 -05:00
ᗪєνιη ᗷυнʟ
5cfe91e0f3 [sonarr] use common chart (#122) 2020-11-08 13:00:49 -05:00
nolte
aacd8ceac0 [mosquitto] add Prometheus Exporter as Sidecar Container (#118)
Signed-off-by: nolte <nolte07@googlemail.com>

Co-authored-by: nolte <nolte07@googlemail.com>
2020-11-08 12:41:30 -05:00
ᗪєνιη ᗷυнʟ
799111dddb [radarr] use new common chart (#121)
* radarr: use new common chart

* jackett

* radarr fix newline
2020-11-08 12:39:37 -05:00
Bernd Schörgers
2aa2718559 [jackett] Bump library, add ingress test (#117) 2020-11-07 16:40:14 -05:00
Bernd Schörgers
2b158892e3 [common] Add capabilities to determine apiVersion (#116)
* [common] Add capabilities to determine apiVersion

* [common] Add capabilities to determine apiVersion
2020-11-07 08:17:31 -05:00
Bernd Schörgers
45c9f3c39e [jackett] Migrate to common library (#113) 2020-11-06 16:40:53 -05:00
Bernd Schörgers
c7f15f37a2 [common] Fix syntax error (#114) 2020-11-06 16:22:57 -05:00
Bernd Schörgers
6b9650f348 [common] Fix classes logic (#112) 2020-11-06 15:54:25 -05:00
Bernd Schörgers
f36de85c15 [common] Better defaults for service and ingress (#111) 2020-11-06 14:28:01 -05:00
Bernd Schörgers
a3da4245f3 [media-common] Migrate to library chart (#109) 2020-11-06 13:46:50 -05:00
Patrik Boström
bc17f3cc7b [home-assistant] Added metricRelabelings for service monitor (#101)
* Added metricRelabelings for service monitor

* Fixes

* Added end

* Changed chart version to 2.6.0

Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-10-28 08:40:20 -04:00
nolte
cce27da342 bump up esphome (#103)
Signed-off-by: nolte <nolte07@googlemail.com>

Co-authored-by: nolte <nolte07@googlemail.com>
Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-10-28 08:32:07 -04:00
Michael Kötter
3a08566dd4 fix stable repo (#104) 2020-10-28 08:12:20 -04:00
Michael Kötter
2282b4113b add extraVolumes & extraVolumeMounts support (#98)
Co-authored-by: Jeff Billimek <jeff@billimek.com>
2020-10-26 10:08:00 -04:00
Michael Kötter
714708050a add extraEnv etc., extraVolumes & extraVolumeMounts (#99) 2020-10-26 08:25:07 -04:00
Patrik Boström
f55c117431 [piaware] Added support for BEASTHOST and BEASTPORT (#93)
Signed-off-by: Patrik Boström <patbos@patbos.com>
2020-10-20 11:25:14 -04:00
ᗪєνιη ᗷυнʟ
0470f937bf [zwave2mqtt] Remove the persistent /usr/local/etc/openzwave volume (#90)
* Remove the persistent /usr/local/etc/openzwave volume

* Bump chart version

* bump to major version

* add upgrade instructions
2020-10-14 10:37:26 -04:00
nolte
930df4c36b [home-assistant] pump up esphome chart version (#89)
Co-authored-by: nolte <nolte07@googlemail.com>
Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
2020-10-13 16:04:55 -04:00
Nicholas St. Germain
a1a0fd4c99 Merge pull request #85 from CuBiC3D/master
[media-common] Bump charts depending on media-common
2020-10-12 19:36:02 -05:00
Nicholas St. Germain
0487aa49fb Merge branch 'master' into master 2020-10-12 19:11:13 -05:00
Jeff Billimek
490dc82894 [multiple] Bump various chart image versions (#88)
* Bump various chart image versions

* friagte: 0.6.0
* home-assistant: 0.116.1
* plex: 1.20.2.3402-0fec14d92
* teslamate: 1.20.0

Signed-off-by: Jeff Billimek <jeff@billimek.com>

* fix teslamate postgres dependency chart

Signed-off-by: Jeff Billimek <jeff@billimek.com>

* remove global reference

Signed-off-by: Jeff Billimek <jeff@billimek.com>
2020-10-09 13:16:16 -04:00
CuBiC
54efffaf52 Merge branch 'master' into master 2020-10-09 01:57:32 +02:00
Hugo Fonseca
8be3edfc59 [Adguard-home] Allow to mount secret with certs so we can set the tls … (#87)
* Adguard-home: Allow to mount secret with certs so we can set the tls configs with these

* adguard-home bump to 2.2.0
2020-10-08 15:38:10 -04:00
CuBiC
20047cade1 Merge branch 'master' into master 2020-10-07 19:38:08 +02:00
Denis
eb2f4bac88 [uptimerobot-prometheus] Support annotations in Service (#86)
* bump chart version

* [uptimerobot-prometheus] Support annotations in Service (#1)

* add annotations to service

* add example annotations to values.yaml

* fix trailing spaces
2020-10-07 13:26:13 -04:00
Waldemar Faist
b4dda5a1ad Bump charts depending on media-common
Signed-off-by: Waldemar Faist <cubic@coldice.net>
2020-10-07 17:54:01 +02:00
Ryan Holt
7f1f2b9150 Merge pull request #84 from CuBiC3D/master
[media-common] Fixes HELM error on extraIngresses
2020-10-07 11:25:44 -04:00
Waldemar Faist
4bde4fa33f Fixes HELM error on extraIngresses
Signed-off-by: Waldemar Faist <cubic@coldice.net>
2020-10-07 14:01:34 +02:00
638 changed files with 11471 additions and 10535 deletions

32
.github/ISSUE_TEMPLATE/bug-report.md vendored Normal file
View File

@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
# Details
**Helm chart name and version:**
<!-- Note: This should be the helm chart name and version you have deployed. e.g. jackett 5.4.0 -->
**Container name and tag:**
<!-- Note: This should be the container image version you have deployed. e.g. linuxserver/jackett:v0.16.2106 -->
**What steps did you take and what happened:**
<!-- Note: This should be a clear and concise description of what the bug is. -->
**What did you expect to happen:**
**Anything else you would like to add:**
<!-- Note: Miscellaneous information that will assist in solving the issue. -->
**Additional Information:**
<!-- Note: Anything to give further context to the bug report. -->

View File

@@ -0,0 +1,26 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
# Details
**Helm chart name:**
<!-- Note: This should be the helm chart name you are referring to. e.g. jackett -->
**Describe the solution you'd like:**
<!-- Note: A clear and concise description of what you want to happen. -->
**Anything else you would like to add:**
<!-- Note: Miscellaneous information that will assist in solving the issue. -->
**Additional Information:**
<!-- Note: Anything to give further context to the requested new feature. -->

14
.github/ISSUE_TEMPLATE/question.md vendored Normal file
View File

@@ -0,0 +1,14 @@
---
name: Question
about: Ask a question to the maintainer
title: ''
labels: question
assignees: ''
---
# Details
**Ask your question:**
<!-- Note: A clear and concise query of what you want to ask. -->

View File

@@ -1,7 +1,40 @@
#### Special notes for your reviewer:
<!--
Before you open the request please review the following guidelines and tips to help it be more easily integrated:
#### Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
- [ ] Chart Version bumped
- [ ] Variables are documented in the README.md
- [ ] Title of the PR starts with chart name (e.g. `[radarr]`)
- Describe the scope of your change - i.e. what the change does.
- Describe any known limitations with your change.
- Please run any tests or examples that can exercise your modified code.
Thank you for contributing! We will try to test and integrate the change as soon as we can. There is no need to bump or check in on a pull request (it will clutter the discussion of the request).
Also don't be worried if the request is closed or not integrated sometimes our priorities might not match the priorities of the pull request. Don't fret, the open source community thrives on forks and GitHub makes it easy to keep your changes in a forked repo.
-->
**Description of the change**
<!-- Describe the scope of your change - i.e. what the change does. -->
**Benefits**
<!-- What benefits will be realized by the code change? -->
**Possible drawbacks**
<!-- Describe any known limitations with your change -->
**Applicable issues**
<!-- Enter any applicable Issues here (You can reference an issue using #) -->
- fixes #
**Additional information**
<!-- If there's anything else that's important and relevant to your pull request, mention that information here.-->
**Checklist** <!-- [Place an '[X]' (no spaces) in all applicable fields. Please remove unrelated fields.] -->
- [ ] Chart version bumped in `Chart.yaml` according to [semver](http://semver.org/).
- [ ] Title of the PR starts with chart name (e.g. `[home-assistant]`)
- [ ] Chart is using our [common](https://github.com/k8s-at-home/charts/tree/master/charts/common) library as a dependency.
- [ ] (optional) Variables are documented in the README.md
<!-- Keep in mind that if you are submitting a new chart, try to use our [common](https://github.com/k8s-at-home/charts/tree/master/charts/common) library as a dependency. This will help maintaining charts here and keep them consistent between each other -->

View File

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

83
.github/renovate.json5 vendored Normal file
View File

@@ -0,0 +1,83 @@
{
"enabled": true,
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"assigneesFromCodeOwners": true,
"reviewersFromCodeOwners": true,
"suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "conflicted",
"prConcurrentLimit": 5,
"helm-values": {
"enabled": false
},
"helmv3": {
"fileMatch": ["charts/.+/Chart\\.yaml$"]
},
"packageRules": [
// Setup datasources
{
"datasources": ["helm"],
"commitMessageTopic": "Helm chart {{depName}}",
"separateMinorPatch": true
},
//
// Common library dep
//
{
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["dependency/major"],
"packageNames": ["common"]
},
{
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["dependency/minor"],
"packageNames": ["common"],
"groupName": ["internal minor dep"]
},
{
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["dependency/patch"],
"packageNames": ["common"],
"groupName": ["internal patch dep"]
},
//
// Other library deps
//
{
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["dependency/major"],
"excludePackageNames": ["common"],
"schedule": [
"every 3 months on the first day of the month"
]
},
{
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["dependency/minor"],
"excludePackageNames": ["common"],
"groupName": ["external minor dep"],
"schedule": [
"every 2 months on the first day of the month"
]
},
{
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["dependency/patch"],
"excludePackageNames": ["common"],
"groupName": ["external patch dep"],
"schedule": [
"every 1 months on the first day of the month"
]
}
]
}

18
.github/stale.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
daysUntilStale: 60
daysUntilClose: 7
exemptLabels:
- pinned
staleLabel: lifecycle/stale
pulls:
markComment: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
issues:
markComment: >
This issue request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: false
unmarkComment: >
/remove-lifecycle stale

View File

@@ -1,28 +1,110 @@
name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
lint:
runs-on: ubuntu-latest
outputs:
changed: ${{ steps.list-changed.outputs.changed }}
common: ${{ steps.list-changed.outputs.common }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch history
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.4.0
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.0.1
- name: Run chart-testing (list-changed)
id: list-changed
run: |
git fetch --prune --unshallow;
echo ::set-env name=commitmsg::$(git log --format=%B -n 1 ${{ github.event.after }})
changed=$(ct list-changed --config .github/ct.yaml)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
changed_unfiltered=$(ct list-changed --config .github/ct.yaml --excluded-charts "")
if [[ $(grep -E "^charts/common(-test)?$" <<< "$changed_unfiltered") ]]; then
echo "::set-output name=common::true"
fi
- name: Run chart-testing (lint)
id: lint
uses: helm/chart-testing-action@v1.0.0
if: "! contains(env.commitmsg, '[skip lint]')"
run: ct lint --config .github/ct.yaml --excluded-charts ""
if: steps.list-changed.outputs.changed == 'true' || steps.list-changed.outputs.common == 'true'
unittest:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout
uses: actions/checkout@v2
with:
command: lint
config: ct.yaml
fetch-depth: 0
- name: Install Dev tools
run: sudo apt-get update && sudo apt-get install -y jq libjq-dev
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.4.0
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install dependencies
run: |
export RUBYJQ_USE_SYSTEM_LIBRARIES=1
bundle install
- name: Run tests
run: |
bundle exec m -r test/charts
install:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.4.0
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.0.1
- name: Create kind cluster
uses: helm/kind-action@v1.0.0
if: "steps.lint.outputs.changed == 'true' && ! contains(env.commitmsg, '[skip install]')"
uses: helm/kind-action@v1.1.0
if: needs.lint.outputs.changed == 'true' || needs.lint.outputs.common == 'true'
- name: Run chart-testing (install)
uses: helm/chart-testing-action@v1.0.0
if: "steps.lint.outputs.changed == 'true' && ! contains(env.commitmsg, '[skip install]')"
with:
command: install
config: ct.yaml
run: ct install --config .github/ct.yaml
if: needs.lint.outputs.changed == 'true'
- name: Run chart-testing (common-test)
run: |
ct install --config .github/ct.yaml --charts 'charts/common-test'
if: needs.lint.outputs.common == 'true'

View File

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

10
.gitignore vendored
View File

@@ -1,4 +1,12 @@
.env
# IDE resources
.vscode
.idea
.devcontainer/
# Helm resources
charts/*/Chart.lock
charts/*/charts
# Other rsources
.env
Gemfile.lock

12
Gemfile Normal file
View File

@@ -0,0 +1,12 @@
# frozen_string_literal: true
source 'https://rubygems.org'
group :test do
gem 'm'
gem 'minitest'
gem 'minitest-implicit-subject'
gem 'minitest-reporters'
gem 'pry'
gem 'ruby-jq'
end

View File

@@ -1,9 +1,11 @@
# k8s@Home collection of helm charts
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Discord](https://img.shields.io/badge/discord-chat-7289DA.svg)](https://discord.gg/stmx7vh)
[![](https://github.com/k8s-at-home/charts/workflows/Release%20Charts/badge.svg?branch=master)](https://github.com/k8s-at-home/charts/actions)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/k8s-at-home)](https://artifacthub.io/packages/search?repo=k8s-at-home)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/k8s-at-home)](https://artifacthub.io/packages/search?repo=k8s-at-home)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
## Usage
[Helm](https://helm.sh) must be installed to use the charts.
@@ -19,7 +21,18 @@ You can then run `helm search repo k8s-at-home` to see the charts.
## Charts
See [artifact hub](https://artifacthub.io/packages/search?org=k8s-at-home) for a complete list.
See [Artifact Hub](https://artifacthub.io/packages/search?org=k8s-at-home) or [charts](./charts/) for a complete list.
## Common Library
The majority of the charts in this repository are using a common library we built. The reason we went with this pattern is a lot of applications are pretty similar in their requirements for Helm charts. Using a library makes maintaining much easier and keeps charts consistent in features. If contributing a new chart first try to make it using the library we built.
More information can be found [here](https://github.com/k8s-at-home/charts/tree/master/charts/common).
## Support
- Having problems with a chart or have a feature request? Open a new [issue](https://github.com/k8s-at-home/charts/issues/new/choose).
- New idea? Discuss [here](https://github.com/k8s-at-home/charts/discussions) or in our [Discord](https://discord.gg/sTMX7Vh) in the `#charts` channel.
## Contributing

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v0.102.0
description: DNS proxy as ad-blocker for local network
name: adguard-home
version: 2.1.1
version: 2.2.0
keywords:
- adguard-home
- adguard

View File

@@ -83,6 +83,11 @@ spec:
- name: config
mountPath: /opt/adguardhome/conf
readOnly: false
{{- if .Values.tlsSecretName }}
- name: certs
mountPath: /certs
readOnly: false
{{- end }}
ports:
- name: http
{{- if .Values.configAsCode.enabled }}
@@ -153,6 +158,11 @@ spec:
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
{{- if .Values.tlsSecretName }}
- name: certs
secret:
secretName: {{ .Values.tlsSecretName }}
{{- end }}
{{- if .Values.configAsCode.enabled }}
- name: configmap
configMap:

View File

@@ -165,6 +165,10 @@ configAsCode:
verbose: false
schema_version: 6
tlsSecretName: ""
# name of the secret that contains the tls cert and key.
# this secret will be mounted inside the adguard container /certs path. e.g. works with cert-manager
image:
repository: adguard/adguardhome
# Image tag is set via charts appVersion. If you want to override the tag, specify it here

View File

@@ -0,0 +1,24 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS

View File

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

View File

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

View File

@@ -0,0 +1,61 @@
# alertmanager-bot
This is a helm chart for [alertmanager-bot](https://github.com/metalmatze/alertmanager-bot).
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
## TL;DR;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/alertmanager-bot
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/alertmanager-bot
```
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:
```console
helm delete my-release --purge
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/alertmanager-bot/values.yaml)
file. It has several commented out suggested values.
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console
helm install alertmanager-bot \
--set env.TZ="America/New_York" \
k8s-at-home/alertmanager-bot
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install alertmanager-bot k8s-at-home/alertmanager-bot --values values.yaml
```
```yaml
image:
tag: ...
```
---
**NOTE**
If you get
```console
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
```
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.

View File

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

View File

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

View File

@@ -0,0 +1,26 @@
# Default values for alertmanager-bot.
image:
repository: metalmatze/alertmanager-bot
pullPolicy: IfNotPresent
tag: 0.4.2
strategy:
type: Recreate
# See more environment varaibles in the alertmanager-botdocumentation
# https://github.com/metalmatze/alertmanager-bot
env:
STORE: bolt
BOLT_PATH: /data/bot.db
# ALERTMANAGER_URL:
# TELEGRAM_ADMIN:
# TELEGRAM_TOKEN:
service:
enabled: false
persistence:
data:
enabled: false
emptyDir: false

View File

@@ -0,0 +1,24 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS

View File

@@ -0,0 +1,20 @@
apiVersion: v2
appVersion: 4.0.5
description: AppDaemon is a loosely coupled, multi-threaded, sandboxed python execution environment for writing automation apps for various types of Home Automation Software including Home Assistant and MQTT.
name: appdaemon
version: 2.3.1
keywords:
- appdaemon
- home-automation
- home-assistant
- mqtt
home: https://github.com/k8s-at-home/charts/tree/master/charts/appdaemon
sources:
- https://github.com/AppDaemon/appdaemon
maintainers:
- name: billimek
email: jeff@billimek.com
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 2.2.1

8
charts/appdaemon/OWNERS Normal file
View File

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

View File

@@ -0,0 +1,67 @@
# appdaemon
This is a helm chart for [appdaemon](https://github.com/AppDaemon/appdaemon).
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
## TL;DR;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/appdaemon
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/appdaemon
```
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:
```console
helm delete my-release --purge
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/appdaemon/values.yaml)
file. It has several commented out suggested values.
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console
helm install appdaemon \
--set env.TZ="America/New_York" \
k8s-at-home/appdaemon
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install appdaemon k8s-at-home/appdaemon --values values.yaml
```
```yaml
image:
tag: ...
```
---
**NOTE**
If you get
```console
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
```
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
---
## Upgrading an existing Release to a new major version
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.

View File

@@ -0,0 +1,8 @@
env:
TZ: "Africa/Cairo"
LATITUDE: "29.9792"
LONGITUDE: "31.1342"
ELEVATION: "64"
DASH_URL: "http://0.0.0.0:5050"
ingress:
enabled: true

View File

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

View File

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

View File

@@ -0,0 +1,46 @@
# Default values for Appdaemon.
# Use our own image at https://github.com/k8s-at-home/container-images/tree/main/appdaemon
# until https://github.com/AppDaemon/appdaemon/pull/1002 is merged
image:
repository: k8sathome/appdaemon
pullPolicy: IfNotPresent
tag: v4.0.5
strategy:
type: Recreate
service:
port:
port: 5050
# Environment variables that can be configure can be seen at
# https://appdaemon.readthedocs.io/en/latest/DOCKER_TUTORIAL.html
env: {}
# TZ:
# LATITUDE:
# LONGITUDE:
# ELEVATION:
# HA_URL:
# DASH_URL:
# TOKEN:
ingress:
enabled: false
persistence:
config:
enabled: false
emptyDir: false
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Set to true to retain the PVC upon helm uninstall
# skipuninstall: false
# existingClaim: ""

View File

@@ -1,15 +1,15 @@
apiVersion: v2
appVersion: v0.9.0.2
appVersion: v0.9.0.5
description: Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements
name: bazarr
version: 3.1.0
version: 5.3.1
keywords:
- bazarr
- radarr
- sonarr
- subtitles
- usenet
- bittorrent
- torrent
home: https://github.com/k8s-at-home/charts/tree/master/charts/bazarr
icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/bazarr.png
sources:
@@ -18,3 +18,7 @@ sources:
maintainers:
- name: billimek
email: jeff@billimek.com
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 2.2.1

View File

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

View File

@@ -1,6 +1,8 @@
# bazarr subtitle download client
# Bazarr
This is a helm chart for [bazarr](https://github.com/morpheus65535/bazarr) leveraging the [Linuxserver.io image](https://hub.docker.com/r/linuxserver/bazarr)
This is a helm chart for [Bazarr](https://github.com/morpheus65535/bazarr).
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
## TL;DR;
@@ -17,20 +19,6 @@ To install the chart with the release name `my-release`:
helm install --name my-release k8s-at-home/bazarr
```
## Upgrading
Version 1.0.0 used separate PVCs for TV and Movies. In order to keep this chart inline
with changes to charts for Sonarr, etc. this was changed.
This chart now uses a single PVC for all media. This means all of your media must be in, or be subdirectories of, a single media directory. If upgrading from v1 of the chart, do the following:
1. [Uninstall](#uninstalling-the-chart) your current release
2. On your backing store, organize your media, ie. media/tv, media/movies
3. If using a pre-existing PVC, create a single new PVC for all of your media
4. Refer to the [configuration](#configuration) for updates to the chart values
5. Re-install the chart
6. Update your settings in the app to point to the new PVC, which is mounted at /media. These can be found at: `Settings -> Path Mappings For TV Shows` and `Settings -> Path Mappings for Movies`
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:
@@ -42,77 +30,49 @@ helm delete my-release --purge
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
The following tables lists the configurable parameters of the Sentry chart and their default values.
| Parameter | Description | Default |
| -------------------------------------- | -------------------------------------------------------------------------------------------- | --------------------- |
| `image.repository` | Image repository | `linuxserver/bazarr` |
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/linuxserver/bazarr/tags/). | `v0.8.4.2-ls72` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
| `timezone` | Timezone the bazarr instance should run as, e.g. 'America/New_York' | `UTC` |
| `puid` | process userID the bazarr instance should run as | `1001` |
| `pgid` | process groupID the bazarr instance should run as | `1001` |
| `probes.liveness.initialDelaySeconds` | Specify liveness `initialDelaySeconds` parameter for the deployment | `60` |
| `probes.liveness.failureThreshold` | Specify liveness `failureThreshold` parameter for the deployment | `5` |
| `probes.liveness.timeoutSeconds` | Specify liveness `timeoutSeconds` parameter for the deployment | `10` |
| `probes.readiness.initialDelaySeconds` | Specify readiness `initialDelaySeconds` parameter for the deployment | `60` |
| `probes.readiness.failureThreshold` | Specify readiness `failureThreshold` parameter for the deployment | `5` |
| `probes.readiness.timeoutSeconds` | Specify readiness `timeoutSeconds` parameter for the deployment | `10` |
| `Service.type` | Kubernetes service type for the bazarr GUI | `ClusterIP` |
| `Service.port` | Kubernetes port where the bazarr GUI is exposed | `6767` |
| `Service.annotations` | Service annotations for the bazarr GUI | `{}` |
| `Service.labels` | Custom labels | `{}` |
| `Service.loadBalancerIP` | Loadbalance IP for the bazarr GUI | `{}` |
| `Service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | None |
| `ingress.enabled` | Enables Ingress | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.labels` | Custom labels | `{}` |
| `ingress.path` | Ingress path | `/` |
| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` |
| `ingress.tls` | Ingress TLS configuration | `[]` |
| `persistence.config.enabled` | Use persistent volume to store configuration data | `true` |
| `persistence.config.size` | Size of persistent volume claim | `1Gi` |
| `persistence.config.existingClaim` | Use an existing PVC to persist data | `nil` |
| `persistence.config.subpath` | Select a subpath in the PVC | `nil` |
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
| `persistence.config.accessMode` | Persistence access mode | `ReadWriteOnce` |
| `persistence.config.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
| `persistence.media.enabled` | Use persistent volume to store media data | `true` |
| `persistence.media.size` | Size of persistent volume claim | `10Gi` |
| `persistence.media.existingClaim` | Use an existing PVC to persist data | `nil` |
| `persistence.media.storageClass` | Type of persistent volume claim | `-` |
| `persistence.media.accessMode` | Persistence access mode | `ReadWriteOnce` |
| `persistence.media.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
| `persistence.extraExistingClaimMounts` | Optionally add multiple existing claims | `[]` |
| `resources` | CPU/Memory resource requests/limits | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `affinity` | Affinity settings for pod assignment | `{}` |
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` |
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/bazarr/values.yaml)
file. It has several commented out suggested values.
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console
helm install --name my-release \
--set timezone="America/New York" \
helm install bazarr \
--set env.TZ="America/New_York" \
k8s-at-home/bazarr
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install --name my-release -f values.yaml stable/bazarr
helm install bazarr k8s-at-home/bazarr --values values.yaml
```
```yaml
image:
tag: ...
```
---
**NOTE**
If you get `Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...` it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
If you get
```console
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
```
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
---
Read through the [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/bazarr/values.yaml) file. It has several commented out suggested values.
## Upgrading an existing Release to a new major version
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.
### Upgrading from 3.x.x to 4.x.x
Due to migrating to a centralized common library some values in `values.yaml` have changed.
Examples:
* `service.port` has been moved to `service.port.port`.
* `persistence.type` has been moved to `controllerType`.
Refer to the library values.yaml for more configuration options.

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.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "bazarr.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get svc -w {{ include "bazarr.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "bazarr.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "bazarr.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl port-forward $POD_NAME 8080:80
{{- end }}
{{- include "common.notes.defaultNotes" . -}}

View File

@@ -1,32 +0,0 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "bazarr.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 "bazarr.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 "bazarr.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}

View File

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

View File

@@ -1,29 +0,0 @@
{{- if and .Values.persistence.config.enabled (not .Values.persistence.config.existingClaim) }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "bazarr.fullname" . }}-config
{{- if .Values.persistence.config.skipuninstall }}
annotations:
"helm.sh/resource-policy": keep
{{- end }}
labels:
app.kubernetes.io/name: {{ include "bazarr.name" . }}
helm.sh/chart: {{ include "bazarr.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
accessModes:
- {{ .Values.persistence.config.accessMode | quote }}
resources:
requests:
storage: {{ .Values.persistence.config.size | quote }}
{{- if .Values.persistence.config.storageClass }}
{{- if (eq "-" .Values.persistence.config.storageClass) }}
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.persistence.config.storageClass }}"
{{- end }}
{{- end }}
{{- end -}}

View File

@@ -1,113 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "bazarr.fullname" . }}
{{- if .Values.deploymentAnnotations }}
annotations:
{{- range $key, $value := .Values.deploymentAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
app.kubernetes.io/name: {{ include "bazarr.name" . }}
helm.sh/chart: {{ include "bazarr.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
replicas: 1
revisionHistoryLimit: 3
strategy:
type: {{ .Values.strategyType }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "bazarr.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "bazarr.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 6767
protocol: TCP
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
env:
- name: TZ
value: "{{ .Values.timezone }}"
- name: PUID
value: "{{ .Values.puid }}"
- name: PGID
value: "{{ .Values.pgid }}"
volumeMounts:
- mountPath: /config
name: config
{{- if .Values.persistence.config.subPath }}
subPath: {{ .Values.persistence.config.subPath }}
{{- end }}
- mountPath: /media
name: media
{{- if .Values.persistence.media.subPath }}
subPath: {{ .Values.persistence.media.subPath }}
{{- end }}
{{- range .Values.persistence.extraExistingClaimMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
readOnly: {{ .readOnly }}
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
volumes:
- name: config
{{- if .Values.persistence.config.enabled }}
persistentVolumeClaim:
claimName: {{ if .Values.persistence.config.existingClaim }}{{ .Values.persistence.config.existingClaim }}{{- else }}{{ template "bazarr.fullname" . }}-config{{- end }}
{{- else }}
emptyDir: {}
{{- end }}
- name: media
{{- if .Values.persistence.media.enabled }}
persistentVolumeClaim:
claimName: {{ if .Values.persistence.media.existingClaim }}{{ .Values.persistence.media.existingClaim }}{{- else }}{{ template "bazarr.fullname" . }}-media{{- end }}
{{- else }}
emptyDir: {}
{{- end }}
{{- range .Values.persistence.extraExistingClaimMounts }}
- name: {{ .name }}
persistentVolumeClaim:
claimName: {{ .existingClaim }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}

View File

@@ -1,41 +0,0 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "bazarr.fullname" . -}}
{{- $ingressPath := .Values.ingress.path -}}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ $fullName }}
labels:
app.kubernetes.io/name: {{ include "bazarr.name" . }}
helm.sh/chart: {{ include "bazarr.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.ingress.labels -}}
{{ toYaml . | nindent 4 }}
{{- end -}}
{{- with .Values.ingress.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ . | quote }}
http:
paths:
- path: {{ $ingressPath }}
backend:
serviceName: {{ $fullName }}
servicePort: http
{{- end }}
{{- end }}

View File

@@ -1,29 +0,0 @@
{{- if and .Values.persistence.media.enabled (not .Values.persistence.media.existingClaim) }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "bazarr.fullname" . }}-media
{{- if .Values.persistence.media.skipuninstall }}
annotations:
"helm.sh/resource-policy": keep
{{- end }}
labels:
app.kubernetes.io/name: {{ include "bazarr.name" . }}
helm.sh/chart: {{ include "bazarr.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
accessModes:
- {{ .Values.persistence.media.accessMode | quote }}
resources:
requests:
storage: {{ .Values.persistence.media.size | quote }}
{{- if .Values.persistence.media.storageClass }}
{{- if (eq "-" .Values.persistence.media.storageClass) }}
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.persistence.media.storageClass }}"
{{- end }}
{{- end }}
{{- end -}}

View File

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

View File

@@ -1,133 +1,40 @@
# Default values for bazarr.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Default values for Bazarr.
image:
repository: linuxserver/bazarr
tag: v0.9.0.2-ls89
pullPolicy: IfNotPresent
tag: version-v0.9.0.5
# upgrade strategy type (e.g. Recreate or RollingUpdate)
strategyType: Recreate
# Probes configuration
probes:
liveness:
initialDelaySeconds: 60
failureThreshold: 5
timeoutSeconds: 10
readiness:
initialDelaySeconds: 60
failureThreshold: 5
timeoutSeconds: 10
nameOverride: ""
fullnameOverride: ""
timezone: UTC
puid: 1001
pgid: 1001
strategy:
type: Recreate
service:
type: ClusterIP
port: 6767
## Specify the nodePort value for the LoadBalancer and NodePort service types.
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
##
# nodePort:
## Provide any additional annotations which may be required. This can be used to
## set the LoadBalancer service type to internal only.
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
annotations: {}
labels: {}
## Use loadBalancerIP to request a specific static IP,
## otherwise leave blank
##
loadBalancerIP:
# loadBalancerSourceRanges: []
## Set the externalTrafficPolicy in the Service to either Cluster or Local
# externalTrafficPolicy: Cluster
port:
port: 6767
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
labels: {}
path: /
hosts:
- chart-example.local
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
env: {}
# TZ: UTC
# PUID: 1001
# PGID: 1001
persistence:
config:
enabled: true
## bazarr configuration data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
##
## If you want to reuse an existing claim, you can pass the name of the PVC using
## the existingClaim variable
# existingClaim: your-claim
# subPath: some-subpath
accessMode: ReadWriteOnce
size: 1Gi
## Do not delete the pvc upon helm uninstall
skipuninstall: false
enabled: false
emptyDir: false
media:
enabled: true
## bazarr media volume configuration
enabled: false
emptyDir: false
mountPath: /media
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
##
## If you want to reuse an existing claim, you can pass the name of the PVC using
## the existingClaim variable
# existingClaim: your-claim
# subPath: some-subpath
accessMode: ReadWriteOnce
size: 10Gi
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
skipuninstall: false
extraExistingClaimMounts: []
# - name: external-mount
# mountPath: /srv/external-mount
## A manually managed Persistent Volume and Claim
## If defined, PVC must be created manually before volume will be bound
# existingClaim:
# readOnly: true
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations: {}
deploymentAnnotations: {}
# skipuninstall: false
# existingClaim: ""

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: bitwardenrs
description: Unofficial Bitwarden compatible server written in Rust
type: application
version: 1.0.0
version: 1.0.1
appVersion: 1.16.3
keywords:
- bitwarden

View File

@@ -8,7 +8,11 @@ metadata:
spec:
scaleTargetRef:
apiVersion: apps/v1
{{- if eq .Values.persistence.type "statefulset" }}
kind: StatefulSet
{{- else }}
kind: Deployment
{{- end }}
name: {{ include "bitwardenrs.fullname" . }}
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}

View File

@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: v0.10
appVersion: v0.11
description: DNS proxy as ad-blocker for local network
name: blocky
version: 4.0.1
version: 4.1.1
keywords:
- blocky
- dbs

View File

@@ -45,6 +45,13 @@ spec:
subPath: {{ $name }}
readOnly: true
{{- end }}
{{- if .Values.config.queryLog }}
- name: data
mountPath: {{ .Values.config.queryLog.dir }}
{{- if .Values.persistence.subPath }}
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- end }}
ports:
- name: api
containerPort: 4000
@@ -56,19 +63,19 @@ spec:
protocol: UDP
livenessProbe:
httpGet:
path: /metrics
path: /
port: api
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
readinessProbe:
httpGet:
path: /metrics
path: /
port: api
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}
startupProbe:
httpGet:
path: /metrics
path: /
port: api
initialDelaySeconds: {{ .Values.probes.startup.initialDelaySeconds }}
failureThreshold: {{ .Values.probes.startup.failureThreshold }}
@@ -89,6 +96,15 @@ spec:
- key: {{ $name }}
path: {{ $name }}
{{- end }}
{{- if .Values.config.queryLog }}
- name: data
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "blocky.fullname" . }}{{- end }}
{{- else }}
emptyDir: {}
{{- end }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View File

@@ -0,0 +1,33 @@
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "blocky.fullname" . }}
labels:
app.kubernetes.io/name: {{ include "blocky.name" . }}
helm.sh/chart: {{ include "blocky.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.persistence.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.persistence.finalizers }}
finalizers:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
accessModes:
{{- toYaml .Values.persistence.accessModes | nindent 4 }}
{{- if .Values.persistence.storageClassName }}
storageClassName: {{ .Values.persistence.storageClassName }}
{{- end }}
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
{{- with .Values.persistence.selectorLabels }}
selector:
matchLabels:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- end -}}

View File

@@ -1,8 +1,6 @@
replicaCount: 1
image:
repository: spx01/blocky
tag: v0.10
tag: v0.11
pullPolicy: IfNotPresent
nameOverride: ""
@@ -106,11 +104,33 @@ config:
# url path, optional (default '/metrics')
path: /metrics
# optional: write query information (question, answer, client, duration etc) to daily csv file
# queryLog:
# # directory (will be mounted as volume in the pod)
# dir: /logs
# # if true, write one file per client. Writes all queries to single file otherwise
# perClient: true
# # if > 0, deletes log files which are older than ... days
# logRetentionDays: 7
# optional: HTTP listener port, default 0 = no http listener. If > 0, will be used for prometheus metrics, pprof, ...
httpPort: 4000
# optional: Log level (one from debug, info, warn, error). Default: info
logLevel: info
## Add persistence for query logs (if enabled)
persistence:
enabled: false
# storageClassName: default
accessModes:
- ReadWriteOnce
size: 10Gi
# annotations: {}
finalizers:
- kubernetes.io/pvc-protection
# selectorLabels: {}
# subPath: ""
# existingClaim:
# Probes configuration
probes:

View File

@@ -0,0 +1,20 @@
apiVersion: v2
appVersion: v2009.1.0
description: Booksonic is a platform for accessing the audibooks you own wherever you are
name: booksonic-air
version: 2.3.1
keywords:
- booksonic
- audiobook
home: https://github.com/k8s-at-home/charts/tree/master/charts/booksonic-air
icon: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/booksonic-air.png
sources:
- https://github.com/popeen/Booksonic-Air
- https://hub.docker.com/r/linuxserver/booksonic-air
maintainers:
- name: wojoinc
email: wojoinc@pm.me
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 2.2.1

View File

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

View File

@@ -0,0 +1,78 @@
# Booksonic-air
This is a helm chart for [Booksonic-air](https://github.com/popeen/Booksonic-Air).
Booksonic-air is the successor to [Booksonic](https://github.com/popeen/Booksonic-Air#history).
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
This chart leverages the [linuxserver.io](https://hub.docker.com/r/linuxserver/booksonic-air) image. To specify a specific version, or to use a different image (not recommended),
see [configuration](#configuration)
## TL;DR;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/booksonic-air
```
## Storage
If you plan to use networked storage to store your media or config for Booksonic, (NFS, etc.) please take a look at the
Fast Access option in the Booksonic settings. This will help improve the perfomance of the application
by not constantly monitoring media folders.
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/booksonic-air
```
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:
```console
helm delete my-release --purge
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/booksonic-air/values.yaml)
file. It has several commented out suggested values. Most notably, these include several environment variables used to
customize the container.
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console
helm install booksonic \
--set env.TZ="America/New_York" \
k8s-at-home/booksonic-air
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install booksonic k8s-at-home/booksonic-air -f values.yaml
```
```yaml
image:
tag: ...
```
---
**NOTE**
If you get
```console
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
```
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
---
## Upgrading an existing Release to a new major version
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.

View File

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

View File

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

View File

@@ -0,0 +1,49 @@
# Default values for Booksonic-air.
image:
repository: linuxserver/booksonic-air
pullPolicy: IfNotPresent
tag: v2009.1.0-ls2
strategy:
type: Recreate
service:
port:
port: 4040
env: {}
# TZ: UTC
# PUID: "1001"
# PGID: "1001"
# CONTEXT_PATH=url-base # Used to set the base path for reverse proxies eg. /booksonic, /books, etc.
persistence:
config:
enabled: false
emptyDir: false
audiobooks:
enabled: false
emptyDir: false
mountPath: /audiobooks
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
podcasts:
enabled: false
emptyDir: false
mountPath: /podcasts
othermedia:
enabled: false
emptyDir: false
mountPath: /othermedia

View File

@@ -14,10 +14,11 @@
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS

View File

@@ -1,9 +1,8 @@
type: application
apiVersion: v2
appVersion: 0.6.8
appVersion: 0.6.9
description: Calibre-Web is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing Calibre database.
name: calibre-web
version: 2.0.1
version: 4.3.1
keywords:
- calibre
- ebook
@@ -15,3 +14,7 @@ sources:
maintainers:
- name: wojoinc
email: wojoinc@pm.me
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 2.2.1

View File

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

View File

@@ -1,14 +1,22 @@
# calibre-web
# Calibre-Web
This is a helm chart for [calibre-web](https://github.com/janeczku/calibre-web) utilizing the [Linuxserver.io calibre-web image](https://hub.docker.com/r/linuxserver/calibre-web)
This is a helm chart for [Calibre-Web](https://github.com/janeczku/calibre-web).
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
## TL;DR;
```shell
helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm install k8s-at-home/calibre-web
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/calibre-web
```
## Storage
If you plan to use networked storage to store your media or config for Booksonic, (NFS, etc.) please take a look at the
Fast Access option in the Booksonic settings. This will help improve the perfomance of the application
by not constantly monitoring media folders.
## Installing the Chart
To install the chart with the release name `my-release`:
@@ -28,80 +36,50 @@ helm delete my-release --purge
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
The following tables lists the configurable parameters of the `calibre-web` chart and their default values.
| Parameter | Description | Default |
| --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| `image.repository` | Image repository | `linuxserver/calibre-web` |
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/linuxserver/calibre-web/tags/). | `0.6.8-ls74` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `dockerMods.ebookConversion.enabled` | Enable optional ebook conversion feature. (x86_64 only) refer [here](https://github.com/linuxserver/docker-calibre-web#application-setup) | `false` |
| `dockerMods.ebookConversion.image.repository` | DockerMod image repository | `linuxserver/calibre-web` |
| `dockerMods.ebookConversion.image.tag` | DockerMod image tag. These typically start with `v`, with the "stable" tag being `calibre`. Can be found [here](https://hub.docker.com/r/linuxserver/calibre-web/tags/) | `calibre` |
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
| `timezone` | Timezone the calibre-web instance should run as, e.g. 'America/New_York' | `UTC` |
| `puid` | process userID the calibre-web instance should run as | `1001` |
| `pgid` | process groupID the calibre-web instance should run as | `1001` |
| `umask` | Default umask to use when creating new files | `22` |
| `probes.liveness.initialDelaySeconds` | Specify liveness `initialDelaySeconds` parameter for the deployment | `60` |
| `probes.liveness.failureThreshold` | Specify liveness `failureThreshold` parameter for the deployment | `5` |
| `probes.liveness.timeoutSeconds` | Specify liveness `timeoutSeconds` parameter for the deployment | `10` |
| `probes.readiness.initialDelaySeconds` | Specify readiness `initialDelaySeconds` parameter for the deployment | `60` |
| `probes.readiness.failureThreshold` | Specify readiness `failureThreshold` parameter for the deployment | `5` |
| `probes.readiness.timeoutSeconds` | Specify readiness `timeoutSeconds` parameter for the deployment | `10` |
| `Service.type` | Kubernetes service type for the calibre-web GUI | `ClusterIP` |
| `Service.port` | Kubernetes port where the calibre-web GUI is exposed | `8083` |
| `Service.annotations` | Service annotations for the calibre-web GUI | `{}` |
| `Service.labels` | Custom labels | `{}` |
| `Service.loadBalancerIP` | Loadbalance IP for the calibre-web GUI | `{}` |
| `Service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | None |
| `ingress.enabled` | Enables Ingress | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.labels` | Custom labels | `{}` |
| `ingress.path` | Ingress path | `/` |
| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` |
| `ingress.tls` | Ingress TLS configuration | `[]` |
| `persistence.config.enabled` | Use persistent volume to store configuration data | `true` |
| `persistence.config.size` | Size of persistent volume claim | `1Gi` |
| `persistence.config.existingClaim` | Use an existing PVC to persist data | `nil` |
| `persistence.config.storageClass` | Type of persistent volume claim | `-` |
| `persistence.config.accessMode` | Persistence access mode | `ReadWriteOnce` |
| `persistence.config.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
| `persistence.books.enabled` | Use persistent volume to store books data | `true` |
| `persistence.books.size` | Size of persistent volume claim | `10Gi` |
| `persistence.books.existingClaim` | Use an existing PVC to persist data | `nil` |
| `persistence.books.storageClass` | Type of persistent volume claim | `-` |
| `persistence.books.accessMode` | Persistence access mode | `ReadWriteOnce` |
| `persistence.books.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
| `persistence.extraExistingClaimMounts` | Optionally add multiple existing claims | `[]` |
| `resources` | CPU/Memory resource requests/limits | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `affinity` | Affinity settings for pod assignment | `{}` |
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` |
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/calibre-web/values.yaml)
file. It has several commented out suggested values. Most notably, these include several environment variables used to
customize the container.
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console
helm install --name my-release \
--set timezone="America/New York" \
helm install calibre-web \
--set env.TZ="America/New_York" \
k8s-at-home/calibre-web
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install --name my-release -f values.yaml stable/calibre-web
helm install calibre-web k8s-at-home/calibre-web -f values.yaml
```
```yaml
image:
tag: ...
```
---
**NOTE**
If you get `Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...` it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
If you get
```console
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
```
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
---
Read through the [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/calibre-web/values.yaml) file. It has several commented out suggested values.
## Upgrading an existing Release to a new major version
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.
### Upgrading from 2.x.x to 3.x.x
Due to migrating to a centralized common library some values in `values.yaml` have changed.
Examples:
* `service.port` has been moved to `service.port.port`.
* `persistence.type` has been moved to `controllerType`.
Refer to the library values.yaml for more configuration options.

View File

@@ -1,25 +1 @@
1. Get the application URL by running these commands:
{{- if .Values.ingress.enabled }}
{{- range $host := .Values.ingress.hosts }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host }}{{ $.Values.ingress.path }}
{{- end }}
{{- else if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "calibre-web.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "calibre-web.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "calibre-web.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "calibre-web.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:{{ .Values.service.port }}
{{- end }}
{{- if .Values.dockerMods.ebookConversion.enabled }}
2. DockerMods:
You have enabled the EbookConversion Docker Mod using the {{ .Values.dockerMods.ebookConversion.image.repository }}:{{ .Values.dockerMods.ebookConversion.image.tag }} image.
Remember to visit https://github.com/linuxserver/docker-calibre-web#application-setup for instructions on configuring this feature in the calibre-web settings.
{{- end }}
{{- include "common.notes.defaultNotes" . -}}

View File

@@ -1,63 +0,0 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "calibre-web.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "calibre-web.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "calibre-web.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "calibre-web.labels" -}}
helm.sh/chart: {{ include "calibre-web.chart" . }}
{{ include "calibre-web.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "calibre-web.selectorLabels" -}}
app.kubernetes.io/name: {{ include "calibre-web.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Create the name of the service account to use
*/}}
{{- define "calibre-web.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "calibre-web.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

View File

@@ -1,25 +0,0 @@
{{- if and .Values.persistence.books.enabled (not .Values.persistence.books.existingClaim) }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "calibre-web.fullname" . }}-books
{{- if .Values.persistence.books.skipuninstall }}
annotations:
"helm.sh/resource-policy": keep
{{- end }}
labels: {{ include "calibre-web.labels" . | nindent 4}}
spec:
accessModes:
- {{ .Values.persistence.books.accessMode | quote }}
resources:
requests:
storage: {{ .Values.persistence.books.size | quote }}
{{- if .Values.persistence.books.storageClass }}
{{- if (eq "-" .Values.persistence.books.storageClass) }}
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.persistence.books.storageClass }}"
{{- end }}
{{- end }}
{{- end -}}

View File

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

View File

@@ -1,25 +0,0 @@
{{- if and .Values.persistence.config.enabled (not .Values.persistence.config.existingClaim) }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "calibre-web.fullname" . }}-config
{{- if .Values.persistence.config.skipuninstall }}
annotations:
"helm.sh/resource-policy": keep
{{- end }}
labels: {{ include "calibre-web.labels" . | nindent 4 }}
spec:
accessModes:
- {{ .Values.persistence.config.accessMode | quote }}
resources:
requests:
storage: {{ .Values.persistence.config.size | quote }}
{{- if .Values.persistence.config.storageClass }}
{{- if (eq "-" .Values.persistence.config.storageClass) }}
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.persistence.config.storageClass }}"
{{- end }}
{{- end }}
{{- end -}}

View File

@@ -1,112 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "calibre-web.fullname" . }}
{{- if .Values.deploymentAnnotations }}
annotations:
{{- range $key, $value := .Values.deploymentAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels: {{ include "calibre-web.labels" . | nindent 4 }}
spec:
replicas: 1
revisionHistoryLimit: 3
strategy:
type: {{ .Values.strategyType }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "calibre-web.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
template:
metadata:
labels:
app.kubernetes.io/name: {{ include "calibre-web.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 8083
protocol: TCP
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
env:
- name: TZ
value: "{{ .Values.timezone }}"
- name: PUID
value: "{{ .Values.puid }}"
- name: PGID
value: "{{ .Values.pgid }}"
- name: UMASK
value: "{{ .Values.umask }}"
{{- if eq .Values.dockerMods.ebookConversion.enabled true }}
- name: DOCKER_MODS
value: "{{ .Values.dockerMods.ebookConversion.image.repository }}:{{ .Values.dockerMods.ebookConversion.image.tag }}"
{{- end }}
volumeMounts:
- mountPath: /config
name: config
- mountPath: /books
name: books
{{- if .Values.persistence.books.subPath }}
subPath: {{ .Values.persistence.books.subPath }}
{{- end }}
{{- range .Values.persistence.extraExistingClaimMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
readOnly: {{ .readOnly }}
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
volumes:
- name: config
{{- if .Values.persistence.config.enabled }}
persistentVolumeClaim:
claimName: {{ if .Values.persistence.config.existingClaim }}{{ .Values.persistence.config.existingClaim }}{{- else }}{{ template "calibre-web.fullname" . }}-config{{- end }}
{{- else }}
emptyDir: {}
{{- end }}
- name: books
{{- if .Values.persistence.books.enabled }}
persistentVolumeClaim:
claimName: {{ if .Values.persistence.books.existingClaim }}{{ .Values.persistence.books.existingClaim }}{{- else }}{{ template "calibre-web.fullname" . }}-books{{- end }}
{{- else }}
emptyDir: {}
{{- end }}
{{- range .Values.persistence.extraExistingClaimMounts }}
- name: {{ .name }}
persistentVolumeClaim:
claimName: {{ .existingClaim }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}

View File

@@ -1,34 +0,0 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "calibre-web.fullname" . -}}
{{- $ingressPath := .Values.ingress.path -}}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ $fullName }}
labels: {{ include "calibre-web.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ . | quote }}
http:
paths:
- path: {{ $ingressPath }}
backend:
serviceName: {{ $fullName }}
servicePort: http
{{- end }}
{{- end }}

View File

@@ -1,48 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ template "calibre-web.fullname" . }}
labels: {{ include "calibre-web.labels" . | nindent 4 }}
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels | indent 4 }}
{{- end }}
{{- with .Values.service.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if (or (eq .Values.service.type "ClusterIP") (empty .Values.service.type)) }}
type: ClusterIP
{{- if .Values.service.clusterIP }}
clusterIP: {{ .Values.service.clusterIP }}
{{end}}
{{- else if eq .Values.service.type "LoadBalancer" }}
type: {{ .Values.service.type }}
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
{{- if .Values.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{ toYaml .Values.service.loadBalancerSourceRanges | indent 4 }}
{{- end -}}
{{- else }}
type: {{ .Values.service.type }}
{{- end }}
{{- if .Values.service.externalIPs }}
externalIPs:
{{ toYaml .Values.service.externalIPs | indent 4 }}
{{- end }}
{{- if .Values.service.externalTrafficPolicy }}
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
{{- end }}
ports:
- name: http
port: {{ .Values.service.port }}
protocol: TCP
targetPort: http
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
nodePort: {{.Values.service.nodePort}}
{{ end }}
selector:
app.kubernetes.io/name: {{ include "calibre-web.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}

View File

@@ -1,15 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "calibre-web.fullname" . }}-test-connection"
labels:
{{- include "calibre-web.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "calibre-web.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never

View File

@@ -1,136 +1,41 @@
# Default values for calibre-web.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Default values for Calibre-Web.
image:
repository: linuxserver/calibre-web
tag: 0.6.8-ls74
pullPolicy: IfNotPresent
tag: version-0.6.9
# upgrade strategy type (e.g. Recreate or RollingUpdate)
strategyType: Recreate
# Probes configuration
probes:
liveness:
initialDelaySeconds: 60
failureThreshold: 5
timeoutSeconds: 10
readiness:
initialDelaySeconds: 60
failureThreshold: 5
timeoutSeconds: 10
nameOverride: ""
fullnameOverride: ""
# Linuxserver.io additional layers.
# Enables additional features for the image, at the cost of increased size and
# possible incompatabilities with certain architectures. Disabled by default.
dockerMods:
# Enable ebook conversion. Compatible with x86_64 image only.
# To enable, set enabled to true, and follow the guide at: https://github.com/linuxserver/docker-calibre-web#application-setup
# to configure the application.
ebookConversion:
enabled: false
image:
repository: linuxserver/calibre-web
# To use a different tag for the DockerMod, specify the tag below
tag: calibre
timezone: UTC
puid: 1001
pgid: 1001
umask: 22
strategy:
type: Recreate
service:
type: ClusterIP
port: 8083
## Specify the nodePort value for the LoadBalancer and NodePort service types.
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
##
# nodePort:
## Provide any additional annotations which may be required. This can be used to
## set the LoadBalancer service type to internal only.
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
annotations: {}
labels: {}
## Use loadBalancerIP to request a specific static IP,
## otherwise leave blank
##
loadBalancerIP:
# loadBalancerSourceRanges: []
## Set the externalTrafficPolicy in the Service to either Cluster or Local
# externalTrafficPolicy: Cluster
port:
port: 8083
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
path: /
hosts:
- chart-example.local
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
env: {}
# TZ:
# PUID:
# PGID:
# UMASK:
# DOCKER_MODS:
persistence:
config:
enabled: true
## calibre-web configuration data Persistent Volume Storage Class
enabled: false
emptyDir: false
books:
enabled: false
emptyDir: false
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
##
## If you want to reuse an existing claim, you can pass the name of the PVC using
## the existingClaim variable
# existingClaim: your-claim
accessMode: ReadWriteOnce
size: 1Gi
## Do not delete the pvc upon helm uninstall
skipuninstall: false
books:
enabled: true
# storageClass: "-"
# existingClaim: your-claim
# subPath: some-subpath
accessMode: ReadWriteOnce
size: 10Gi
## Do not delete the pvc upon helm uninstall
skipuninstall: false
extraExistingClaimMounts: []
# - name: external-mount
# mountPath: /srv/external-mount
## A manually managed Persistent Volume and Claim
## If defined, PVC must be created manually before volume will be bound
# existingClaim:
# readOnly: true
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations: {}
deploymentAnnotations: {}
# accessMode: ReadWriteOnce
# size: 1Gi
## Set to true to retain the PVC upon helm uninstall
# skipuninstall: false
# existingClaim: ""

View File

@@ -0,0 +1,15 @@
apiVersion: v2
name: common-test
description: Helper chart to test different use cases of the common library
version: 1.0.2
keywords:
- k8s-at-home
- common
home: https://github.com/k8s-at-home/charts/tree/master/charts/common-test
maintainers:
- name: bjw-s
email: me@bjw-s.dev
dependencies:
- name: common
repository: file://../common
version: n/a

View File

@@ -0,0 +1,19 @@
image:
repository: b4bz/homer
tag: latest
pullPolicy: IfNotPresent
service:
port:
port: 8080
ingress:
enabled: true
probes:
liveness:
enabled: true
readiness:
enabled: true
startup:
enabled: true

View File

@@ -0,0 +1,27 @@
image:
repository: b4bz/homer
tag: latest
pullPolicy: IfNotPresent
service:
port:
port: 8080
ingress:
enabled: true
persistence:
config:
enabled: true
emptyDir: true
mountPath: /www/assets
addons:
codeserver:
enabled: true
workingDir: "/www/assets"
ingress:
enabled: true
volumeMounts:
- name: config
mountPath: /www/assets

View File

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

View File

@@ -0,0 +1,11 @@
image:
repository: b4bz/homer
tag: latest
pullPolicy: IfNotPresent
service:
port:
port: 8080
ingress:
enabled: true

View File

@@ -0,0 +1,72 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.2.1]
### Fixed
- Made explicit that `service.port.targetPort` cannot be a named port.
## [2.2.0]
### Added
- Allow serviceLinks to be enabled/disabled.
- Support for ingressClassName on apiVersion `networking.k8s.io/v1` by setting `ingress.ingressClassName`.
- Added some initial proper unit tests for the `common` chart.
### Changed
- `service.port.targetPort` is now used in the container spec instead of `service.port.port` if specified. This allows for different service and container ports. (Implements [#465](https://github.com/k8s-at-home/charts/issues/465)).
### Fixed
- Document setting environment variables for code-server add-on in `values.yaml` (Fixes [#436](https://github.com/k8s-at-home/charts/issues/436)).
- Set service targetPort to the service port name first if no `targetPort` value is given.
## [2.1.0]
### Added
- Allow for additional arguments to be added to code-server runtime via `addons.codeserver.args`
## [2.0.4]
### Fixed
- `periodSeconds` now works for all probe types.
## [2.0.0]
### Changed
- :warning: Updated `probes` logic to support custom probes, it is now possible to set your own custom probes by setting the `probes.[liveness|readiness|startup].custom` value to `true` and configuring them. Default is `false`.
- :warning: `addon.vpn.imagePullPolicy` is now `addon.vpn.[openvpn|wireguard].image.pullPolicy`. Default is `IfNotPresent`
- [code-server](https://github.com/cdr/code-server) is now an `addon` like `vpn`. This enables a code-server container inside the pod which allows you to modify a configuration in a volume attached to the pod. Default for `addons.codeserver.enabled` is `false`
- Added `envFrom` for more configuration with environment variables
- Added `dnsConfig` to be configurable
- Added support for 1.19+ ingress spec
- Added this [CHANGELOG.md](CHANGELOG.md)
### Fixed
- `nameOverride` and `fullNameOverride` not in `values.yaml`
## [1.7.0]
This is the last version before starting this changelog. All sorts of cool stuff was changed, but only `git log` remembers what that was :slightly_frowning_face:
[2.2.1]: https://github.com/k8s-at-home/charts/tree/common-2.2.1/charts/common
[2.2.0]: https://github.com/k8s-at-home/charts/tree/common-2.2.0/charts/common
[2.1.0]: https://github.com/k8s-at-home/charts/tree/common-2.1.0/charts/common
[2.0.4]: https://github.com/k8s-at-home/charts/tree/common-2.0.4/charts/common
[2.0.0]: https://github.com/k8s-at-home/charts/tree/common-2.0.0/charts/common
[1.7.0]: https://github.com/k8s-at-home/charts/tree/common-1.7.0/charts/common

12
charts/common/Chart.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v2
name: common
description: Function library for k8s-at-home charts
type: library
version: 2.2.1
keywords:
- k8s-at-home
- common
home: https://github.com/k8s-at-home/charts/tree/master/charts/common
maintainers:
- name: bjw-s
email: me@bjw-s.dev

99
charts/common/README.md Normal file
View File

@@ -0,0 +1,99 @@
# Library chart for k8s@home media charts
**WARNING: THIS CHART IS NOT MEANT TO BE INSTALLED DIRECTLY**
This is a [Helm Library Chart](https://helm.sh/docs/topics/library_charts/#helm). It's purpose is for grouping common logic between the k8s@home charts.
Since a lot of charts follow the same pattern this library was built to reduce maintenance cost between the charts that use it and try achieve a goal of being DRY.
## Introduction
This chart provides common template helpers which can be used to develop new charts using [Helm](https://helm.sh) package manager.
## :star2: Changelog
Please refer to [CHANGELOG.md](CHANGELOG.md) for an overview of notable changes to the chart. **This is especially important for major version updates!**
## TL;DR
When using one of the many charts that uses this library be sure to view this [values.yaml](./values.yaml) for configuration options. Any setting here can be used to define what values your helm deployment will use.
For example using the helm CLI tool
```bash
helm install node-red \
--set image.repository="nodered/node-red" \
--set image.tag="1.2.5" \
--set env.TZ="America/New_York" \
k8s-at-home/node-red
```
or
```yaml
# node-red-values.yaml
image:
repository: nodered/node-red
tag: 1.2.5
env:
TZ: America/New_York
```
```bash
helm install node-red \
--values=./node-red-values.yaml \
k8s-at-home/node-red
```
## Creating a new chart
First be sure to checkout the many charts that already use this like [qBittorrent](../qbittorrent/), [node-red](../node-red/) or the many others in this repository.
Include this chart as a dependency in your `Chart.yaml` e.g.
```yaml
# Chart.yaml
dependencies:
- name: common
version: x.x.x
repository: https://k8s-at-home.com/charts/
```
Write a `values.yaml` with some basic defaults you want to present to the user e.g.
```yaml
# Default values for node-red.
image:
repository: nodered/node-red
pullPolicy: IfNotPresent
tag: 1.2.5
strategy:
type: Recreate
# See more environment varaibles in the node-red documentation
# https://nodered.org/docs/getting-started/docker
env: {}
# TZ:
# NODE_OPTIONS:
# NODE_RED_ENABLE_PROJECTS:
# NODE_RED_ENABLE_SAFE_MODE:
# FLOWS:
service:
port:
port: 1880
persistence:
data:
enabled: false
emptyDir: false
mountPath: /data
```
If testing locally make sure you update the dependencies with:
```bash
helm dependency update
```

View File

@@ -0,0 +1,36 @@
{{/*
Main entrypoint for the common library chart. It will render all underlying templates based on the provided values.
*/}}
{{- define "common.all" -}}
{{- /* Merge the local chart values and the common chart defaults */ -}}
{{- include "common.values.setup" . }}
{{- /* Enable code-server add-on if required */ -}}
{{- if .Values.addons.codeserver.enabled }}
{{- include "common.addon.codeserver" . }}
{{- end -}}
{{- /* Enable VPN add-on if required */ -}}
{{- if .Values.addons.vpn.enabled }}
{{- include "common.addon.vpn" . }}
{{- end -}}
{{- /* Build the templates */ -}}
{{- include "common.pvc" . }}
{{- print "---" | nindent 0 -}}
{{- if .Values.serviceAccount.create -}}
{{- include "common.serviceAccount" . }}
{{- print "---" | nindent 0 -}}
{{- end -}}
{{- if eq .Values.controllerType "deployment" }}
{{- include "common.deployment" . | nindent 0 }}
{{ else if eq .Values.controllerType "daemonset" }}
{{- include "common.daemonset" . | nindent 0 }}
{{ else if eq .Values.controllerType "statefulset" }}
{{- include "common.statefulset" . | nindent 0 }}
{{- end -}}
{{- print "---" | nindent 0 -}}
{{ include "common.service" . | nindent 0 }}
{{- print "---" | nindent 0 -}}
{{ include "common.ingress" . | nindent 0 }}
{{- end -}}

View File

@@ -0,0 +1,33 @@
{{/*
This template serves as the blueprint for the DaemonSet objects that are created
within the common library.
*/}}
{{- define "common.daemonset" -}}
apiVersion: {{ include "common.capabilities.daemonset.apiVersion" . }}
kind: DaemonSet
metadata:
name: {{ include "common.names.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with .Values.controllerLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.controllerAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
selector:
matchLabels:
{{- include "common.labels.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "common.labels.selectorLabels" . | nindent 8 }}
spec:
{{- include "common.controller.pod" . | nindent 6 }}
{{- end }}

View File

@@ -0,0 +1,38 @@
{{/*
This template serves as the blueprint for the Deployment objects that are created
within the common library.
*/}}
{{- define "common.deployment" -}}
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
kind: Deployment
metadata:
name: {{ include "common.names.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with .Values.controllerLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.controllerAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicas }}
{{- with .Values.strategy }}
strategy:
{{- toYaml . | nindent 4 }}
{{- end }}
selector:
matchLabels:
{{- include "common.labels.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "common.labels.selectorLabels" . | nindent 8 }}
spec:
{{- include "common.controller.pod" . | nindent 6 }}
{{- end }}

View File

@@ -0,0 +1,27 @@
{{/*
Renders the Ingress objects required by the chart by returning a concatinated list
of the main Ingress and any additionalIngresses.
*/}}
{{- define "common.ingress" -}}
{{- if .Values.ingress.enabled -}}
{{- $svcPort := .Values.service.port.port -}}
{{- /* Generate primary ingress */ -}}
{{- $ingressValues := .Values.ingress -}}
{{- $_ := set . "ObjectValues" (dict "ingress" $ingressValues) -}}
{{- include "common.classes.ingress" . }}
{{- /* Generate additional ingresses as required */ -}}
{{- range $index, $extraIngress := .Values.ingress.additionalIngresses }}
{{- if $extraIngress.enabled -}}
{{- print ("---") | nindent 0 -}}
{{- $ingressValues := $extraIngress -}}
{{- if not $ingressValues.nameSuffix -}}
{{- $_ := set $ingressValues "nameSuffix" $index -}}
{{ end -}}
{{- $_ := set $ "ObjectValues" (dict "ingress" $ingressValues) -}}
{{- include "common.classes.ingress" $ -}}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -1,19 +1,25 @@
{{/*
Default NOTES.txt content.
*/}}
{{- define "common.notes.defaultNotes" -}}
{{- $svcPort := .Values.service.port.port -}}
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 }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ .host }}{{ (first .paths).path }}
{{- end }}
{{- else if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "media-common.fullname" . }})
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "common.names.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get svc -w {{ include "media-common.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "media-common.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:{{ .Values.service.port }}
You can watch the status of by running 'kubectl get svc -w {{ include "common.names.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "common.names.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:{{ $svcPort }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "media-common.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "common.names.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl port-forward $POD_NAME 8080:80
kubectl port-forward $POD_NAME 8080:{{ $svcPort }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,18 @@
{{/*
Renders the PersistentVolumeClaim objects required by the chart by returning a concatinated list
of all the entries of the persistence key.
*/}}
{{- define "common.pvc" -}}
{{- /* Generate pvc as required */ -}}
{{- range $index, $PVC := .Values.persistence }}
{{- if and $PVC.enabled (not (or $PVC.emptyDir $PVC.existingClaim)) -}}
{{- $persistenceValues := $PVC -}}
{{- if not $persistenceValues.nameSuffix -}}
{{- $_ := set $persistenceValues "nameSuffix" $index -}}
{{- end -}}
{{- $_ := set $ "ObjectValues" (dict "persistence" $persistenceValues) -}}
{{- print ("---") | nindent 0 -}}
{{- include "common.classes.pvc" $ -}}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,23 @@
{{/*
Renders the Service objects required by the chart by returning a concatinated list
of the main Service and any additionalServices.
*/}}
{{- define "common.service" -}}
{{- if .Values.service.enabled -}}
{{- /* Generate primary service */ -}}
{{- include "common.classes.service" . }}
{{- /* Generate additional services as required */ -}}
{{- range $index, $extraService := .Values.service.additionalServices }}
{{- if $extraService.enabled -}}
{{- print ("---") | nindent 0 -}}
{{- $serviceValues := $extraService -}}
{{- if not $serviceValues.nameSuffix -}}
{{- $_ := set $serviceValues "nameSuffix" $index -}}
{{ end -}}
{{- $_ := set $ "ObjectValues" (dict "service" $serviceValues) -}}
{{- include "common.classes.service" $ -}}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,15 @@
{{/*
The ServiceAccount object to be created.
*/}}
{{- define "common.serviceAccount" -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "common.names.serviceAccountName" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,39 @@
{{/*
This template serves as the blueprint for the StatefulSet objects that are created
within the common library.
*/}}
{{- define "common.statefulset" -}}
apiVersion: {{ include "common.capabilities.statefulset.apiVersion" . }}
kind: StatefulSet
metadata:
name: {{ include "common.names.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with .Values.controllerLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.controllerAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicas }}
{{- with .Values.strategy }}
updateStrategy:
{{- toYaml . | nindent 4 }}
{{- end }}
selector:
matchLabels:
{{- include "common.labels.selectorLabels" . | nindent 6 }}
serviceName: {{ include "common.names.fullname" . }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "common.labels.selectorLabels" . | nindent 8 }}
spec:
{{- include "common.controller.pod" . | nindent 6 }}
{{- end }}

View File

@@ -0,0 +1,44 @@
{{/*
Template to render code-server addon
It will include / inject the required templates based on the given values.
*/}}
{{- define "common.addon.codeserver" -}}
{{- if .Values.addons.codeserver.enabled -}}
{{/* Append the code-server container to the additionalContainers */}}
{{- $container := include "common.addon.codeserver.container" . | fromYaml -}}
{{- if $container -}}
{{- $additionalContainers := append .Values.additionalContainers $container -}}
{{- $_ := set .Values "additionalContainers" $additionalContainers -}}
{{- end -}}
{{/* Add the code-server service */}}
{{- if .Values.addons.codeserver.service.enabled -}}
{{- print ("---") | nindent 0 -}}
{{- $serviceValues := .Values.addons.codeserver.service -}}
{{- if not $serviceValues.nameSuffix -}}
{{- $_ := set $serviceValues "nameSuffix" "codeserver" -}}
{{ end -}}
{{- $_ := set $ "ObjectValues" (dict "service" $serviceValues) -}}
{{- include "common.classes.service" $ -}}
{{- $_ := unset $ "ObjectValues" -}}
{{- end -}}
{{/* Add the code-server ingress */}}
{{- if .Values.addons.codeserver.ingress.enabled -}}
{{- print ("---") | nindent 0 -}}
{{- $ingressValues := .Values.addons.codeserver.ingress -}}
{{- if not $ingressValues.nameSuffix -}}
{{- $_ := set $ingressValues "nameSuffix" "codeserver" -}}
{{ end -}}
{{/* Determine the target service name & port */}}
{{- $svcName := printf "%v-%v" (include "common.names.fullname" .) .Values.addons.codeserver.service.nameSuffix -}}
{{- $_ := set $ingressValues "serviceName" $svcName -}}
{{- $_ := set $ingressValues "servicePort" .Values.addons.codeserver.service.port.port -}}
{{- $_ := set $ "ObjectValues" (dict "ingress" $ingressValues) -}}
{{- include "common.classes.ingress" $ -}}
{{- $_ := unset $ "ObjectValues" -}}
{{- end -}}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,41 @@
{{/*
The code-server sidecar container to be inserted.
*/}}
{{- define "common.addon.codeserver.container" -}}
{{- if lt (len .Values.addons.codeserver.volumeMounts) 1 }}
{{- fail "At least 1 volumeMount is required for codeserver container" }}
{{- end -}}
name: codeserver
image: "{{ .Values.addons.codeserver.image.repository }}:{{ .Values.addons.codeserver.image.tag }}"
imagePullPolicy: {{ .Values.addons.codeserver.pullPolicy }}
{{- with .Values.addons.codeserver.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.addons.codeserver.env }}
env:
{{- range $k, $v := . }}
- name: {{ $k }}
value: {{ $v | quote }}
{{- end }}
{{- end }}
ports:
- name: {{ .Values.addons.codeserver.service.port.name }}
containerPort: {{ .Values.addons.codeserver.service.port.port }}
protocol: TCP
args:
{{- range .Values.addons.codeserver.args }}
- {{ . | quote }}
{{- end }}
- "--port"
- "{{ .Values.addons.codeserver.service.port.port }}"
- {{ .Values.addons.codeserver.workingDir | default (first .Values.addons.codeserver.volumeMounts).mountPath }}
{{- with .Values.addons.codeserver.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.addons.codeserver.resources }}
resources:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end -}}

View File

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

View File

@@ -0,0 +1,21 @@
{{/*
Blueprint for the NetworkPolicy object that can be included in the addon.
*/}}
{{- define "common.addon.vpn.networkpolicy" -}}
{{- if .Values.addons.vpn.networkPolicy.enabled -}}
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: {{ include "common.names.fullname" . }}
spec:
podSelector:
matchLabels:
{{- include "common.labels.selectorLabels" . | nindent 6 }}
policyTypes:
- Egress
egress:
{{- with .Values.addons.vpn.networkPolicy.egress }}
{{- . | toYaml | nindent 4 }}
{{- end -}}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,25 @@
{{/*
The volume (referencing VPN config and scripts) to be inserted into additionalVolumes.
*/}}
{{- define "common.addon.vpn.volume" -}}
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down -}}
name: vpnconfig
configMap:
name: {{ include "common.names.fullname" . }}-vpn
items:
{{- if .Values.addons.vpn.configFile }}
- key: vpnConfigfile
path: vpnConfigfile
{{- end }}
{{- if .Values.addons.vpn.scripts.up }}
- key: up.sh
path: up.sh
mode: 0777
{{- end }}
{{- if .Values.addons.vpn.scripts.down }}
- key: down.sh
path: down.sh
mode: 0777
{{- end }}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,36 @@
{{/*
Template to render VPN addon
It will include / inject the required templates based on the given values.
*/}}
{{- define "common.addon.vpn" -}}
{{- if .Values.addons.vpn.enabled -}}
{{- if eq "openvpn" .Values.addons.vpn.type -}}
{{- include "common.addon.openvpn" . }}
{{- end -}}
{{- if eq "wireguard" .Values.addons.vpn.type -}}
{{- include "common.addon.wireguard" . }}
{{- end -}}
{{/* Include the configmap if not empty */}}
{{- $configmap := include "common.addon.vpn.configmap" . -}}
{{- if $configmap -}}
{{- print "---" | nindent 0 -}}
{{- $configmap | nindent 0 -}}
{{- end -}}
{{/* Append the vpn config volume to the additionalVolumes */}}
{{- $volume := include "common.addon.vpn.volume" . | fromYaml -}}
{{- if $volume -}}
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
{{- $_ := set .Values "additionalVolumes" $additionalVolumes -}}
{{- end -}}
{{/* Include the networkpolicy if not empty */}}
{{- $networkpolicy := include "common.addon.vpn.networkpolicy" . -}}
{{- if $networkpolicy -}}
{{- print "---" | nindent 0 -}}
{{- $networkpolicy | nindent 0 -}}
{{- end -}}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,19 @@
{{/*
Template to render OpenVPN addon. It will add the container to the list of additionalContainers
and add a credentials secret if speciffied.
*/}}
{{- define "common.addon.openvpn" -}}
{{/* Append the openVPN container to the additionalContainers */}}
{{- $container := include "common.addon.openvpn.container" . | fromYaml -}}
{{- if $container -}}
{{- $additionalContainers := append .Values.additionalContainers $container -}}
{{- $_ := set .Values "additionalContainers" $additionalContainers -}}
{{- end -}}
{{/* Include the secret if not empty */}}
{{- $secret := include "common.addon.openvpn.secret" . -}}
{{- if $secret -}}
{{- print "---" | nindent 0 -}}
{{- $secret | nindent 0 -}}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,61 @@
{{/*
The OpenVPN sidecar container to be inserted.
*/}}
{{- define "common.addon.openvpn.container" -}}
name: openvpn
image: "{{ .Values.addons.vpn.openvpn.image.repository }}:{{ .Values.addons.vpn.openvpn.image.tag }}"
imagePullPolicy: {{ .Values.addons.vpn.openvpn.pullPolicy }}
{{- with .Values.addons.vpn.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.addons.vpn.env }}
env:
{{- range $k, $v := . }}
- name: {{ $k }}
value: {{ $v | quote }}
{{- end }}
{{- end }}
{{- if or .Values.addons.vpn.openvpn.auth .Values.addons.vpn.openvpn.authSecret }}
envFrom:
- secretRef:
{{- if .Values.addons.vpn.openvpn.authSecret }}
name: {{ .Values.addons.vpn.openvpn.authSecret }}
{{- else }}
name: {{ include "common.names.fullname" . }}-openvpn
{{- end }}
{{- end }}
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down .Values.addons.vpn.additionalVolumeMounts .Values.persistence.shared.enabled }}
volumeMounts:
{{- if .Values.addons.vpn.configFile }}
- name: vpnconfig
mountPath: /vpn/vpn.conf
subPath: vpnConfigfile
{{- end }}
{{- if .Values.addons.vpn.scripts.up }}
- name: vpnconfig
mountPath: /vpn/up.sh
subPath: up.sh
{{- end }}
{{- if .Values.addons.vpn.scripts.down }}
- name: vpnconfig
mountPath: /vpn/down.sh
subPath: down.sh
{{- end }}
{{- if .Values.persistence.shared.enabled }}
- mountPath: {{ .Values.persistence.shared.mountPath }}
name: shared
{{- end }}
{{- with .Values.addons.vpn.additionalVolumeMounts }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- with .Values.addons.vpn.livenessProbe }}
livenessProbe:
{{- toYaml . | nindent 2 }}
{{- end -}}
{{- with .Values.addons.vpn.resources }}
resources:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end -}}

View File

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

View File

@@ -0,0 +1,12 @@
{{/*
Template to render Wireguard addon. It will add the container to the list of additionalContainers.
*/}}
*/}}
{{- define "common.addon.wireguard" -}}
{{/* Append the Wireguard container to the additionalContainers */}}
{{- $container := fromYaml (include "common.addon.wireguard.container" .) -}}
{{- if $container -}}
{{- $additionalContainers := append .Values.additionalContainers $container -}}
{{- $_ := set .Values "additionalContainers" $additionalContainers -}}
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,52 @@
{{/*
The Wireguard sidecar container to be inserted.
*/}}
{{- define "common.addon.wireguard.container" -}}
name: wireguard
image: "{{ .Values.addons.vpn.wireguard.image.repository }}:{{ .Values.addons.vpn.wireguard.image.tag }}"
imagePullPolicy: {{ .Values.addons.vpn.wireguard.pullPolicy }}
{{- with .Values.addons.vpn.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.addons.vpn.env }}
env:
{{- range $k, $v := . }}
- name: {{ $k }}
value: {{ $v | quote }}
{{- end }}
{{- end }}
{{- if or .Values.addons.vpn.configFile .Values.addons.vpn.scripts.up .Values.addons.vpn.scripts.down .Values.addons.vpn.additionalVolumeMounts .Values.persistence.shared.enabled }}
volumeMounts:
{{- if .Values.addons.vpn.configFile }}
- name: vpnconfig
mountPath: /etc/wireguard/wg0.conf
subPath: vpnConfigfile
{{- end }}
{{- if .Values.addons.vpn.scripts.up }}
- name: vpnconfig
mountPath: /config/up.sh
subPath: up.sh
{{- end }}
{{- if .Values.addons.vpn.scripts.down }}
- name: vpnconfig
mountPath: /config/down.sh
subPath: down.sh
{{- end }}
{{- if .Values.persistence.shared.enabled }}
- mountPath: {{ .Values.persistence.shared.mountPath }}
name: shared
{{- end }}
{{- with .Values.addons.vpn.additionalVolumeMounts }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- with .Values.addons.vpn.livenessProbe }}
livenessProbe:
{{- toYaml . | nindent 2 }}
{{- end -}}
{{- with .Values.addons.vpn.resources }}
resources:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end -}}

View File

@@ -0,0 +1,66 @@
{{/*
This template serves as a blueprint for all Ingress objects that are created
within the common library.
*/}}
{{- define "common.classes.ingress" -}}
{{- $ingressName := include "common.names.fullname" . -}}
{{- $values := .Values.ingress -}}
{{- if hasKey . "ObjectValues" -}}
{{- with .ObjectValues.ingress -}}
{{- $values = . -}}
{{- end -}}
{{ end -}}
{{- if hasKey $values "nameSuffix" -}}
{{- $ingressName = printf "%v-%v" $ingressName $values.nameSuffix -}}
{{ end -}}
{{- $svcName := $values.serviceName | default (include "common.names.fullname" .) -}}
{{- $svcPort := $values.servicePort | default $.Values.service.port.port -}}
apiVersion: {{ include "common.capabilities.ingress.apiVersion" . }}
kind: Ingress
metadata:
name: {{ $ingressName }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with $values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if eq (include "common.capabilities.ingress.apiVersion" $) "networking.k8s.io/v1" }}
{{- if $values.ingressClassName }}
ingressClassName: {{ $values.ingressClassName }}
{{- end }}
{{- end }}
{{- if $values.tls }}
tls:
{{- range $values.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range $values.hosts }}
- host: {{ .host | quote }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if eq (include "common.capabilities.ingress.apiVersion" $) "networking.k8s.io/v1" }}
pathType: Prefix
{{- end }}
backend:
{{- if eq (include "common.capabilities.ingress.apiVersion" $) "networking.k8s.io/v1" }}
service:
name: {{ $svcName }}
port:
number: {{ $svcPort }}
{{- else }}
serviceName: {{ $svcName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,40 @@
{{/*
This template serves as a blueprint for all PersistentVolumeClaim objects that are created
within the common library.
*/}}
{{- define "common.classes.pvc" -}}
{{- $values := .Values.persistence -}}
{{- if hasKey . "ObjectValues" -}}
{{- with .ObjectValues.persistence -}}
{{- $values = . -}}
{{- end -}}
{{ end -}}
{{- $pvcName := include "common.names.fullname" . -}}
{{- if hasKey $values "nameSuffix" -}}
{{- $pvcName = printf "%v-%v" $pvcName $values.nameSuffix -}}
{{ end -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ $pvcName }}
{{- if or $values.skipuninstall $values.annotations }}
annotations:
{{- if $values.skipuninstall }}
"helm.sh/resource-policy": keep
{{- end }}
{{- with $values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
labels:
{{- include "common.labels" . | nindent 4 }}
spec:
accessModes:
- {{ required (printf "accessMode is required for PVC %v" $pvcName) $values.accessMode | quote }}
resources:
requests:
storage: {{ required (printf "size is required for PVC %v" $pvcName) $values.size | quote }}
{{- if $values.storageClass }}
storageClassName: {{ if (eq "-" $values.storageClass) }}""{{- else }}{{ $values.storageClass | quote }}{{- end }}
{{- end }}
{{- end -}}

View File

@@ -0,0 +1,68 @@
{{/*
This template serves as a blueprint for all Service objects that are created
within the common library.
*/}}
{{- define "common.classes.service" -}}
{{- $values := .Values.service -}}
{{- if hasKey . "ObjectValues" -}}
{{- with .ObjectValues.service -}}
{{- $values = . -}}
{{- end -}}
{{ end -}}
{{- $serviceName := include "common.names.fullname" . -}}
{{- if hasKey $values "nameSuffix" -}}
{{- $serviceName = printf "%v-%v" $serviceName $values.nameSuffix -}}
{{ end -}}
{{- $svcType := $values.type | default "" -}}
apiVersion: v1
kind: Service
metadata:
name: {{ $serviceName }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- if $values.labels }}
{{ toYaml $values.labels | nindent 4 }}
{{- end }}
{{- with $values.annotations }}
annotations:
{{ toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if (or (eq $svcType "ClusterIP") (empty $svcType)) }}
type: ClusterIP
{{- if $values.clusterIP }}
clusterIP: {{ $values.clusterIP }}
{{end}}
{{- else if eq $svcType "LoadBalancer" }}
type: {{ $svcType }}
{{- if $values.loadBalancerIP }}
loadBalancerIP: {{ $values.loadBalancerIP }}
{{- end }}
{{- if $values.externalTrafficPolicy }}
externalTrafficPolicy: {{ $values.externalTrafficPolicy }}
{{- end }}
{{- if $values.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{ toYaml $values.loadBalancerSourceRanges | nindent 4 }}
{{- end -}}
{{- else }}
type: {{ $svcType }}
{{- end }}
{{- if $values.sessionAffinity }}
sessionAffinity: {{ $values.sessionAffinity }}
{{- if $values.sessionAffinityConfig }}
sessionAffinityConfig:
{{ toYaml $values.sessionAffinityConfig | nindent 4 }}
{{- end -}}
{{- end }}
{{- with $values.externalIPs }}
externalIPs:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if $values.publishNotReadyAddresses }}
publishNotReadyAddresses: {{ $values.publishNotReadyAddresses }}
{{- end }}
{{- include "common.classes.service.ports" (dict "svcType" $svcType "values" $values ) | trim | nindent 2 }}
selector:
{{- include "common.labels.selectorLabels" . | nindent 4 }}
{{- end }}

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