Commit Graph

25 Commits (e682f826aa266ec3cbb3ac0940dbdc5c24a01916)

Author SHA1 Message Date
Pat Dyn e682f826aa Add init-container 1 year ago
bom b65e77aa01 Use common for ingress generation 1 year ago
erik 287d6d31c5 Add initial build job so websites get build early 2 years ago
erik 53de3ea31b [Skip-CI] Remove ToDo - open to suggestions
Recursion method seems reasonable readable to me.
2 years ago
erik 75ef2572e3 Fix bug 2 years ago
erik 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
2 years ago
erik 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
2 years ago
Clemens 5bcfe9f0b1 Added failing test as template to fix "flatten-and-reduce-config" 2 years ago
Clemens ac2a4da7b4 Added volume-size to config and added todo 2 years ago
Clemens 54ce871333 Added TODOs 2 years ago
erik 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.
2 years ago
erik 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.
2 years ago
erik 31f490e286 [Skip-CI] WIP Working Yaml Generation 2 years ago
erik e4172e572e Pull from correct URL 2 years ago
erik 679530dbc7 Add functionality for multiple fqdns 2 years ago
erik 03d4f4f7ca Remove storage logic 2 years ago
erik 915b97b63f Cleanup
Update readme and tryItOut.
2 years ago
erik 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.
2 years ago
erik df3e099fab Update tests 2 years ago
erik 25b5083895 Update imports, java script generation, tests 2 years ago
erik de88a5d807 [skip-ci] Make unique name for each website deploy
Add function for replacing values in the beginning of a string.
Add build secret.
2 years ago
erik 4cf689e27f Add dummy auth
It seems, that an auth file is necessary for conf creation.
So added a dummy file containing one key value pair.
Also update of names and formati in configmap and deployment.
Also added valid_config and valid auth.
2 years ago
erik bca85d1da4 Add tests
Fix configmap generation.
2 years ago
erik f0a69e7fda WIP nginx config generation
Also make non essential paths generic.
Less need to fiddle in config map strings.
2 years ago
erik 7e006a4780 [skip-ci] Rename folders to c4k-website 2 years ago