Commit graph

137 commits

Author SHA1 Message Date
Clemens Geibel
e733cbe016 Filter null from application yaml 2022-08-05 11:37:43 +02:00
Clemens Geibel
c74c22e33d Fixed test 2022-08-05 11:09:52 +02:00
Clemens Geibel
6420387e9f Fixed ConfigMap error 2022-08-05 11:07:15 +02:00
Clemens Geibel
8936b488d2 Remove mailer-host-port usages 2022-08-05 10:09:18 +02:00
Clemens Geibel
e1929dd312 TODOs resolved 2022-08-05 09:44:21 +02:00
jerger
8a2156b907 merged 2022-08-03 16:44:35 +02:00
jerger
117f809c9e Merge branch 'main' of gitlab.com:domaindrivenarchitecture/c4k-gitea into main 2022-08-03 16:44:19 +02:00
jerger
6689cfb8c9 minor config adjust 2022-08-02 09:18:12 +02:00
jerger
8d9aadb1c8 use newest gittea 2022-08-02 09:17:49 +02:00
Clemens Geibel
9f818cf321 Adjusted appini todo 2022-07-29 16:56:05 +02:00
jerger
22b25bcd33 config fine tuning 2022-07-29 16:34:20 +02:00
jerger
7323675d96 mv traeffic-middleware to provs 2022-07-29 15:30:43 +02:00
Michael Jerger
4c6e99cc70 freflect new namespace for test-helper 2022-07-29 12:50:52 +00:00
Clemens Geibel
2ebdb2c567 Fixed undefined resource error 2022-07-29 10:33:05 +02:00
Clemens Geibel
5af737505b Fixed concat-vec error 2022-07-29 09:54:54 +02:00
az
20e809fdbe fix uberjar compilation error 2022-07-28 18:38:08 +02:00
erik
865b475bfc Configurable storage sizes
Storage sizes can now be configured.
Due to limitations of yaml/load-as-edn volumes.yaml was
split into datavolume.yaml and rootvolume.yaml. This
way, we are able to follow volume size recommendations
described in jira.
Valid config was updated. Tests were updated.
2022-07-27 16:48:04 +02:00
erik
53eca49d9d Update deps, fix tests 2022-07-27 12:23:42 +02:00
az
91feb38f57 changes from review 2022-07-27 09:02:45 +02:00
jerger
5b9a397b67 adjust review 2022-07-27 08:48:50 +02:00
jerger
c286faf084 added review comments 2022-07-26 19:35:35 +02:00
az
4a9a592664 add lein uberjar to inst & fix type 2022-07-23 11:43:07 +02:00
bom
1ae2722150 Update default values in configs 2022-07-22 13:09:49 +02:00
bom
16e096af1a Update spec for browser 2022-07-22 12:00:55 +02:00
bom
6e0646ab6c Update browser with new values 2022-07-22 12:00:42 +02:00
erik
64a168e6b0 Fix test 2022-07-22 11:27:08 +02:00
erik
e049a3fdda Add specs 2022-07-22 11:13:47 +02:00
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
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
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
ansgarz
1fa978e4cc upd README.md 2022-06-13 18:02:44 +02:00
ansgarz
b505ed838b move gitea env settings to ConfigMap 2022-06-11 19:34:43 +02:00
see
618ada9b55 updated staging value to string 2022-06-10 15:17:41 +02:00
ansgarz
755f627675 fix test 2022-06-08 20:27:11 +02:00
ansgarz
1a6ba991e4 fix internal postgres url 2022-06-08 20:17:15 +02:00
ansgarz
f73d57c0c7 fix postgres size et al. 2022-06-08 19:56:44 +02:00
ansgarz
303ad09088 fix cljs tests 2022-06-07 18:43:53 +02:00
ansgarz
d1808d8573 fix tests 2022-06-07 18:40:24 +02:00
bom
0999b00bbf Rename shynet to gitea, implement generate functions 2022-06-07 18:23:04 +02:00
bom
1d5df300ad Split deployment into service and deployment 2022-06-07 18:22:12 +02:00
ansgarz
3a735e016a add pg 2022-06-07 17:54:27 +02:00
ansgarz
57c73ae49c initial 2022-06-07 17:37:21 +02:00