Commit graph

416 commits

Author SHA1 Message Date
bom
de7bd6200e Add spec for mailer 2022-07-22 10:51:27 +02:00
bom
0a6919f4f9 Update key names and defaults 2022-07-22 10:51:01 +02:00
bom
ea8ec76461 Use correct defautl ssh port 2022-07-22 10:16:41 +02:00
erik
d3fbd8d88b Add annotations
allow-shared-ip to gitea-ssh-service
2022-07-22 10:00:50 +02:00
erik
4e6e82c392 remove app-ini from deployment 2022-07-21 15:42:37 +02:00
erik
3282923883 Remove appini-configmap from core 2022-07-21 13:52:37 +02:00
bom
3a2b58aa8e Update valid-config with actually valid values 2022-07-21 13:42:03 +02:00
erik
01200b589a Cleanup. 2022-07-20 17:01:19 +02:00
erik
ed09c164c3 Tweaked settings 2022-07-20 16:44:56 +02:00
erik
2c62f1caaf Quoted Numbers 2022-07-20 16:17:03 +02:00
erik
7510589e47 Migrated appini-configmap to appini-env-configmap
We now have a basic config for our gitea installation.
We might want to have a closer look on the security config.

Also updated tests and gitea.cljc code with params and formating.
2022-07-20 15:56:37 +02:00
erik
e6866cd591 Fixed test: should-generate-secret 2022-07-15 17:34:10 +02:00
erik
44bb1ae9f0 Added base64 encoding to database credentials 2022-07-15 15:32:14 +02:00
erik
fd92acef46 Fixed tests
Removed unused issuer key in tests and generate-appini-env.
Combined host and port keys for ease of programming.
2022-07-15 15:09:32 +02:00
erik
9113bc2677 Removed meissa-specifics
Moved database user and pw to secrets.yaml
2022-07-15 13:49:23 +02:00
erik
178cbc8fa3 disabled reg 2022-07-14 16:48:04 +02:00
erik
73e77b82fb updated gitea dep, changed tls port
disabled registration
2022-07-14 16:47:09 +02:00
bom
6114cdf2f6 Move mailer config to environment 2022-07-14 15:00:12 +02:00
bom
1499ddad63 Remove secret mount 2022-07-14 14:01:32 +02:00
erik
4114e8dd89 removed :auth 2022-07-14 13:25:06 +02:00
bom
b55c176998 Add mailer values to valid-auth.edn 2022-07-14 13:02:10 +02:00
bom
cdbc731840 Remove secrets.yaml from load-resource 2022-07-14 13:00:19 +02:00
bom
dd30b5e329 Add test for generate-secrets 2022-07-14 12:42:01 +02:00
erik
edfa762a39 added specs for generate-secrets 2022-07-14 12:29:46 +02:00
erik
ce1a19eb0e addendum to prev commit 2022-07-13 16:17:49 +02:00
erik
b51207c4cd addendum to prev commit 2022-07-13 16:15:29 +02:00
erik
e4946b4fa0 Started updating mailer-config
Configured secret env vars for mailer credentials to be loaded at pod runtime.
We may want to write our credentials to an encrypted file so we can use
the __FILE feature described here: https://github.com/go-gitea/gitea/issues/19856.
Or we may want to encrypt our secrets as described here:
https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/
2022-07-13 16:11:13 +02:00
jerger
09a471d5e5 new way of trafik redirect 2022-07-06 18:25:02 +02:00
jerger
581577ea2d we will need some kind of reg whitelist 2022-07-06 18:24:43 +02:00
jerger
75849d00c1 config-finetuning 2022-07-06 08:47:19 +02:00
jerger
0535a43823 less space for db 2022-07-06 08:21:38 +02:00
jerger
997ecf5305 do not create cert twice 2022-07-06 08:21:27 +02:00
jerger
d9691bee9c more space for repos 2022-07-06 08:20:41 +02:00
jerger
ee76092789 better restart times / no external deps while running 2022-07-06 08:20:13 +02:00
jerger
2a92d03982 will work in other namespaces also 2022-07-06 08:19:44 +02:00
jerger
f815cb8beb emails should stay private 2022-07-06 08:19:13 +02:00
jerger
0077d56a82 fix wrong ports & cert names 2022-07-04 09:11:28 +02:00
bom
cf640e1f68 revert exposing gitea-ssh on port 22 2022-06-24 13:19:37 +02:00
bom
c1014edb50 Fix volumes 2022-06-24 12:56:59 +02:00
bom
909af565f8 Update storage class to use local-path 2022-06-24 12:31:46 +02:00
bom
45de52410b Remove hostPath from volumes 2022-06-24 11:31:16 +02:00
bom
b443269e28 Expose ssh service as LoadBalancer 2022-06-24 10:58:28 +02:00
bom
2966901cf9 Create volumes only using PVCs 2022-06-24 10:54:53 +02:00
bom
5da8acf0b5 Add certificate 2022-06-24 10:31:22 +02:00
bom
f03ed9e7a1 Fix creation of uberjar 2022-06-17 10:36:14 +02:00
bom
810ff3783f Move spec to gitea and instrument generate functions 2022-06-17 10:26:59 +02:00
bom
08ac2ae1c2 Update browser.cljs to fit gitea 2022-06-17 09:56:16 +02:00
bom
71b042b798 Move cljs-dependent definitions into one block 2022-06-17 09:25:54 +02:00
bom
b5d1461fa1 Load correct files for cljs environment 2022-06-17 09:25:07 +02:00
bom
3d4b5728d1 Rewrite tests using new common_test 2022-06-17 09:12:03 +02:00