Commit Graph

75 Commits

Author SHA1 Message Date
Stavros Kois c68633145e
fix(common): add default dbindex for redis (#1563) 2021-12-18 23:37:12 +01:00
Stavros Kois 0755c729ab
fix(common): fix redis port (#1561) 2021-12-18 22:36:23 +01:00
kjeld Schouten-Lebbing 2bb0f2aa5d
fix(common): support some different jdbc url's for mariadb injector 2021-12-12 01:28:29 +01:00
Kjeld Schouten-Lebbing daee087f81
fix(common): always force a rename and recreate of cert-secrets on update (#1422)
* fix(common): always force a rename and recreate of cert-secrets on update

* hmm

* adapt tests
2021-11-30 00:49:16 +01:00
kjeld Schouten-Lebbing 636091af65
fix(common): patch common mariadb linker 2021-11-28 15:08:37 +01:00
Kjeld Schouten-Lebbing 342f88afbf
fix(common): ensure storageClassName gets rendered correctly (#1385)
* fix(common): ensure storageClassName gets rendered correctly

* Add a canary test to common

* remove canary for now
2021-11-23 11:21:13 +01:00
Kjeld Schouten-Lebbing 14374f5630
feat(common): Implement some simplifications from Bitnami (#1378)
* fix(common): add bitnami translation layer for images and labels

* port bitnami storage and tpl handling

* hmm

* add affinity-handling, warnings and fix issues

* bump feature

* hmm

* slight alterations

* add some more tests

* fix small mistake

* fixing a minor bug
2021-11-22 17:12:06 +01:00
Kjeld Schouten-Lebbing f718d002da
fix(common): correct some mistakes in configMap handling in common (#1369)
* add test for configmap

* fix runtests and mistakes in configmap handling

* bump

* hmmm

* small fix
2021-11-21 20:20:24 +01:00
Kjeld Schouten-Lebbing 3378258a3b
feat(common): add configmap and secret persistence objects (#1368)
* feat(common): add configmap and secret persistence objects

* also port configmap layer

* add values.yaml for integrated configmap
2021-11-21 18:45:03 +01:00
kjeld Schouten-Lebbing 408e562e4b
feat(common): add mariadb support layer 2021-11-15 17:52:37 +01:00
Kjeld Schouten-Lebbing f76ba0ae92
feat(Redis): add redis App (#1309)
* feat(Redis): add redis App

* Fixup questions.yaml for redis and add common injector

* fix lint
2021-11-12 18:28:36 +01:00
kjeld Schouten-Lebbing 7e08a5f591
feat(postgresql): also set and remember postgresql root password 2021-11-08 17:40:48 +01:00
Kjeld Schouten-Lebbing 610bff68ec
Chore(Apps): Simplify GUI for deployment, persistence and securityContext (#1289)
* update deployment settings

* hide securityContext by default

* replace bottom persistence section with include

* temporaryly remove hostPathType

* Cleanup basic persistence settings

* Allow simplePVC to also be used for volumeClaimTemplates
2021-11-06 21:41:31 +01:00
Kjeld Schouten-Lebbing 32c6f11de4
chore(common): add additional aliasses for simple hostpath persistence (#1287)
* chore(common): add additional aliasses for simple hostpath persistence

* hmm

* mountpath, dont use null

* use correct type

* whoops

* bump testrc2
2021-11-06 18:56:41 +01:00
Kjeld Schouten-Lebbing b832ea9c80
feat(common): introduce simplePVC and simplyHP aliasses for persistence types (#1286)
* feat(common): introduce simplePVC and simplyHP aliasses for persistence types

* correct a mistake

* more fixes
2021-11-06 16:38:54 +01:00
Kjeld Schouten-Lebbing 6a54105c7a
feat(common): Add simple servicetype as a LoadBalancer Alias (#1284)
* feat(common): Add simple servicetype as a LoadBalancer Alias

* add serviceList UI tweak

* Fix typo

* bump

* move servicetype selection code to include

* Clearly flag NodePort and LoadBalancer as advanced

As NodePort does require advanced settings to be checked now
2021-11-06 11:29:34 +01:00
Kjeld Schouten-Lebbing 5c11bc8fb0
fix(Postgresql): use correct PVC storageClass when using postgresql as a dependency on SCALE (#1212)
* fix db persistence

* Add global isSCALE flag to every questions.yaml file

* bump common
2021-10-20 19:39:05 +02:00
Kjeld Schouten-Lebbing 834479f0db
security(Apps): Improve Snyk hardening advisory (#1208)
* Harden postgresql by removing the migration initcontainer

* Harden initcontainers

* Harden serviceaccounts and RBAC

* hmm

* fix
2021-10-20 13:45:00 +02:00
kjeld Schouten-Lebbing b98f8ded87
fix(common): Copy ixChartContext.storageClassName to child charts 2021-10-18 20:24:26 +02:00
Kjeld Schouten-Lebbing f9c3530e36
fix(common): Just provide warning when chmod fails on autopermissions (#1157)
* fix(common): Just provide warning when chmod fails on autopermissions due to nfsv4acl's

* single comma

* tests

* whoop

* zucht
2021-10-17 16:53:46 +02:00
kjeld Schouten-Lebbing 12cd5352c0
chore(common): add varlog storage and streamline db urls again 2021-10-15 18:38:21 +02:00
kjeld Schouten-Lebbing d44637edbe
add jdbc type postgres url support to common 2021-10-15 17:19:06 +02:00
Kjeld Schouten-Lebbing eaf70889a2
feat(common): simplify postgresql url generator (#1146) 2021-10-15 13:42:20 +02:00
kjeld Schouten-Lebbing 0e44b3bd97
(fix) add Nextcloud's prefered database url to common 2021-10-10 00:32:53 +02:00
kjeld Schouten-Lebbing fbb340e2d0
(chore) restructure common setup templates 2021-10-09 23:43:48 +02:00
Kjeld Schouten-Lebbing 2679fc1108
(feat) move postgresql init and password-generator to common (#1113)
* Move Postgresql initcontainer to common

* bump common

* Handle postgres password generation in common and inject into values.yaml for use in Apps

* (refactor) adapt apps using postgresql to common init and password generator

* no message
2021-10-09 19:24:45 +02:00
Kjeld Schouten-Lebbing 308ba8accf
(feat) Dynamically set PGID, GID and GROUP_ID (#1091)
* base PGID on fsGroup

* also remove PGID from questions.yaml

* remove mistake

* small fix

* fix first test

* fix linting

* always set PUID to 568

* use quotes for env vars (obviously)
2021-10-04 12:31:56 +02:00
Kjeld Schouten-Lebbing f3c62cd686
remove crooked test (+1 squashed commits) (#1087)
Squashed commits:

[a5217867f] (fix) ensure that ports are valid before trying to use them for setting the capability
2021-10-03 16:29:41 +02:00
Kjeld Schouten-Lebbing 0c3e9d2baa
(feat) automaticly set NET_BIND_SERVICE based on (target)port in services (#1085) 2021-10-03 15:17:55 +02:00
kjeld Schouten-Lebbing 3dd449cc8e
(fix) correct autopermissions indent error in common 2021-09-26 22:37:15 +02:00
kjeld Schouten-Lebbing 842cf0a65f
(chore) also use s6 readonlyroot mitigation when running asNonRoot 2021-09-26 11:20:08 +02:00
Kjeld Schouten-Lebbing d9dffc7952
fix common test mistake (#1031)
* fix common test mistake

* configfile.enabled

* VPN auto permissions fix

* trigger common-test install

* more thorough fix

* fix test to use sonarr instead of homerr

* use a super simple container

* try tweaking a bit to allow run as nonroot

* try fixing tests

* fix tests... again...

* fix... AGAIN...
2021-09-25 19:23:43 +02:00
Kjeld Schouten-Lebbing 37963de155
Add ReadOnlyRoot mitigation for S6 overlay (#1030)
* Add ReadOnlyRoot mitigation for S6 overlay

* try to fix some tests
2021-09-25 15:11:51 +02:00
Kjeld Schouten-Lebbing 2db56c1e42
Fix remaining VPN addon issues (#1029)
* Fix remaining VPN addon issues

* fix minor common-test issue
2021-09-25 14:40:14 +02:00
Kjeld Schouten-Lebbing 0fb8f8bb90
fix: make sure autopermissions sets the group owner correctly (#994)
* fix: make sure autopermissions sets the group owner correctly

* add test fix
2021-09-14 23:59:19 +02:00
Kjeld Schouten-Lebbing a6037c62fa
fix: ensure annotationLists and labelLists don't get processed for disabled objects (#971) 2021-09-12 20:28:22 +02:00
Kjeld Schouten-Lebbing b660bbf457
improv: improve dns and vpn values.yaml syntaxis (#970)
* improv: improve dns and vpn values.yaml syntaxis

* hmm

* fix tests

* no message
2021-09-12 17:39:01 +02:00
kjeld Schouten-Lebbing 3b8005b04e
fix: remove duplicate securitycontext from autopermissions 2021-09-11 12:08:06 +02:00
Kjeld Schouten-Lebbing 00e9bd819f
refactor: change image layout to enable renovate updates of sidecarts (#955)
* some cleanup for common (+6 squashed commit)

Squashed commit:

[43a501de8] bump sogo

[62c009b63] some tryouts

[6840fafdb] try to fix rendering of new format

[003d3c81b] move seperate apps to new format and fix mistake in common

[752ae2c68] more work on the image refactor

[edfc28533] refactor common images

* sogo scale differently

* slight release build fix

* fix issues with release script and multiple tags
2021-09-10 16:57:08 +02:00
Kjeld Schouten-Lebbing 982297ec17
fix: move runAsNonRoot to container securityContext to allow root sidecarts (#954)
* fix: move runAsNonRoot to container securityContext to prevent sidecarts from being affected

* also bump some versions...

* also override some of the problematic settings in common.yaml

* whoops
2021-09-10 15:26:10 +02:00
Kjeld Schouten-Lebbing e0e0a4a2f2
refactor: Restructure common init and additional container layout to dicts (#950)
* refactor: Restructure common init and additional container layout to dicts

BREAKING CHANGE
2021-09-09 21:48:43 +02:00
Kjeld Schouten-Lebbing cc1cde7fdc
fix: ensure supplementalgroups when using devices are actually added (#942) 2021-09-09 14:20:26 +02:00
Kjeld Schouten-Lebbing 0aa2131b28
helm test revert (+1 squashed commits) (#931)
Squashed commits:

[36ca93235] actually finish echo command (+8 squashed commit)

Squashed commit:

[27c3e9d63] fix typo

[8daa4395e] use name not a derivitive

[d8a24b1d8] force a testrun

[edacc59e4] give more perms

[9706a9860] bump

[09f9d9f4e] Code thining on common

[8adfddf2b] try moving autopermissions to initcontainer

[42c7f76a4] fix: have autopermissions use command instead of arg
2021-09-08 22:14:04 +02:00
Kjeld Schouten-Lebbing 29615ca832
Add labels to more common objects and add names.fqdn (#884)
* Add labels to more common objects and add names.fqdn

* whoops copy pasta mistake
2021-09-02 14:41:22 +02:00
kjeld Schouten-Lebbing 522267d028
Fix portsList issues on common 2021-08-30 13:37:37 +02:00
Kjeld Schouten-Lebbing f5055b1410
More prototypeGui work (#849)
* allow additional Ingress

* Add serviceList and portsList to common

* add portslist GUI

* add additional services GUI

* bump

* Add custom-app App

* use the custom service app as a canary for Common mistakes

* fix typo in custom-app
2021-08-30 12:56:36 +02:00
Kjeld Schouten-Lebbing 25a98b4d69
add labels and annotations to questions.yaml and revert oopsie (+13 squashed commit) (#843)
Squashed commit:

[5ffcf238] Allow more lists

[d185c0ed] Test annotationsList on persistence

[6d8afee1] Allow setting ingressclass on ingress

[a9dccd41] fix again

[4a54beb8] fix broken servicetest again

[62e85336] Fix mistake

[e45db47b] remove services annotation test due to random annotations, fix new PVC tests

[745a11bd] Add podAnnotationsList, podLabelsList, controllerAnnotationsList and controller:abelsList,

[5d075f33] Add PVC test for labels and retain

[43b64ddc] Fix PVC error

[229143ed] Update common

[d551d80f] add gracePeriodSeconds

[350e6885] Add HPA GUI
2021-08-30 00:28:24 +02:00
kjeld Schouten-Lebbing 17921206df
patch common again 2021-08-27 17:09:34 +02:00
kjeld Schouten-Lebbing aea019435c
another common bugfix 2021-08-27 16:41:24 +02:00
kjeld Schouten-Lebbing 2b109ea7e0
fix common indentation bug 2021-08-27 15:29:47 +02:00