Commit Graph

88 Commits

Author SHA1 Message Date
Stavros Kois
730a7bcaaf NAS-121410 / 23.10 / Avoid having the same key defined twice (#1106)
* Avoid having the same key defined twice

* Use correct variable names

* quote strings in questions

* test run without upgrade

* revert
2023-04-11 18:24:30 +03:00
bugclerk
12f2e5283f Upgraded catalog item(s) (#1107)
* Upgraded catalog item(s)

        This commit upgrades plex, nextcloud, minio catalog item(s).

* undo 2 apps

---------

Co-authored-by: sonicaj <waqarsonic1@gmail.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-04-11 15:27:14 +03:00
Stavros Kois
b15b4e7550 NAS-121233 / 23.10 / fix(pihole): hostnetwork toggle not showing and dhcp (#1060)
* fix(pihole): hostnetwork toggle not showing and dhcp

* bump version

* add note

* set appropriate dnsPolicy with hostNet
2023-04-10 19:16:59 +03:00
Stavros Kois
04dc6d5237 Move sonarr/radarr to correct train (#1101) 2023-04-10 18:54:09 +03:00
bugclerk
f640509cf9 Upgraded catalog item(s) (#1098)
* Upgraded catalog item(s)

        This commit upgrades home-assistant, nextcloud, minio catalog item(s).

* Apply suggestions from code review

---------

Co-authored-by: sonicaj <waqarsonic1@gmail.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-04-10 18:26:37 +03:00
Stavros Kois
7e3935165a NAS-121385 / 23.10 / fix dns on hostnet for home-assistant (#1081)
* fix dns on hostnet for home-assistant

* bump

* wrong bump on tag
2023-04-07 20:50:01 +03:00
Stavros Kois
692992f263 Adds radarr to charts train (#1089) 2023-04-07 20:43:23 +03:00
Stavros Kois
51bd4c08d0 NAS-121366 / 23.10 / Adds sonarr to charts train (#1082)
* Adds sonarr to charts train

* Update readme

* fix icon

* Add descriptions
2023-04-07 20:42:07 +03:00
Stavros Kois
dc2355166c Adds descriptions on storage types (#1085) 2023-04-07 20:25:11 +03:00
bugclerk
c2bc03e220 Upgraded catalog item(s) (#1088)
* Upgraded catalog item(s)

        This commit upgrades home-assistant, nextcloud catalog item(s).

* undo nextcloud

---------

Co-authored-by: sonicaj <waqarsonic1@gmail.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-04-07 09:15:02 +03:00
Stavros Kois
d177992b91 NAS-121368 (Minio)Add a default storage item and description on storage type (#1084)
* NAS-121368 Adds validation and a default storage item on MinIO

* add description on enum as well
2023-04-06 19:11:11 +03:00
Stavros Kois
193fc134db fix typo in update_strategy (#1083) 2023-04-06 15:47:46 +03:00
bugclerk
eccbcf03cc Upgraded catalog item(s) (#1080)
* Upgraded catalog item(s)

        This commit upgrades syncthing, home-assistant, nextcloud, minio, vaultwarden, ipfs catalog item(s).

* don't update NC

* bump common

* fix vw versioning

* Update library/ix-dev/community/vaultwarden/upgrade_strategy

---------

Co-authored-by: sonicaj <waqarsonic1@gmail.com>
Co-authored-by: Stavros kois <s.kois@outlook.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-04-06 15:42:57 +03:00
Stavros Kois
3a6e29ae9e NAS-120452 / 23.10 / Add MinIO Enterprise (#1002)
* Add minio to enterprise train

* Adjust hostnetwork based on multimode configuration

* add update strategy and explicitly set permissions at install time

* minor typo

* use new common

* bump common

* Add upgrade info json

* make immutable the run context and check backup permissions before chowning

* spacing
2023-04-05 17:57:03 +03:00
Stavros Kois
30be52a860 Make init container for permissions more flexible and apply to qbit (#1077)
* Make init container for permissions more flexible and apply to qbit

* remove qbittorrent from `charts`

* Add upgrade_info to qbit

* fix paths
2023-04-04 17:35:58 +03:00
Stavros Kois
fccf8800ab NAS-120567 / None / Add qBittorrent Community App (#1012)
* Add qbittorrent to community train

* add item.yaml

* dummy commit

* Add update strategy and update readme(s)

* update common

* switch to differnt permission logic
2023-04-04 09:52:41 +03:00
Stavros Kois
846a6a02c4 NAS-121156 / 23.10 / Add vaultwarden to community train (#1055)
* Add vaultwarden to community train

* add variable only when set

* Update library/ix-dev/community/vaultwarden/values.yaml

* Update library/ix-dev/community/vaultwarden/values.yaml

* add NET_BIND_SERVICE

* minor typo

* use the new common

* Update common

* add upgrade_info.json

* remove the capability, and bump to fixed version
2023-04-04 09:52:19 +03:00
Stavros Kois
e0dd979524 Update IPFS description in resources category (#1062) 2023-04-03 19:17:42 +03:00
Stavros Kois
dc5ae91a7f NAS-121263 / 23.10 / Common: Fix pre-upgrade postgresBackup job and adds a template for postgres-wait (#1071)
* Fix pre-upgrade postgresBackup job and adds a template for postgres-wait

* reduce terminationGracePeriod to the j8s default.
2023-04-03 17:50:11 +03:00
bugclerk
f82e63c332 Upgraded catalog item(s) (#1069)
* Upgraded catalog item(s)

        This commit upgrades home-assistant, plex, nextcloud, chia, ipfs catalog item(s).

* fix NC version

* manually indent for now

---------

Co-authored-by: sonicaj <waqarsonic1@gmail.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-03-30 16:02:48 +03:00
sonicaj
a47916e704 Add upgrade info file for apps in community train 2023-03-29 12:45:15 +05:00
sonicaj
d959f58c17 Update upgrade info for apps in charts train 2023-03-29 12:42:33 +05:00
Stavros Kois
cb8bea12bd Use a noauth endpoint for syncthing probe (#1057) 2023-03-27 00:46:23 +03:00
Stavros Kois
8daa01d53c Use tcpSocket probe for plex, as we determine if plex is setup to use HTTPS or HTTP (#1059) 2023-03-27 00:05:00 +03:00
Stavros Kois
1f82a2fd28 Move storj to ix-dev (#1052) 2023-03-24 23:39:12 +02:00
Stavros Kois
d84310fbe4 Move Diskover to ix-dev (#1051) 2023-03-24 23:32:23 +02:00
Stavros Kois
91261f378f Move nextcloud to ix-dev (#1050)
* move nextcloud to ix-dev

* fix probe and update lock

* indent
2023-03-24 23:27:53 +02:00
Stavros Kois
11d1506ccc Move Pihole to ix-dev and fix DHCP/DNS (#1049)
* move pihole to ix-dev

* always use the web_port for webUI

* Apply fixes for DHCP/DNS + hostnetwork

* Don't attempt to generate service at all on hostnet

* clean url
2023-03-24 23:24:51 +02:00
Stavros Kois
db042e7203 Move photoprism ix dev (#1047)
* move photoprism to ix-dev

* update lock

* whitespace

* indent lists
2023-03-24 23:23:55 +02:00
Stavros Kois
9e30dfc5cd Move wg easy ix dev (#1045)
* move wg-easy to ix-dev

* fix path, bump and update lock

* kubeVer

* indent lists
2023-03-24 23:22:59 +02:00
Stavros Kois
61d8b887e4 Move syncthing ix dev (#1046)
* move syncthing to ix-dev

* update lock

* fix port

* indent lists
2023-03-24 23:22:18 +02:00
Stavros Kois
44d2241a0d Move emby to ix-dev (#1043)
* move emby to ix-dev

* update lock

* indent lists
2023-03-24 23:21:30 +02:00
Stavros Kois
302f349f5f Move plex to ix-dev (#1042)
* move plex to ixdev

* update ci paths

* update lock file

* use the builtin http probe

* indent lists
2023-03-24 23:20:22 +02:00
Stavros Kois
42e9f00700 Move collabora to ix-dev (#1041)
* move collabora to ix-dev

* update probe

* remove images from test-values

* update images

* update chart.yaml

* one more

* bump version

* longer startup probe

* indent lists
2023-03-24 23:18:22 +02:00
Stavros Kois
d3f0e5f72f Move home-assistant to ix-dev (#1048)
* move home-assistant to ix-dev

* update lock

* switch to lookup

* indent lists
2023-03-21 19:58:25 +02:00
Stavros Kois
f0ed3053e8 Move netdata ixdev (#1044)
* move netadata to ix-dev

* fix path and update lock
2023-03-21 18:20:11 +02:00
Stavros Kois
010418b98c NAS-120628 / 23.10 / Add IPFS app to community train (#1023)
* Add ipfs to community train

* run chown before config and only once

* fix selector

* update readme(s)

* add update strategy
2023-03-20 18:00:15 +02:00
Stavros Kois
769da347f9 test bump (#1037) 2023-03-20 17:58:22 +02:00
Stavros Kois
275657f0c3 NAS-121031 / None / Add chia to community train (#1031)
* add chia to community train

* dummy commit

* add update_strategy
2023-03-20 17:34:29 +02:00
Stavros Kois
929e60d801 NAS-121003 / 23.10 / Adapt charts CI and improve/fix common (#1011)
* Adapt charts CI and improve/fix common

* add check on permissions contaienr

* add postgres template

* update comments

* Update create_app.sh

* add check

* update script

* auto gen item.yaml from Chart,yaml

* rename readme on dest

* duplicate readme from the same source

* correct comment

* reoder

* remove extra space

* keep both README and app-readme

* update regex, to also allow 2 letter names, which is also valid

* No need to check host network if there aren't any pod values

* use same pattern as the pod.name label (not prepending release-name

* update deps

* add chart dirs to ci

* Add a validation to check if there is any yaml errors after merging files

* update charts path on ci

* common/1.0.0/ -> common/

* update common-test dep path

* temp update create_app script

* make permissions container name configurable, incase we want to change order of execution

* update naming convention

* fix typo and a missed name change

* do not allow `--` in names
2023-03-16 17:36:19 +02:00
Stavros Kois
5b1abdd839 NAS-118930 / 23.10 / Improve/Refactor Common Library (#917)
* fix

* fix

* some more

* somefixs

* whops

* initial structure

* finish up configmap

* secret class

* runtest secret

* move files arround

* ignore

* make clear on call template that need root context

* imagePullSecret (minus targetSelector)

* move out of the way

* clean up comment

* deployment basic spec

* daemonset basic spec

* statefulset spec

* split file

* docs

* update values

* job spec

* job docs

* cronJob basic spec

* job in cron test

* add common version

* podsepc

* whoopsis

* selectorlabels and pod metadata

* job and cron pod metadata

* update docs

* consistent order

* get ready for pod

* first targetSelector

* remove todo

* update docs

* add hostnet and enableservicelinks

* update selector logic

* update docs

* add tests for restartpolicy

* schedulerName

* priorityclassname

* hostname

* termperiodsec

* nodeselector

* add fail case

* host aliases

* dns policy

* dns config

* tolerations

* serviceaccoutn class, spawner, saname selector

* add pod todo

* update some tests

* add runtimeclassname

* controllers -> workload and plurar to singular

* require at least 1 primary on enabled SAs

* fix script

* remove wrong comment

* update naming scheme

* update rbac values ref

* rbac docs

* rbac's

* append short name, for future use

* update comments

* initial service wireframe

* shorten line

* simplify labels and update tests

* service selectors

* simplify error messages

* finish clusterIP type

* loadbalancer

* noedport

* externalname

* external ip

* update service

* fix highlighting

* session affinity

* add comment

* update comments

* service ports

* fix indentation

* externalname can have no ports

* fixup externalIP

* add pvc class and spawner and tests

* add nfs and emptyDir vols

* example

* extend docs a bit

* not create pvc if existing claim is set

* helm... you are dumb really. how this fixes an unrelated test

* add configmap

* add secret vol

* add pvc vol

* add hostpath

* finish volumes

* initial podsec

* podsec context with some todo's to check

* automatic sysctls

* remove todo

* update doc struct

* split docs

* split service docs

* initial container plumbing

* fix tests

* fix test

* rename to class

* command and args

* termination

* add lifecycle

* int value from tpl

* another case

* fix service protocol tpl

* update readme

* ports

* update todo

* cleanup values a bit

* only add sysctl when port is bellow 1024

* whops, thats a different range

* update avlue

* move some old docs to the "to be deleted" dir

* externalinteface validation

* update an error message and apply externalinterface annotations to workloads

* external interfaces

* TZ - TIMEZONE

* update rdoc

* reduce code duple

* device vol type

* initial certificate plumbing

* update comments

* finish secret creation of certificate

* cert dosc

* volumeMounts

* scale certs

* doc

* add tests for volMounts

* values updates

* update todo

* add test case

* remove some todo

* update todos

* vct

* remove tdoo

* restore default

* rename function

* make selectorlabels a bit better

* trim

* some cleanup

* update some ci values

* update ci

* rollingup defaults

* rename dir

* fix nil pointers

* check the same strategy var

* whops

* fix tests

* typo

* not a good day for copy paste

* move check

* move another check

* fix some tests for upcoming probes

* one mroe

* split docs

* add default probes for `main` and docs

* add probes and some ci testruns

* whops

* fix an edge case

* add an error for edge case

* runtests

* runtest updaets

* update

* check if podvalues exist first

* force types

* force only one of the 2

* quote labels and annotaions values

* job/cron have auto gen selectors

* remove false test

* fix maxsureg

* fix end

* different fix

* fix some tests

* fix rollUp

* try to fix 3.9.4 helm

* move file to helpers

* use capital types in probes and lifecycle

* Revert "use capital types in probes and lifecycle"

This reverts commit 380ebd5f1f.

* typo

* use lowercase for protocol everywhere

* rbac runtest

* prune old

* add resources

* add resources

* fix rbc

* fix sa naming in pod

* fix test

* 44 suppl group on gpu

* remove todo

* extract function in another file

* whops

* add securityContext implementation

* add fail cases

* add rest of the tests

* remove todo

* envFrom

* minify

* env list

* add env

* add envdupe check tests

* add fixed envs

* replace containers with callers

* add callers

* add initContainer

* add init run test

* reset default test val

* add  name tests

* add some more tests

* rename

* validate workload type only if enabled

* lint fix for 3.9.4

* add tpl on init enabled

* whops

* fix init

* echo

* echo

* args...

* list

* comment out disabled persistences

* fix some typos and improve resources `requests` requirement

* improve docs a bit

* require name,description,version,type

* add some wording regarding what Helm Template column means

* add title as requirement

* remove scheduler

* remove priority class name

* remove nfs + externalIP

* remove LB

* remove STS & VCT

* fix a test

* remove nodeselector

* remove DS

* remove pvc

* remove todo

* conditionally print the type, as we might want to use the template to select all objects inthe chart

* add some docs

* docs for notes

* add `tls.` in the certificate secret, according to k8s docs

* add some basic docs around the rest of the options

* clean values.yaml

* catch an edge case

* remove externalName

* set autmountSA on SA to false

* add note about the automountSA
2023-02-20 15:23:33 +02:00
M. Rehan
d39c5bbb9c Add common method for defining cpu/memory/gpu limitations 2022-07-29 02:12:09 +05:00
M. Rehan
ffd44aac0c Remove unused library common charts 2022-07-28 03:46:22 +05:00
M. Rehan
dd2d22d165 Add resource limits for applications 2022-06-28 18:32:27 +05:00
M. Rehan
8b63e23625 Allow special paths for host path mounts 2022-06-22 16:47:58 +05:00
M. Rehan
e599e7ec1e Add host path validations for applications 2022-06-15 17:47:56 +05:00
M. Rehan
b39abe009b Update library 2021-12-06 21:23:47 +05:00
Waqar Ahmed
8236d93473 Don't scope dns values by referencing .values directly 2021-05-10 12:59:38 +05:00
Waqar Ahmed
8b338dcb7d Only set dnspolicy if explicitly specified 2021-05-10 12:49:28 +05:00
Waqar Ahmed
0e01406359 Bump library chart version 2021-05-10 12:45:40 +05:00