Commit graph

169 commits

Author SHA1 Message Date
Mirco
4f81802717 [skip-ci] changes deploy-federated 2023-05-16 10:40:33 +02:00
Mirco
bbc9f0aa81 deploy-federated-bool 2023-05-16 10:37:45 +02:00
erik
92451aab04 Update with deploy-federated 2023-05-16 10:06:13 +02:00
erik
efa7cb23c7 WIP implement image name replacement 2023-05-16 10:05:54 +02:00
bom
79157ea457 Split mailer host into addr and port
This became possible in version 1.18. We are currently using 1.19
2023-04-28 11:57:18 +02:00
Michael Jerger
999aa72993 Forgejo instead of gitea 2023-04-21 06:56:06 +00:00
jerger
04da986972 removed unused 2022-12-28 07:49:22 +01:00
jerger
a25b031789 Merge branch 'main' of gitlab.com:domaindrivenarchitecture/c4k-gitea into main 2022-12-09 14:05:31 +01:00
jerger
59caa02601 add public address pool 2022-12-09 14:05:27 +01:00
bom
02bb23d107 bump gitea version to 1.17.3 2022-11-02 13:10:13 +01:00
erik
b6281ae3e6 [Skip-CI] Bump gitea version 2022-11-02 13:08:56 +01:00
Clemens
b4dc78965b Fixed db-backup cron problem 2022-10-21 11:01:50 +02:00
erik
fda85c7fb0 Fix browser spec error 2022-10-18 13:20:35 +02:00
Clemens Geibel
d4a0df85f9 Merge branch 'main' into 'backup'
# Conflicts:
#   src/main/cljc/dda/c4k_gitea/gitea.cljc
2022-10-07 06:55:22 +00:00
erik
fe2a2282f4 Add require postgres to gitea 2022-10-04 13:03:30 +02:00
erik
3296387255 Merge branch 'backup' of gitlab.com:domaindrivenarchitecture/c4k-gitea into backup 2022-09-23 11:36:57 +02:00
erik
61565e4418 Update tryItOut
Remove unused variable.
2022-09-22 16:01:21 +02:00
erik
5767155813 Remove postgres-data-volume-path from browser.cljs 2022-09-22 15:43:37 +02:00
Clemens Geibel
f8b4137c60 Added more necessary env variables to backup-restore-deployment 2022-09-16 12:26:18 +02:00
erik
0a3bde26ed Merge branch 'backup' of gitlab.com:domaindrivenarchitecture/c4k-gitea into backup 2022-09-08 11:02:22 +02:00
erik
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
Clemens Geibel
9e4eaa7dbe Fix ns error 2022-08-19 13:33:06 +02:00
Clemens Geibel
e7a2b0e577 Minor adjustments 2022-08-19 13:02:07 +02:00
Clemens Geibel
bbf0e17004 Added backup ns and moved spec to core.cljc 2022-08-19 12:56:52 +02:00
Clemens Geibel
dd5d835b21 Added backup skeleton 2022-08-19 11:59:04 +02:00
Clemens Geibel
627d1e4d19 Remove Exception. 2022-08-12 11:41:44 +02:00
Clemens Geibel
0a40b5697f Fixed volume-total-storage-size error in browser 2022-08-12 11:31:51 +02:00
Clemens Geibel
cb94861bd0 Added volume-total-storage-size to browser.cljs 2022-08-12 10:59:40 +02:00
Clemens Geibel
44189d5f0c minor fixes 2022-08-12 09:56:50 +02:00
Clemens Geibel
5664853ca7 Allow service-domain-whitelist to be blank string 2022-08-12 09:37:57 +02:00
Clemens Geibel
992d226216 Resolve TODO for volume-total-storage-size schema 2022-08-05 12:05:24 +02:00
Clemens Geibel
42f6542b49 Reverted commits c74c22e3 6420387e 8936b488 e1929dd3 2022-08-05 12:00:18 +02:00
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