Commit graph

20 commits

Author SHA1 Message Date
49dd95f78e WIP Refactoring ingress
Move Cert generation to ingress as well.
Need to specify name for each http, https, cert resource.
Update tests and ingress definitions.
2022-10-14 16:41:25 +02:00
8989679d57 wip 2022-10-14 15:13:15 +02:00
7cecbacf63 [Skip-ci] WIP Refactor 2022-10-14 14:31:52 +02:00
616d61c2a9 [skip-ci] wip 2022-10-14 14:09:40 +02:00
8fc6f329c0 Simplify spec
Refactor uname -> unique-name.
Unit-tests for spec.
2022-10-14 13:41:21 +02:00
a15b7b0d6f Adjusted Tests
Also fixed smaller issues in website.cljc.
Better division of generate-common-*, now these functions
may reside in c4k-common and generate standing ingresses/certs
with only service and fqdn inputs (which need to be set anyways).

Also moved predicates and specs to website.cljc.
2022-10-13 16:39:55 +02:00
d9e22a26ed [Skip-CI] WIP Working config generation
c4k-website now generates multiple configs depending on the number
of list items in :websites and :auth lists.
2022-10-12 15:54:55 +02:00
31f490e286 [Skip-CI] WIP Working Yaml Generation 2022-10-12 13:42:44 +02:00
679530dbc7 Add functionality for multiple fqdns 2022-09-30 17:54:26 +02:00
03d4f4f7ca Remove storage logic 2022-09-30 10:14:10 +02:00
b5614681d9 Fix test.cljs
Turns out, the cljs version creates newlines at the end of a string.
This was not considered in the test and thus resulted in failure.
2022-09-29 13:59:19 +02:00
df3e099fab Update tests 2022-09-28 15:57:09 +02:00
46f0c72c3e [Skip-Ci] Update Docker image, cron job, tests
It seems, timeout sends signals that do not stop the server process.
Set the signal to SIGKILL - which also kills the function.sh process.
Thus moved the last function to entrypoint.sh
2022-09-28 14:32:41 +02:00
bcad22b067 [Skip-Ci] Refactoring 2022-09-28 10:26:50 +02:00
6708fae81c [Skip-CIi] Add tests 2022-09-27 15:45:13 +02:00
a21c2a4957 Updated Test 2022-09-23 10:33:42 +02:00
bca85d1da4 Add tests
Fix configmap generation.
2022-09-21 15:55:42 +02:00
f0a69e7fda WIP nginx config generation
Also make non essential paths generic.
Less need to fiddle in config map strings.
2022-09-21 14:40:34 +02:00
7e006a4780 [skip-ci] Rename folders to c4k-website 2022-09-09 11:19:25 +02:00
1252a4b491 Project skeleton 2022-09-08 15:04:17 +02:00