Commit graph

155 commits

Author SHA1 Message Date
fe2a2282f4 Add require postgres to gitea 2022-10-04 13:03:30 +02:00
3296387255 Merge branch 'backup' of gitlab.com:domaindrivenarchitecture/c4k-gitea into backup 2022-09-23 11:36:57 +02:00
61565e4418 Update tryItOut
Remove unused variable.
2022-09-22 16:01:21 +02:00
5767155813 Remove postgres-data-volume-path from browser.cljs 2022-09-22 15:43:37 +02:00
f8b4137c60 Added more necessary env variables to backup-restore-deployment 2022-09-16 12:26:18 +02:00
0a3bde26ed Merge branch 'backup' of gitlab.com:domaindrivenarchitecture/c4k-gitea into backup 2022-09-08 11:02:22 +02:00
cf70e2f07b Removed root-volume
/var/lib/gitea is used in gitea-rootless image.
We effectively only use the /data volumen mount and PVC.

Removed the logic creating a root-volume, the yamls and the tests.
2022-09-07 13:20:50 +02:00
9e4eaa7dbe Fix ns error 2022-08-19 13:33:06 +02:00
e7a2b0e577 Minor adjustments 2022-08-19 13:02:07 +02:00
bbf0e17004 Added backup ns and moved spec to core.cljc 2022-08-19 12:56:52 +02:00
dd5d835b21 Added backup skeleton 2022-08-19 11:59:04 +02:00
627d1e4d19 Remove Exception. 2022-08-12 11:41:44 +02:00
0a40b5697f Fixed volume-total-storage-size error in browser 2022-08-12 11:31:51 +02:00
cb94861bd0 Added volume-total-storage-size to browser.cljs 2022-08-12 10:59:40 +02:00
44189d5f0c minor fixes 2022-08-12 09:56:50 +02:00
5664853ca7 Allow service-domain-whitelist to be blank string 2022-08-12 09:37:57 +02:00
992d226216 Resolve TODO for volume-total-storage-size schema 2022-08-05 12:05:24 +02:00
42f6542b49 Reverted commits c74c22e3 6420387e 8936b488 e1929dd3 2022-08-05 12:00:18 +02:00
e733cbe016 Filter null from application yaml 2022-08-05 11:37:43 +02:00
c74c22e33d Fixed test 2022-08-05 11:09:52 +02:00
6420387e9f Fixed ConfigMap error 2022-08-05 11:07:15 +02:00
8936b488d2 Remove mailer-host-port usages 2022-08-05 10:09:18 +02:00
e1929dd312 TODOs resolved 2022-08-05 09:44:21 +02:00
8a2156b907 merged 2022-08-03 16:44:35 +02:00
117f809c9e Merge branch 'main' of gitlab.com:domaindrivenarchitecture/c4k-gitea into main 2022-08-03 16:44:19 +02:00
6689cfb8c9 minor config adjust 2022-08-02 09:18:12 +02:00
8d9aadb1c8 use newest gittea 2022-08-02 09:17:49 +02:00
9f818cf321 Adjusted appini todo 2022-07-29 16:56:05 +02:00
22b25bcd33 config fine tuning 2022-07-29 16:34:20 +02:00
7323675d96 mv traeffic-middleware to provs 2022-07-29 15:30:43 +02:00
4c6e99cc70 freflect new namespace for test-helper 2022-07-29 12:50:52 +00:00
2ebdb2c567 Fixed undefined resource error 2022-07-29 10:33:05 +02:00
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
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
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
5b9a397b67 adjust review 2022-07-27 08:48:50 +02:00
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
64a168e6b0 Fix test 2022-07-22 11:27:08 +02:00
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
d3fbd8d88b Add annotations
allow-shared-ip to gitea-ssh-service
2022-07-22 10:00:50 +02:00
4e6e82c392 remove app-ini from deployment 2022-07-21 15:42:37 +02:00
3282923883 Remove appini-configmap from core 2022-07-21 13:52:37 +02:00
01200b589a Cleanup. 2022-07-20 17:01:19 +02:00
ed09c164c3 Tweaked settings 2022-07-20 16:44:56 +02:00
2c62f1caaf Quoted Numbers 2022-07-20 16:17:03 +02:00
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
e6866cd591 Fixed test: should-generate-secret 2022-07-15 17:34:10 +02:00
44bb1ae9f0 Added base64 encoding to database credentials 2022-07-15 15:32:14 +02:00
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
9113bc2677 Removed meissa-specifics
Moved database user and pw to secrets.yaml
2022-07-15 13:49:23 +02:00
178cbc8fa3 disabled reg 2022-07-14 16:48:04 +02:00
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
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
edfa762a39 added specs for generate-secrets 2022-07-14 12:29:46 +02:00
ce1a19eb0e addendum to prev commit 2022-07-13 16:17:49 +02:00
b51207c4cd addendum to prev commit 2022-07-13 16:15:29 +02:00
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
09a471d5e5 new way of trafik redirect 2022-07-06 18:25:02 +02:00
581577ea2d we will need some kind of reg whitelist 2022-07-06 18:24:43 +02:00
75849d00c1 config-finetuning 2022-07-06 08:47:19 +02:00
0535a43823 less space for db 2022-07-06 08:21:38 +02:00
997ecf5305 do not create cert twice 2022-07-06 08:21:27 +02:00
d9691bee9c more space for repos 2022-07-06 08:20:41 +02:00
ee76092789 better restart times / no external deps while running 2022-07-06 08:20:13 +02:00
2a92d03982 will work in other namespaces also 2022-07-06 08:19:44 +02:00
f815cb8beb emails should stay private 2022-07-06 08:19:13 +02:00
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
1fa978e4cc upd README.md 2022-06-13 18:02:44 +02:00
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
755f627675 fix test 2022-06-08 20:27:11 +02:00
1a6ba991e4 fix internal postgres url 2022-06-08 20:17:15 +02:00
f73d57c0c7 fix postgres size et al. 2022-06-08 19:56:44 +02:00
303ad09088 fix cljs tests 2022-06-07 18:43:53 +02:00