Commit graph

246 commits

Author SHA1 Message Date
4ee29ee950 Ignore helper script
Update tryOut.png
2022-11-08 16:30:39 +01:00
287d6d31c5 Add initial build job so websites get build early 2022-11-08 16:23:10 +01:00
Pat Dyn
c7a7581732 Merge branch 'yaml-ns-refactoring' into 'main'
Remove yaml/load-as-edn multimethod

See merge request domaindrivenarchitecture/c4k-website!1
2022-11-08 13:58:24 +00:00
1f24a6e62c Remove yaml/load-as-edn multimethod
* Also update deps
2022-11-08 14:50:16 +01:00
02074ef37d shadow-cljs/resource need literal string 2022-11-08 13:44:12 +01:00
ce00fc3058 Remove cert from nginx deployment
* Remove ToDo in HTTP ingress def
2022-11-04 12:01:58 +01:00
53de3ea31b [Skip-CI] Remove ToDo - open to suggestions
Recursion method seems reasonable readable to me.
2022-11-01 15:56:11 +01:00
f8c0b40788 Refactor ingress-test 2022-11-01 15:39:09 +01:00
75ef2572e3 Fix bug 2022-11-01 15:32:39 +01:00
911f0d5b27 Refactor app.kubernetes.part-of into resources 2022-11-01 15:11:16 +01:00
31f5e9980f [Skip-CI] Better cron expression 2022-11-01 14:21:59 +01:00
16189ee9c4 [Skip-Ci] Remove ToDo markers 2022-11-01 14:13:42 +01:00
8e93644cb5 [WIP] Refactored ingress ns, fix tests
* now ingress-cert
* tests for generate function now get flattened-and-reduced-config
2022-11-01 13:47:24 +01:00
03b6e2c234 [WIP] Add and review specs
* add spec for flatten-and-reduce-config,
  * checks if config and auth are present
* combine websitedata? and websiteauth?
  * due to input from flatten-and-reduce-config
2022-11-01 13:34:43 +01:00
caa8b5c886 [WIP] Solve ToDos
* Hardened flatten-and-reduce-config through sorting of :auth and
  :website vectors
* add issuer kv and volume-size kv only when existing in config
* fixed test in website_test.cljc
* fixed content-vol-creation for nonexistent volume-size kv pair
2022-11-01 12:54:06 +01:00
Clemens
5bcfe9f0b1 Added failing test as template to fix "flatten-and-reduce-config" 2022-10-28 16:45:14 +02:00
Clemens
ac2a4da7b4 Added volume-size to config and added todo 2022-10-28 13:48:11 +02:00
Clemens
54ce871333 Added TODOs 2022-10-28 11:34:32 +02:00
Clemens
668f2d7e2a Added specs to functions 2022-10-28 11:28:37 +02:00
0fc7bc5f2e review 2022-10-26 08:56:57 +02:00
bd40461bb3 ssl is terminated in ingress 2022-10-26 08:37:44 +02:00
32b6c8e597 [Skip-CI] Update Readme 2022-10-21 16:09:09 +02:00
a7cfb2f49c Update tests 2022-10-21 15:36:35 +02:00
1d533a6491 [Skip-CI] Version bump 2022-10-21 12:26:19 +02:00
18dfc0ff86 Version 0.1.3 2022-10-21 12:25:03 +02:00
38baf92ba0 Release v0.1.3 2022-10-21 12:24:54 +02:00
3a20f92a63 [Skip-CI] Updated Deps 2022-10-21 12:23:49 +02:00
e0f79b2fae [Skip-CI] Version bump 2022-10-21 12:19:01 +02:00
96be820b6c Version 0.1.2 2022-10-21 12:15:28 +02:00
9878fe30d3 Release v0.1.2 2022-10-21 12:15:13 +02:00
ddc6098646 Fix imports and deps 2022-10-21 12:13:29 +02:00
c6e3986c60 [Skip-CI] Version Bump 2022-10-21 12:05:03 +02:00
4ce3d8d5fa Version 0.1.1 2022-10-21 12:01:12 +02:00
38c533db06 Release v0.1.1 2022-10-21 11:59:42 +02:00
9519e83497 Fix tests 2022-10-21 11:57:44 +02:00
b3044fbc5c Fix test 2022-10-21 11:33:25 +02:00
bom
4cce1da4cb Remove Content-Security-Policy header 2022-10-21 11:21:43 +02:00
5ef80e7710 Fix browser.cljs bug
Add automation for testing browser code.
2022-10-18 13:26:41 +02:00
8a97900cda Bugfixes
Spec seems to accept a cert map for an ingress map.
2022-10-18 11:31:47 +02:00
0a3a85d93d Minor refactorings 2022-10-18 10:48:01 +02:00
1e7b71884d Integrate ingress-ns in website 2022-10-18 10:30:51 +02:00
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
60156805c3 [Skip-CI] add ingress 2022-10-14 14:41:20 +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