Pat Dyn
e682f826aa
Add init-container
1 year ago
bom
04fe33f564
Remove ingress_cert files
1 year ago
bom
b65e77aa01
Use common for ingress generation
1 year ago
erik
d5c605a8fb
Fix whitespaces
2 years ago
erik
5b2ede6c46
Remove deprecated header
2 years ago
erik
3a417cbbf8
Add svg mime type
...
Otherwise nginx serves svgs as application/octet-stream.
This might lead to broken image.
2 years ago
erik
70f356a1a9
Execute script in subshell located in folder
...
Better handling of white spaces in input.
Add test for creation of build jobs without sha256sum input.
2 years ago
erik
2b2ca8dae7
Add optional script execution in build container
...
The script file must exist in the root of the specified gitea-repo.
You also need to specify (and calculate) a sha256sum output
for that file. This needs to be added as KV pair to
the respective collection in :websites.
2 years ago
erik
2dce3a2f26
[Skip-CI] Fix bug in browser cljs
2 years ago
erik
287d6d31c5
Add initial build job so websites get build early
2 years ago
erik
1f24a6e62c
Remove yaml/load-as-edn multimethod
...
* Also update deps
2 years ago
erik
02074ef37d
shadow-cljs/resource need literal string
2 years ago
erik
ce00fc3058
Remove cert from nginx deployment
...
* Remove ToDo in HTTP ingress def
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
911f0d5b27
Refactor app.kubernetes.part-of into resources
2 years ago
erik
31f5e9980f
[Skip-CI] Better cron expression
2 years ago
erik
16189ee9c4
[Skip-Ci] Remove ToDo markers
2 years ago
erik
8e93644cb5
[WIP] Refactored ingress ns, fix tests
...
* now ingress-cert
* tests for generate function now get flattened-and-reduced-config
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
Clemens
668f2d7e2a
Added specs to functions
2 years ago
jerger
0fc7bc5f2e
review
2 years ago
jerger
bd40461bb3
ssl is terminated in ingress
2 years ago
erik
ddc6098646
Fix imports and deps
2 years ago
erik
9519e83497
Fix tests
2 years ago
erik
b3044fbc5c
Fix test
2 years ago
bom
4cce1da4cb
Remove Content-Security-Policy header
2 years ago
erik
5ef80e7710
Fix browser.cljs bug
...
Add automation for testing browser code.
2 years ago
erik
8a97900cda
Bugfixes
...
Spec seems to accept a cert map for an ingress map.
2 years ago
erik
0a3a85d93d
Minor refactorings
2 years ago
erik
1e7b71884d
Integrate ingress-ns in website
2 years ago
erik
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.
2 years ago
jerger
8989679d57
wip
2 years ago
erik
60156805c3
[Skip-CI] add ingress
2 years ago
erik
7cecbacf63
[Skip-ci] WIP Refactor
2 years ago
jerger
616d61c2a9
[skip-ci] wip
2 years ago
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