Commit Graph

24 Commits (8fc6f329c0aad9b3f5229e348f649b56122d1c18)

Author SHA1 Message Date
erik 8fc6f329c0 Simplify spec
Refactor uname -> unique-name.
Unit-tests for spec.
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 b6e500da3b [Skip-Ci] WIP Generalize nginx configmap 2 years ago
erik b8482cf51c [Skip-Ci] WIP Add generalized cert gen 2 years ago
erik 95d8b636a0 [Skip-Ci] WIP Prepare fqdn generalization 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 49d47f02c7 ToDo 2 years ago
erik 25b5083895 Update imports, java script generation, tests 2 years ago
erik 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
2 years ago
erik bcad22b067 [Skip-Ci] Refactoring 2 years ago
erik 6708fae81c [Skip-CIi] Add 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 4013da36b5 Set auth to nil 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