Commit Graph

38 Commits

Author SHA1 Message Date
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 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 81027079d0
fix(common): also allow for templating in service selector 2021-11-22 00:47:16 +01:00
Kjeld Schouten-Lebbing f0ff577857
feat(common): allow for custom selector labels on services. (#1374) 2021-11-22 00:34:59 +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 e2c09231d8
fix(common): correctly set defaults for volumeclaimtemplates and pvc's (#1334)
* fix(common): correctly set defaults for volumeclaimtemplates and pvc's

* polish

* more polish

* hmmm

* whoops

* hmm

* hmm

* again....

* different

* fixes
2021-11-15 19:30:09 +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 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 dde9cc9e24
feat(common): set SCALE-ZFS as a default storageClassName for SCALE when nothing is given. (#1169) 2021-10-18 19:59:05 +02:00
Kjeld Schouten-Lebbing 6b96a3662c
(feat) allow for the default middlewares to be disabled on ingress. (#1096)
* Edit common to allow for the default middlewares to be disabled on ingress.

* add it on all apps as an expert option

* fix hostPath mistake in tests while at it
2021-10-05 00:39:13 +02:00
Kjeld Schouten-Lebbing 88b1719d32
done (+42 squashed commit) (#1053)
Squashed commit:

[8058e6aba] 1 error left

[b0157b252] 2 errors

[7fa494907] 4 errors

[03139391e]  6 failures, 4 errors

[7f017ea23] 12 errors

[3e9ad758d] 0 failures, 13 errors

[e24a3cb3e] 3 failures, 13 errors

[6edcaa655] 4 failures 14 errors

[9623bda57] 6 failures, 13 errors

[04c35c995] 4 failed 22 errors

[5f5335c15] 9 failures

[9a33540e2] down to 20 failures

[0e7b73b49] remove old tests

[5cc6d11b7] fixup the resources

[8c508d45a] some more progress

[4acef3c3b] some more work

[85cdb5d06] some ports cleanup

[1987ac2ec] lint before unit

[6fa221789] enable unit tests

[c212b695d] other name

[b78594518] common test name fix

[ef6597e79] indent

[8cbcfb5e4] common test rename

[1ca838c16] seperate common tests

[ef052b022] create two seperate job for common testing

[67eb0e9b3] use devcontainer for release shizzle

[0c47c482b] make it a sudo

[4d8900b16] force install jq

[9660cdd47] try something else

[e2b611917] bump common to run tests (to fix them)

[277241bbf] only use the new devcontainer for the release tests for now...

[9c7b68e0f] Revert "remove setup chart testing action"

This reverts commit 6987914587a58ab5a52a05b836d60ef91f1619d5.

[444914311] Revert "use integrated k3d"

This reverts commit d9bcb2f35d154b0afe1eb851729c37789b6ba0ea. (+6 squashed commit)

Squashed commit:

[313446184] Revert "correct k3s version"

This reverts commit 81fa8a43c41c2449b7411e0d59a3c2bbe0aef1ea.

[41b4d4795] Revert "version name tryout"

This reverts commit bbb8dcead9f9426872390b8f89b1fd0e661534bb.

[b64df97a0] Revert "change version"

This reverts commit 8080395dc80e606769ad9790b35d35fac4d1d3ed.

[ed63220d4] Revert "use k3s kubectl"

This reverts commit ea81735d939e838ad595835ea09b54bff817dd83.

[6267a2908] Revert "use normal kubectl"

This reverts commit 216d3799111d47f65dd20dd85ccb8fbc586a9c2b.

[f48ddde73] Revert "try to set kubectl context"

This reverts commit a5e8a532c5620e0d9d4cb7a53a371ba200265612.

[a5e8a532c] try to set kubectl context

[216d37991] use normal kubectl

[ea81735d9] use k3s kubectl

[8080395dc] change version

[bbb8dcead] version name tryout

[81fa8a43c] correct k3s version

[d9bcb2f35] use integrated k3d

[698791458] remove setup chart testing action

[5bd7cf01d] bump common-test
2021-09-29 00:11:52 +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 353a4337fe
move default middleware location to default namespace (#890) 2021-09-04 11:07:09 +02:00
Kjeld Schouten-Lebbing 6831d56ee4
remove externalInterfaces + add RBAC and networkPolicy support (#882)
* remove externalInterfaces + add RBAC and networkPolicy support

* mistaken double end

* cleanup values a bit

* fix a small mistake

* That was the wrong mistake
2021-09-02 12:52:34 +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 1f8bfb956d
[common] Always rebuild service objects on update 2021-08-27 20:05:00 +02:00
Kjeld Schouten-Lebbing 579887ccf6
try to fix pre-install quoting errors (#819)
* try to fix pre-install quoting errors

* split command and args

* expected command

* sh-bash mistake

* some work on permissions and quoting

* fix test mistake

* another test mistake

* again
2021-08-26 21:20:31 +02:00
kjeld Schouten-Lebbing 77c53de558
Fix bug in common when using ExternalName 2021-08-23 22:10:44 +02:00
Kjeld Schouten-Lebbing 6a0106709e
only set group when setting permissions (#783)
* only set group when setting permissions

* fix test

* another test fix
2021-08-18 16:47:38 +02:00
Kjeld Schouten-Lebbing a29b3bcc75
Initial work on External services (#754)
* adapt services to allow ExternalIP and ExternalName type servces

* Also create endpoints for externalIP type services

* bump common version

* typo fix
2021-08-10 16:11:15 +02:00
Kjeld Schouten-Lebbing 7bae3fec0a
Update _portal.tpl (#744)
* Update _portal.tpl

* Update Chart.yaml
2021-08-09 19:41:25 +02:00
Kjeld Schouten-Lebbing 224efec466
Traefik fixes (#659)
* fix chain middleware for traefik

* try adding portal button fix to dynamically fetch traefik port

* try hook quote

* correctly quote namespace name

* common version bump
2021-07-05 18:13:44 +02:00
kjeld Schouten-Lebbing 5e066134b7
Default websecure entrypoint and default enable tls on websecure entrypoint 2021-06-30 17:19:32 +02:00
kjeld Schouten-Lebbing a8ea08cdec
patch middleware generation on common 2021-06-30 16:30:17 +02:00
Kjeld Schouten-Lebbing 85319fd8d9
patch common ingress service name bug (#625) 2021-06-30 15:31:48 +02:00
Kjeld Schouten-Lebbing 373c834d35
Add traefik middleware support (#601)
* add basic middleware chain to traefik

* Try some idea's for common ingress middleware support

* create middleware namespace as pre-install hook

* rename namespace file

* Add additional list with middlewares and tune the output a bit

* Add basic auth middleware spawner

* add forwardAuth support

* polish middleware names and add config examples

* initial go at traefik middleware GUI elements

* fix labels

* more missing labels
2021-06-30 12:56:17 +02:00
kjeld Schouten-Lebbing 70a7b582fd
ensure we can override the complete PVC name for things like DB's, without prefix or suffix 2021-06-11 12:36:24 +02:00
Kjeld Schouten-Lebbing 3ecc210d6b
Port recent KAH changes (#548)
* port 3.0.1 fixes from KAH

* more naming fixes ported from kah

* port all latest KAH fixes

* port new tests from KAH

* Polishing and fixes

* update common-test version
2021-06-10 23:52:55 +02:00
kjeld Schouten-Lebbing d7c9ae7fa6
fix wrong references for externalInterfaces 2021-05-29 13:15:53 +02:00
Kjeld Schouten-Lebbing 91c199f2ed
Fix hostPathMounts and add install test (#527)
* Fix hostPathMounts and add install test

* whoops fix
2021-05-28 23:06:40 +02:00
Kjeld Schouten-Lebbing 7f52e732c1
port external Interfaces from iXOfficial (#525)
* port external Interfaces from iXOfficial

* Fix, Clean and Polish
2021-05-28 01:22:40 +02:00
kjeld Schouten-Lebbing 7dc5fcacb1
more small common fixes 2021-05-25 00:53:35 +02:00
kjeld Schouten-Lebbing 2d94d7e10d
remove small mistake from common chart 2021-05-25 00:44:58 +02:00
Kjeld Schouten-Lebbing a837947884
Storage Tweaking and bugfixing (#506)
* first work for allowing ramdisk usage

* add bump tooling.
Fixes: #157

* bump minor versions due to adding ramdisk emptydir to persistence

* allow disabling persistent storage

* actually push major as it is breaking in theory

* cleanup hpm example code

* Allow custom storageClass and fix bug using the wrong storageClass

* try fixing gabs

* cleanup

* update tests

* revert some permission job changes

* reverse some of the 3.0 common incompatible bitwarden changes
2021-05-24 21:17:29 +02:00
kjeld Schouten-Lebbing 36fcfa18c4
Small common touchup 2021-05-19 22:08:21 +02:00
Kjeld Schouten-Lebbing d3033f71fb
port most recent changes from KAH (#478)
* port most recent changes from KAH

* add general shizzle

* add rests of go tests

* whoops

* hmm

* make pre-release wait more

* try another synthaxis

* okey...

* test-> tests

* Make unittests a bit more usefull
2021-05-19 20:51:35 +02:00
Kjeld Schouten-Lebbing 196d4d8327
Major Common cleanup + services overhaul (#448)
* Major Common cleanup + services overhaul

* add resources test and scaleGPU support

* implement cleaner ingress, remove externalService and remove ingressRoute

* cleanup service test whoopsies

* fix some more test errors

* Fix ingress tests

* oops

* redesign ixcert system for ingress

* test multiple ixcert-secrets support

* increate tests versioning

* add test for pvc name override
2021-05-10 14:13:17 +02:00
Kjeld Schouten-Lebbing ffc823bccc
Restructure repo to be a little cleaner (#445) 2021-05-09 18:11:00 +02:00