Compare commits

..

609 Commits

Author SHA1 Message Date
Moritz Jörg 9e1beb6895 Add more Nix Apps
Rewrite of some of the Apps to Nix. Tried to convert
ApplicationSets to simple Applications with an ${env}
modifier.
2025-02-21 17:47:45 +00:00
juselius e3b1ef76da fix: fix amqp password 2025-02-04 17:02:42 +01:00
juselius 6663fc2cc5 Merge branch 'nixidy' of gitlab.com:oceanbox/manifests into nixidy 2025-02-04 15:43:37 +01:00
juselius dd7e28c2e2 fix: add bast and oty to sorcerer dev cors 2025-02-04 15:43:24 +01:00
juselius 6976ea8d93 fix: only sync atlantis db secrets if bootstrap is enabled 2025-01-31 13:25:45 +01:00
juselius 8421acaa25 fix: unify atlantis secrets policy 2025-01-31 13:22:27 +01:00
juselius f425a1c551 fix: update prod atlantis 2025-01-30 21:53:54 +01:00
juselius d8a3706305 fix: fix increase prod-atlantis replica count 2025-01-30 21:18:03 +01:00
juselius 1ef512e2eb fix: fix prod-atlantis sorcerer uri to prod 2025-01-30 21:16:40 +01:00
juselius 39e69dff7f fix: fix prod-atlantis db and disable bootstrap 2025-01-30 20:55:39 +01:00
juselius 5d86e81fb0 feat: change preprod to prod! 2025-01-30 20:45:33 +01:00
juselius 265f188f66 fix: fix prod-sorcerer replica count 2025-01-30 20:23:38 +01:00
juselius 2508817f30 fix: fix redis prod env secret 2025-01-30 20:22:10 +01:00
juselius e04dd170ac fix: fix redis prod env secret 2025-01-30 20:19:13 +01:00
juselius 861f288ec0 fix: fix redis secret (static) 2025-01-30 20:14:12 +01:00
juselius 20de965607 fix: fix redis secret 2025-01-30 20:13:16 +01:00
juselius b63d89d9e6 fix: add missing redis 2025-01-30 20:10:37 +01:00
juselius c9ba27539e feat: add new prod-sorcerer 2025-01-30 20:08:09 +01:00
juselius daa4a87597 fix: update atlantis preprod 2025-01-28 10:50:28 +01:00
juselius a96c6c28a9 fix: update atlantis preprod 2025-01-24 16:29:36 +01:00
juselius 45f598fb8b fix: update preprod atlantis 2025-01-23 21:04:20 +01:00
juselius b0cdab1790 feat: remove rabbitmq secret from atlantis chart and put it in kustomizations 2025-01-23 18:09:26 +01:00
juselius 28e2ba87eb fix: fix accidental lowecasing 2025-01-23 18:08:27 +01:00
juselius 89e99bed42 fix: ignore redis secret 2025-01-23 17:03:49 +01:00
juselius d30ec463bb fix: fix redis secret name 2025-01-23 16:59:13 +01:00
juselius 0f8dae5436 fix: update preprod atlantis and sorcerer 2025-01-23 16:43:03 +01:00
juselius 2422db91e2 fix: update atlantis preprod and sorcerer beta 2025-01-21 10:58:57 +01:00
juselius d7117d18b8 feat: flip over to new keycloak instance 2025-01-20 08:58:56 +01:00
juselius befe13225c fix: new atlantis and sorcerer preprod 2025-01-17 15:27:16 +01:00
juselius bc71b78da6 fix: update atlantis preprod 2025-01-14 18:52:26 +01:00
juselius f1385b8d0b fix: update sorcerer beta and atlantis preprod 2025-01-14 15:54:55 +01:00
juselius 87e3219c0c fix: add redis to sorcerer 2025-01-11 21:12:18 +01:00
juselius 74fa77e91c fix: update atlantis preprod 2025-01-11 21:11:44 +01:00
juselius 5940db6833 fix: update staging sorcerer for maps.beta 2025-01-11 16:37:04 +01:00
juselius c02d40564d fix: update staging sorcerer for maps.beta 2025-01-11 16:19:36 +01:00
juselius 934ea43ae9 fix: update staging sorcerer for maps.beta 2025-01-11 16:00:06 +01:00
juselius f0eae55b5e fix: update atlantis fga model 2025-01-11 13:36:22 +01:00
juselius 423b9ce28c fix: temp hack for preprod atlantis db 2025-01-11 09:36:51 +01:00
juselius a93031b11b fix: fix atlantis env secret policy 2025-01-11 09:36:14 +01:00
juselius 4fc69cafe6 fix: fix preprod wankery 2025-01-10 14:04:29 +01:00
juselius 089096f936 fix: fix preprod wankery 2025-01-10 13:50:16 +01:00
juselius e3c174a995 fix: atlantis preprod tweaks 2025-01-10 13:26:56 +01:00
juselius 4830a58ed9 fix: fix pølsefingre 2025-01-10 13:16:04 +01:00
juselius d47ee8f5f1 fix: fix atlantis subscriptions 2025-01-10 13:08:02 +01:00
juselius 211db0669f Merge branch 'nixidy' of gitlab.com:oceanbox/manifests into nixidy 2025-01-10 12:49:01 +01:00
juselius 386c098373 fix: update (pre)prod atlantis manifests 2025-01-10 12:48:34 +01:00
juselius fcde51b19e fix: update atlantis beta 2025-01-09 18:51:44 +01:00
juselius 20a34d6bf0 fix: update salmar client secret 2025-01-09 12:40:15 +01:00
juselius 8d666f5722 fix: update aqua-kompetanse client secret 2025-01-06 11:53:49 +01:00
juselius a0c5699c71 Merge branch 'nixidy' of gitlab.com:oceanbox/manifests into nixidy 2025-01-03 08:50:31 +01:00
juselius ea7b4d7d01 fix: update atlantis beta 2025-01-03 08:50:15 +01:00
juselius b20300e315 fix: fix appsettings with oidc logout endpoint 2025-01-02 20:37:24 +01:00
juselius fa552169bc fix: update openfga secret policy 2025-01-01 12:05:54 +01:00
juselius f2bfd484b4 fix: change openfga db name 2024-12-31 15:30:52 +01:00
juselius e1317584ce feat: add policy to fixup openfga connection uri 2024-12-31 15:17:08 +01:00
juselius ff3407f80c fix: fix image name 2024-12-31 13:49:24 +01:00
juselius d05f619618 fix: update openfga postgres to 17 2024-12-31 13:44:17 +01:00
juselius aaf7fad09a fix: fix (defunct) keycloak frontend url 2024-12-31 13:43:23 +01:00
juselius 4498df8aea fix: fix staging atlantis app and tweak keycloak 2024-12-31 13:34:38 +01:00
juselius 0726aa922b fix: fix keycloak admin ingress secret 2024-12-30 18:47:11 +01:00
juselius b291bba5d1 fix: disable keycloak admin ingress 2024-12-30 18:37:19 +01:00
juselius 2f8e31b829 fix: fix json typo 2024-12-30 15:28:18 +01:00
juselius 45b46e2394 fix: move staging atlantis onto keycloak 2024-12-30 15:19:26 +01:00
juselius f9231e96a0 fix: disable keycloak cli job 2024-12-30 14:14:52 +01:00
juselius fcc0994c38 fix: change ingress to auth.oceanbox.io 2024-12-30 13:47:25 +01:00
juselius f065b69ab7 fix: reduce old keycloak replicas to 1 2024-12-30 13:43:53 +01:00
juselius 2ea3e85c3c fix: fix keycloak and remove import-export sidecar 2024-12-30 13:40:53 +01:00
juselius d176df16dd debug: add import-export sidecar 2024-12-29 21:50:31 +01:00
juselius 43c6077d9a debug: add import-export sidecar 2024-12-29 21:47:15 +01:00
juselius 3d67b97222 debug: add import-export sidecar 2024-12-29 21:44:06 +01:00
juselius 3706f37030 debug: add import-export sidecar 2024-12-29 21:41:07 +01:00
juselius dee898a97d fix: fix(?) admin ingress on prod-keycloak 2024-12-28 14:55:25 +01:00
juselius ce1bbcfda2 fix: tweak ingress for now 2024-12-28 14:46:17 +01:00
juselius 3a17a72924 fix: enable admin ingress on prod-keycloak 2024-12-28 14:34:51 +01:00
juselius b46c2cb456 debug: missing account token 2024-12-28 13:35:06 +01:00
juselius 2531e40a80 debug: missing account token 2024-12-28 10:37:58 +01:00
juselius fdc3de12fd debug: missing account token 2024-12-28 10:25:00 +01:00
juselius ae707279e7 debug: missing account token 2024-12-28 10:20:45 +01:00
juselius 0ce818e2f5 debug: missing account token 2024-12-28 09:44:12 +01:00
juselius 4c7315c5ba fix: add keycloak ingress whitelist for now 2024-12-27 22:43:02 +01:00
juselius 768c54db1a feat: new prod keycloak deploy with cnpg database 2024-12-27 22:15:17 +01:00
juselius 0f62b0b01c fix: update keycloak theme (perhaps) 2024-12-27 18:05:06 +01:00
juselius 13178964cb Merge branch 'nixidy' of gitlab.com:oceanbox/manifests into nixidy 2024-12-27 17:54:59 +01:00
juselius 83241d90f9 fix: update keycloak theme (perhaps) 2024-12-27 17:53:39 +01:00
juselius fc24cee169 fix: disable keycloak admin ingress (again) 2024-12-27 15:02:27 +01:00
juselius 768ccb8fd3 fix: enable keycloak admin ingress (again) 2024-12-27 14:24:19 +01:00
juselius d2b03dd2eb fix: remove redis secret from atlantis chart 2024-12-27 12:26:03 +01:00
juselius 22cab489a5 fix: disable keycloak admin ingress 2024-12-25 09:23:33 +01:00
juselius 5081ef9a13 fix: run keycloak in 2 replicas 2024-12-25 09:10:15 +01:00
juselius 38f80bdf48 fix: add missing ingress to keycloak 2024-12-25 09:02:12 +01:00
juselius 674dfa1ed5 fix: add missing ingress to keycloak 2024-12-25 08:47:13 +01:00
juselius 1f7a82e895 fix: disable redis-stack for now 2024-12-23 08:21:08 +01:00
juselius 1a39118763 fix: use unified external redis for sorcerer and atlantis 2024-12-23 07:31:14 +01:00
juselius 50aabe96b8 fix: migrate from internal to external redis 2024-12-23 07:23:06 +01:00
juselius 261f287e53 fix: secure keycloak master realm 2024-12-21 18:39:57 +01:00
juselius 3b1d5e0ee1 fix: increases prod openfga db replicas to 2 2024-12-21 08:44:40 +01:00
juselius c58e2f675f fix: upgrade dex 2024-12-20 14:42:01 +01:00
juselius d836ff2cef fix: add itp as a test domain for multi-tenant 2024-12-20 14:40:05 +01:00
juselius e68c57ed05 fix: update atlantis and sorcerer 2024-12-20 14:27:57 +01:00
juselius 1c713f324a fix: flip dex over on nixidy branch (for now) 2024-12-20 09:52:38 +01:00
juselius b7631bf882 fix: flip dex over on nixidy branch (for now) 2024-12-20 09:49:57 +01:00
juselius c21945811e fix: flip dex over on nixidy branch (for now) 2024-12-20 09:47:43 +01:00
juselius 426fe34412 fix: flip dex over on nixidy branch (for now) 2024-12-20 09:45:24 +01:00
juselius dd3f44ff52 fix: update dex for upstream multi-tenancy 2024-12-20 09:24:31 +01:00
juselius d299f4a21c Merge branch 'nixidy' of gitlab.com:oceanbox/manifests into nixidy 2024-12-20 09:16:25 +01:00
juselius 000161461f fix: update openfga uri 2024-12-20 09:15:11 +01:00
juselius d69830cc47 fix: fix openfga ingress (use production certs) 2024-12-20 06:21:29 +01:00
juselius 675e3299a1 fix: update openfga 2024-12-19 19:26:27 +01:00
juselius 219bc47465 fix: update openfga 2024-12-19 18:56:06 +01:00
juselius c31bf79671 fix: update openfga 2024-12-19 18:52:23 +01:00
juselius 903fbdbaa8 fix: update openfga values 2024-12-19 17:44:12 +01:00
juselius 83a025cdcf fix: fix yet another typo 2024-12-19 16:39:16 +01:00
juselius bc7c15db24 fix: fix typo 2024-12-19 16:02:44 +01:00
juselius 73555a2d80 fix: update loki, tempo and openfga apps 2024-12-19 16:00:53 +01:00
juselius b19abf333d fix: update verisons and ingress 2024-12-19 15:56:36 +01:00
juselius 5b8732ae04 fix: revert servicemonitor port 2024-12-19 15:52:35 +01:00
juselius 3a49ef6c53 feat: make servicemonitor port configurable 2024-12-19 15:27:16 +01:00
juselius 4d9c401ab8 fix: fix typo 2024-12-19 15:22:07 +01:00
juselius ec0344ffe8 fix: update sorcerer and ingress paths 2024-12-19 15:12:31 +01:00
juselius cc85d8eccf fix: update atlantis and ingress paths 2024-12-19 15:11:54 +01:00
juselius 4131917813 Merge branch 'nixidy' of gitlab.com:oceanbox/manifests into nixidy 2024-12-19 09:55:04 +01:00
juselius 0f3f8b7a38 feat: enable dapr-api-token 2024-12-19 09:54:55 +01:00
juselius 64048984a6 feat: add internal ingress to sorcerer 2024-12-19 09:53:32 +01:00
juselius 8989cdb100 fix: add kyverno policies for dapr api tokens 2024-12-19 09:50:33 +01:00
juselius 95fa446986 fix: update sorcerer 2024-12-14 20:35:01 +01:00
juselius d2e50f1776 fix: use multi-audience tokens 2024-12-14 19:12:27 +01:00
juselius a0d937e40a fix: update staging atlantis and sorcerer 2024-12-14 12:02:20 +01:00
juselius eba8f961f0 fix: update staging atlantis and sorcerer 2024-12-14 11:50:21 +01:00
juselius 8edbe0e078 fix: dapr component scopes for sorcerer 2024-12-14 09:10:15 +01:00
juselius 61403261cd fix: update atlantis 2024-12-14 08:59:30 +01:00
juselius 721049e742 fix: update atlantis 2024-12-13 19:24:05 +01:00
juselius 69cb89aba1 fix: update atlatis and sorcerer staging 2024-12-13 18:48:16 +01:00
juselius b55c36832f fix: fix atlantis ingress 2024-12-12 16:06:44 +01:00
juselius 90e1e35e0a feat: rudimentary fga permissions checking in api 2024-12-12 15:45:17 +01:00
juselius a8c29c6b00 :fix: enable atlantis ingress 2024-12-12 15:24:42 +01:00
juselius 57a9246b35 :fix: update atlantis image 2024-12-12 15:19:14 +01:00
juselius c96fae310d :fix: enable atlantis ingress 2024-12-12 15:18:24 +01:00
juselius 4e5fcda742 :fix: update atlantis secrets 2024-12-12 14:59:13 +01:00
juselius b331dff18e :fix: update atlantis image 2024-12-12 14:56:44 +01:00
juselius d1e9df5b35 fix: update atlantis manifests 2024-12-12 14:53:24 +01:00
juselius 4ece141ce0 fix: update atlantis manifests 2024-12-12 14:47:14 +01:00
juselius 9d9836bffb fix: update atlantis manifests and argo apps 2024-12-12 14:38:26 +01:00
juselius b12146c054 fix: fix sorcerer redis settings 2024-12-12 14:24:14 +01:00
juselius ce94dc0a3b fix: fix sorcerer chart link 2024-12-12 13:41:00 +01:00
juselius db011cfb4d fix: fix fixes 2024-12-12 13:15:25 +01:00
juselius 9b1a687ef5 fix: update sorcerer image 2024-12-12 12:53:32 +01:00
juselius e51c5eb248 fix: update sorcerer image 2024-12-12 12:43:37 +01:00
juselius 1dfdf226d5 fix: update sorcerer image 2024-12-12 12:32:51 +01:00
juselius a04cbeadad fix: update sorcerer image 2024-12-12 12:13:51 +01:00
juselius 3283758478 fix: update sorcerer image 2024-12-12 12:10:33 +01:00
juselius 5296c67194 fix: fix sorcerer volume claims 2024-12-12 12:03:57 +01:00
juselius 9eb9714c7f feat: move from atlantis and sorcerer applicationsets 2024-12-09 12:46:35 +01:00
juselius 70a78699e3 fix: update sorcerer manifests 2024-12-09 12:40:42 +01:00
juselius ca6b80d13f feat: update atlantis chart, values and app for spmsa 2024-12-09 10:49:02 +01:00
juselius 6ba97b006b feat: disable flakes, use normal nix shell 2024-12-04 15:15:31 +01:00
juselius 1feb953dc4 fix: add internal ingress to atlantis 2024-12-04 15:00:35 +01:00
Jonas Juselius a2203fc1d7 fix: add kyverno secret policies for sorcerer 2024-11-25 13:17:49 +01:00
Jonas Juselius c520f042c6 fix: allow atlatnis azure keyvault and blobstore 2024-11-22 13:55:33 +01:00
Jonas Juselius e6788bbc41 Merge branch 'nixidy' of gitlab.com:oceanbox/manifests into nixidy 2024-11-21 09:56:51 +01:00
juselius c75378a0e3 fix: fix atlantis secrets policies 2024-11-20 20:09:22 +01:00
Jonas Juselius e8e652039c Merge remote-tracking branch 'origin/main' into nixidy 2024-11-18 13:24:20 +01:00
juselius 993612f3bd feat: add cpol to sync regcreds 2024-11-18 10:35:37 +01:00
juselius b45432c826 fix: make sorcerer honor env: in values 2024-11-18 10:34:29 +01:00
juselius 414c993fe1 feat: add cpol to sync azure keyvault credentials 2024-11-18 10:33:34 +01:00
juselius 5c044cbbfe fix: disable zipkin ingress on otel collector 2024-11-18 08:34:19 +01:00
Jonas Juselius 243260f479 feat: add redis to sorcerer 2024-11-16 14:23:34 +01:00
juselius 8510a9b8a2 fix: add zipkin path to otel collector 2024-11-16 10:06:05 +01:00
juselius 77ed76758e fix: add port 8085 to local atlantis and sorcerer 2024-11-16 08:13:59 +01:00
Jonas Juselius f8d82f4f46 fix: fix sorcerer local redirect url 2024-11-15 11:49:00 +01:00
Jonas Juselius 50bf3814a5 fix: add all known leroys 2024-11-15 09:36:39 +01:00
Jonas Juselius a8da4c1198 fix: fix otel url typo 2024-11-14 14:37:53 +01:00
juselius 35b5882d3e feat: add dapr configuration store to atlantis staging 2024-11-01 12:35:12 +01:00
juselius 2203b09fb4 fix: add acl.json to new atlantis deployment 2024-10-31 14:33:10 +01:00
juselius 673bb00a9a fix: add Måsøval 2024-10-31 14:25:55 +01:00
juselius 01b9bc4465 fix: add Måsøval 2024-10-31 12:56:22 +01:00
Jonas Juselius ef6282ca17 fix: upgrade keycloak 2024-10-30 12:02:21 +01:00
Jonas Juselius 503128903b feat: update atlantis chart and values for monolith 2024-10-25 19:14:10 +02:00
Jonas Juselius 7ca0a2d397 Merge branch 'nixidy' of gitlab.com:oceanbox/manifests into nixidy 2024-10-15 08:02:36 +02:00
Jonas Juselius 474d04862c fix: enable atlantis service monitor 2024-10-15 08:02:22 +02:00
juselius ea929b7dc4 wip: kustomization experiments 2024-10-15 07:37:43 +02:00
juselius 354bd72248 wip: well, looking better 2024-10-14 18:02:42 +02:00
Jonas Juselius ed26ad8af2 wip: getting there, slowly 2024-10-14 15:47:14 +02:00
juselius 372c11c31e feat: rename kustomizations/ to values/ 2024-10-14 07:59:16 +02:00
juselius 91b56423f2 wip: figuring out how to do multiple envs and stuff 2024-10-14 07:51:07 +02:00
Jonas Juselius 768cb1ddef wip: figuring it out, slowly 2024-10-11 18:56:56 +02:00
juselius a5cf93c758 wip: add openfga app with direct helm render 2024-10-10 20:50:50 +02:00
Jonas Juselius 11b398801d wip: try nixidy 2024-10-10 16:04:41 +02:00
Jonas Juselius 61379ad665 fix: update vcluster adn remove kyverno policies 2024-10-09 14:07:23 +02:00
Jonas Juselius eb2eebaa34 feat: simplify charts, resources, kustomizations and applications for atlantis SPMSA 2024-10-08 16:54:58 +02:00
Jonas Juselius 15dae312ef fix: add hubocean group 2024-10-08 09:39:46 +02:00
juselius 2e00aceed1 fix: fix volumes and secrets for atlantis 2024-10-04 14:28:09 +02:00
juselius 1eb0e6c630 fix: tweak atlantis chart for SPMSA monolith. 2024-10-04 13:43:55 +02:00
juselius bcf6d5b582 feat: add policy to sync atlantis devel secrets 2024-10-04 12:48:40 +02:00
Jonas Juselius 7b046c343f fix: add APP_NAME and APP_NAMESPACE to default env 2024-09-28 12:58:51 +02:00
Jonas Juselius 2bc0748ab8 fix: set otel loglevel to info 2024-09-28 10:17:53 +02:00
Jonas Juselius dbc230de9c fix: update opentelemetry and tempo manifests for service graphs 2024-09-27 20:00:11 +02:00
Jonas Juselius 58abecc074 fix: phase out jaeger in favor of tempo and otel collecotor 2024-09-27 19:59:22 +02:00
Jonas Juselius aac2b7bd2c feat: fix otel collector settings 2024-09-27 14:31:36 +02:00
Jonas Juselius c4b8ed8185 feat: add opentelemetry-collector 2024-09-27 11:44:36 +02:00
Jonas Juselius b5a3585fa7 fix: update loki 2024-09-27 11:03:57 +02:00
Jonas Juselius 2a37d6d182 fix: update loki 2024-09-27 08:54:36 +02:00
juselius 0f6f5cf14e fix: fix loki and tempo configs 2024-09-26 21:47:31 +02:00
juselius 50d2c88be2 fix: inline tempo and loki values 2024-09-26 21:30:02 +02:00
juselius 06b5b3e4a4 fix: add tempo s3 storage 2024-09-26 19:38:28 +02:00
juselius a1c6852173 feat: add loki with ingress 2024-09-26 19:10:00 +02:00
juselius 7d044764cb fix: add tempo ingress and storage 2024-09-26 19:09:38 +02:00
juselius 74d429ee49 feat: add tempo tracing 2024-09-26 18:09:56 +02:00
Jonas Juselius de4e9b9b22 fix: add script to install/update staging vluster (with persistence) 2024-09-19 13:16:19 +02:00
sematic-release bfbf4ffba7 ci: atlantis 2024-09-18 12:35:56 +00:00
stigrj 1ecd8eeb91 ci: atlantis 2024-09-18 12:31:12 +00:00
sematic-release 02ea91bb03 ci: atlantis 2024-09-18 10:46:03 +00:00
sematic-release 9115931e76 ci: sorcerer 2024-09-18 10:45:45 +00:00
stigrj 3896e1ec4f ci: atlantis 2024-09-18 10:41:28 +00:00
stigrj 625b0bf319 ci: sorcerer 2024-09-18 10:41:13 +00:00
sematic-release 0b99b54825 ci: atlantis 2024-09-18 09:02:46 +00:00
sematic-release 00f02e5067 ci: archmeister 2024-09-18 09:01:29 +00:00
sematic-release 2affcfb103 ci: petimeter 2024-09-18 09:00:11 +00:00
sematic-release ee491e25c0 ci: hipster 2024-09-18 08:59:18 +00:00
Jonas Juselius 189a6546f8 ci: atlantis 2024-09-18 08:58:07 +00:00
Jonas Juselius a5175488f6 ci: archmeister 2024-09-18 08:56:39 +00:00
Jonas Juselius 7fda8cecd9 ci: petimeter 2024-09-18 08:56:37 +00:00
Jonas Juselius e4bb425944 ci: hipster 2024-09-18 08:56:16 +00:00
Jonas Juselius d235a3cdea fix: fix atlantis appsettings 2024-09-13 17:35:32 +02:00
Jonas Juselius 74936fe9b7 ci: atlantis 2024-09-13 15:28:25 +00:00
Jonas Juselius 9dbedbcf75 ci: atlantis 2024-09-13 15:15:17 +00:00
Jonas Juselius 5c95f39c84 Merge branch 'kaih-csi-addons-network-policy' into 'main'
network policy for csi-addons controller

See merge request oceanbox/manifests!1
2024-09-13 15:06:45 +00:00
sematic-release 055aa404aa ci: sorcerer 2024-09-13 13:33:35 +00:00
Jonas Juselius a24e467991 ci: sorcerer 2024-09-13 13:29:12 +00:00
juselius 2c7a1baffe fix: add testing https client to dex 2024-09-03 11:04:12 +02:00
juselius b23305c5d9 fix: add test client to dex 2024-09-03 10:31:33 +02:00
Jonas Juselius ba56ee5dac fix: disable openfga playground 2024-08-28 10:14:53 +02:00
Jonas Juselius 2316c661b0 fix: fix openfga playground ingress 2024-08-28 10:09:14 +02:00
Jonas Juselius 91407d6ff4 fix: fix openfga playground ingress 2024-08-28 10:08:04 +02:00
Jonas Juselius acd2f17076 fix: fix openfga playground ingress 2024-08-28 10:01:47 +02:00
Jonas Juselius 898fa6e0c6 fix: fix openfga playground ingress 2024-08-28 09:58:07 +02:00
Jonas Juselius d7df338c95 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-08-28 09:56:14 +02:00
Jonas Juselius f9796e5208 feat: add openfga playground ingress 2024-08-28 09:55:49 +02:00
sematic-release a839bb48ec ci: hipster 2024-08-28 07:41:21 +00:00
stigrj e536345fe1 ci: hipster 2024-08-28 07:38:20 +00:00
Jonas Juselius 070220a26c fix: fix openfga values and screts 2024-08-28 09:38:08 +02:00
Jonas Juselius 1b44b49a4b fix: fix openfga values and screts 2024-08-28 09:13:44 +02:00
juselius 4419f911af fix: fix goTemplate typo 2024-08-27 16:53:46 +02:00
Jonas Juselius 696755f2dc fix: fix type 2024-08-27 16:02:35 +02:00
Jonas Juselius 2b473364be fix: don't use kustomize for openfga 2024-08-27 16:01:05 +02:00
Jonas Juselius 52514f32b8 fix: fix openfga chart file 2024-08-27 15:36:17 +02:00
Jonas Juselius ed71d76790 feat: add openfga app and kustomizations 2024-08-27 15:09:40 +02:00
sematic-release 29fc43f796 ci: atlantis 2024-08-26 13:30:16 +00:00
Jonas Juselius a78ebd1a96 ci: atlantis 2024-08-26 13:25:24 +00:00
sematic-release dcfd063be4 ci: atlantis 2024-08-26 13:08:10 +00:00
Jonas Juselius 56ada0e393 ci: atlantis 2024-08-26 13:03:19 +00:00
sematic-release e50d16dfec ci: atlantis 2024-08-26 12:15:40 +00:00
Jonas Juselius 6f239fe48c ci: atlantis 2024-08-26 12:10:58 +00:00
sematic-release a7b722b616 ci: atlantis 2024-08-25 14:31:51 +00:00
Jonas Juselius 3636f2eea4 ci: atlantis 2024-08-25 14:27:04 +00:00
sematic-release 818f037feb ci: atlantis 2024-08-24 12:31:33 +00:00
sematic-release 1b7e0e6635 ci: sorcerer 2024-08-24 12:27:12 +00:00
Jonas Juselius c4b8cee3f8 ci: atlantis 2024-08-24 12:26:39 +00:00
Jonas Juselius 7851681c35 ci: sorcerer 2024-08-24 12:22:50 +00:00
sematic-release 2a2e23b79f ci: atlantis 2024-08-24 11:04:43 +00:00
Jonas Juselius 1dcac4767d ci: atlantis 2024-08-24 10:59:58 +00:00
sematic-release e5b086f973 ci: atlantis 2024-08-23 12:44:46 +00:00
Jonas Juselius 3bce847954 ci: atlantis 2024-08-23 12:39:55 +00:00
Jonas Juselius e2a3ad50cb ci: archmeister 2024-08-22 16:35:58 +00:00
Jonas Juselius 7146d19f3c fix: fix archmeister staging internal api (take 4) 2024-08-22 16:09:06 +02:00
Jonas Juselius 823fabfae4 fix: fix archmeister staging internal api (take 3) 2024-08-22 16:06:48 +02:00
Jonas Juselius 17a4fb1622 fix: fix archmeister staging internal api (take 2) 2024-08-22 16:05:37 +02:00
Jonas Juselius e8f70357bf fix: upgrade vcluster dapr to 1.14.0 2024-08-22 16:03:05 +02:00
Jonas Juselius 8b48106f06 fix: fix archmeister staging internal api 2024-08-22 16:02:42 +02:00
Jonas Juselius 7f08fefd56 fix: add explict whitelist patch to archmesiter staging 2024-08-22 15:55:18 +02:00
Jonas Juselius e922693b52 ci: atlantis 2024-08-22 13:21:21 +00:00
sematic-release da2ceeed52 ci: hipster 2024-08-22 12:37:29 +00:00
Jonas Juselius a278190fd3 ci: hipster 2024-08-22 12:34:29 +00:00
sematic-release 032f4701b9 ci: hipster 2024-08-22 12:14:20 +00:00
Jonas Juselius d8e5b48488 ci: hipster 2024-08-22 12:11:21 +00:00
Jonas Juselius 394d035969 fix: add akerbla, nr, sjomatnorge and tatidentilbake to acl 2024-08-22 13:20:47 +02:00
sematic-release a8e17b0bca ci: sorcerer 2024-08-21 14:14:58 +00:00
sematic-release 83a2e97568 ci: archmeister 2024-08-21 14:14:27 +00:00
Jonas Juselius 5cb15f3a87 ci: sorcerer 2024-08-21 14:10:26 +00:00
Jonas Juselius 5b72f938ba ci: archmeister 2024-08-21 14:09:30 +00:00
Jonas Juselius 2f2d5ba787 ci: sorcerer 2024-08-19 07:43:00 +00:00
Jonas Juselius 5e3dbe5e6d fix: add Sinkberg to acl 2024-08-14 13:04:55 +02:00
Jonas Juselius ef1136f16d fix: set staging replicacounts to 1 2024-08-12 16:13:38 +02:00
Jonas Juselius df481c0cd2 fix: update replica count and session affinity for sorcerer 2024-08-12 15:37:46 +02:00
Jonas Juselius f7a704cf84 fix: update replica count for hipster and petimeter 2024-08-12 14:30:57 +02:00
Jonas Juselius 30191b1491 fix: update replica count for archmeister 2024-08-12 14:27:12 +02:00
Jonas Juselius 6422c7e7f2 fix: set deploy_name for atlantis redis scaleout 2024-08-12 14:21:38 +02:00
Jonas Juselius 7b42000743 fix: disable session affinity for atlantis 2024-08-12 14:19:05 +02:00
sematic-release ee9b8c0e10 ci: atlantis 2024-08-12 12:04:03 +00:00
Jonas Juselius 4c4edc285c ci: atlantis 2024-08-12 11:59:06 +00:00
sematic-release ed486baefd ci: atlantis 2024-08-11 08:20:36 +00:00
Jonas Juselius cb80883161 ci: atlantis 2024-08-11 08:15:53 +00:00
sematic-release b61f29d8ee ci: atlantis 2024-08-10 07:19:59 +00:00
Jonas Juselius e462f0b4ec ci: atlantis 2024-08-10 07:15:19 +00:00
juselius b3fa5bac98 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-08-09 22:42:32 +02:00
juselius 306a223592 feat: set atlantis ingress http session affinity 2024-08-09 22:42:22 +02:00
sematic-release e9da4a9ab6 ci: atlantis 2024-08-09 20:36:49 +00:00
Jonas Juselius 1e90a6bfab ci: atlantis 2024-08-09 20:31:40 +00:00
juselius c243de22c8 fix: enable atlantis autosync 2024-08-09 15:41:34 +02:00
juselius 00c0873eed fix: set staging atlantis 2 replica 2024-08-09 15:30:38 +02:00
juselius c6b66cf363 fix: set staging atlantis 1 replica 2024-08-09 15:26:53 +02:00
juselius ff584303c4 fix: disable atlantis autosync for now 2024-08-09 15:23:10 +02:00
Jonas Juselius bbcf79aeb3 feat: run staging-atlantis in 2 replicas 2024-08-09 12:44:07 +02:00
sematic-release 4bce2dd19f ci: atlantis 2024-08-09 10:35:19 +00:00
Jonas Juselius 8fd46c5362 ci: atlantis 2024-08-09 10:30:37 +00:00
Jonas Juselius 2e096f77c8 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-08-09 12:26:29 +02:00
Jonas Juselius 621120aa03 fix: update atlantis appsettings for redis 2024-08-09 12:26:25 +02:00
sematic-release 27b6edb2f8 ci: atlantis 2024-08-08 11:09:41 +00:00
Jonas Juselius ac213969e1 ci: atlantis 2024-08-08 11:05:14 +00:00
juselius 91bb327f25 fix: fix sorcerer prod deployment patch 2024-07-05 16:33:25 +02:00
juselius 09f6bd9e11 feat: mount both /backup and /archives for now 2024-07-05 15:58:49 +02:00
Jonas Juselius daefa1130d Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-07-02 19:03:08 +02:00
Jonas Juselius 2b4b619236 fix: make sorcerer run on fs-backup for now 2024-07-02 19:02:55 +02:00
Jonas Juselius a70ca81fb3 ci: sorcerer 2024-07-02 10:46:34 +00:00
Jonas Juselius f297475534 fix: add stub argocd cluster connection configs 2024-06-21 08:52:25 +02:00
Jonas Juselius 3eaf3d61fc fix: fix yolo-dl volume mounts (take 3) 2024-06-20 12:41:29 +02:00
Jonas Juselius 0b50437b9b fix: move manifests to charts/yolo-dl and fix volume mounts 2024-06-20 12:14:26 +02:00
Jonas Juselius 2112d3decc feat: add yolo-dl application 2024-06-20 09:43:01 +02:00
Jonas Juselius 3b0b261092 fix: ignore cpu limit diffs for redis 2024-06-19 13:07:59 +02:00
Jonas Juselius 8827153ac3 fix: fix atlantis resource diffing and ignores 2024-06-19 12:02:18 +02:00
Jonas Juselius 423d6c7a63 fix: only run busynix in staging 2024-06-19 12:01:38 +02:00
Jonas Juselius 05295eafe7 feat: use explicit clone annotation to clone rabbitmq and redis secrets 2024-06-19 11:09:53 +02:00
Jonas Juselius fd2d757504 fix: modify the source rabbitmq secret before clone 2024-06-19 10:55:03 +02:00
Jonas Juselius 9b7dc4d51b fix: revert rabbitmq and redis cpol simplifications 2024-06-19 10:23:01 +02:00
juselius a7382d8cdf fix: simplify kyverno rules using operations: 2024-06-18 15:46:12 +02:00
juselius 63dabec1b9 fix: add atlantis namespace to secrets 2024-06-18 15:24:42 +02:00
juselius 2a4ff8ce59 fix: use vcluster chart from local repo 2024-06-18 15:10:57 +02:00
juselius f2ee92c78f fix: argo ignore changes to redis and rabbitmq sercrets (set via kyverno) 2024-06-18 15:10:32 +02:00
juselius 5d9930cba2 fix: move redis and rabbitmq secrets to resources 2024-06-18 15:09:44 +02:00
Jonas Juselius 7a53370c6c fix: create placeholder secrets for rabbitmq and redis 2024-06-13 13:11:20 +02:00
Jonas Juselius bfef95f5ec fix: sync redis and rabbitmq secrets only if they exist 2024-06-13 13:04:43 +02:00
sematic-release 569e12ad59 ci: atlantis 2024-06-12 18:54:41 +00:00
Jonas Juselius 3229012a3c ci: atlantis 2024-06-12 18:49:56 +00:00
juselius 73a828c8e9 fix: add redis and rabbitmq secrets to labeled vcluster namepspaces 2024-06-12 20:17:13 +02:00
Jonas Juselius 21323e0b37 fix: tweak redis resources 2024-06-10 14:49:18 +02:00
Jonas Juselius 9dbfde76bd fix: tweak redis resources 2024-06-10 14:48:21 +02:00
Jonas Juselius 832eb5766b fix: tweak redis resources 2024-06-10 14:46:56 +02:00
Jonas Juselius 351939706a fix: tweak redis resources 2024-06-10 12:48:14 +02:00
Jonas Juselius 06affea347 fix: tweak redis resources 2024-06-10 12:11:22 +02:00
Jonas Juselius 4c35c489b3 fix: tweak redis resources 2024-06-10 10:41:51 +02:00
Jonas Juselius eebfe4e583 fix: fix redis nodeport (take 3) 2024-06-10 10:28:07 +02:00
Jonas Juselius 4b7337677b fix: fix redis nodeport (take 2) 2024-06-10 10:26:11 +02:00
Jonas Juselius 3457879466 fix: fix redis nodeport 2024-06-10 10:16:31 +02:00
Jonas Juselius c7338b4dce fix: fix typo 2024-06-10 10:12:48 +02:00
Jonas Juselius 148170c3ed Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-06-10 10:01:13 +02:00
Jonas Juselius 156da412f3 fix: simplyfy redis, and run staging in standalone mode 2024-06-10 10:01:03 +02:00
juselius 1fad11992f fix: run prod rabbitmq in a 3 quorum cluster 2024-06-08 14:00:23 +02:00
Jonas Juselius 50925f3f9e Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-06-06 15:30:44 +02:00
Jonas Juselius 2fc4249a22 fix: rabbitmq replicas staging=1 2024-06-06 15:30:34 +02:00
sematic-release 75a61bfd60 ci: hipster 2024-06-06 13:03:42 +00:00
Jonas Juselius 3430c02d40 ci: archmeister 2024-06-06 13:03:30 +00:00
Jonas Juselius 8966224736 ci: petimeter 2024-06-06 13:01:54 +00:00
Jonas Juselius 3b4c727619 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-06-06 15:01:17 +02:00
Jonas Juselius 2cdab2c5c9 fix: rabbitmq replicas prod=1 staging=2 2024-06-06 15:01:08 +02:00
Jonas Juselius 80742c41dc ci: atlantis 2024-06-06 13:01:02 +00:00
Jonas Juselius a2f066ac28 ci: hipster 2024-06-06 13:00:36 +00:00
Jonas Juselius 178c1310ad ci: sorcerer 2024-06-06 12:05:46 +00:00
Jonas Juselius 8fb71916b1 devell: remove leftover cruft 2024-06-06 13:53:22 +02:00
Jonas Juselius 052b06843d feat: make appsettings a configmap 2024-06-06 13:23:58 +02:00
Jonas Juselius e146a67afd feat: make appsettings a configmap 2024-06-06 13:18:45 +02:00
Jonas Juselius dd769158ae fix: update dex manifests/ to kustomizations/ (final) 2024-06-06 12:54:58 +02:00
Jonas Juselius d07fdbe356 fix: update dex manifests/ to kustomizations/ 2024-06-06 12:52:05 +02:00
Jonas Juselius 956838404b fix: update manifests/ to kustomizations/ 2024-06-06 12:48:54 +02:00
Jonas Juselius 07bc85ee48 fix: update sorcerer allowed origins 2024-06-06 12:41:42 +02:00
Jonas Juselius 5fef65774a fix: fix tilt/dev oidc redirect urls 2024-06-06 12:37:55 +02:00
Jonas Juselius 3166dc921a fix: fix vcluster creation script 2024-06-06 10:18:36 +02:00
Jonas Juselius 713e9f1fc4 fix: update dapr manifest api version 2024-06-06 08:52:33 +02:00
Jonas Juselius accd4d3e4e devel: rename manifests/ to kustomizations/ 2024-06-06 08:52:13 +02:00
Jonas Juselius e0af3046ca fix: automatically create atlantis ns on vcluster spinup 2024-06-06 08:50:41 +02:00
Jonas Juselius 9939db5afb fix: fix vcluster chart name 2024-06-06 08:31:21 +02:00
Jonas Juselius a45351700e feat: add appId to rabbitmq client name 2024-06-05 12:54:12 +02:00
Jonas Juselius 501d6bbe7d fix: update oceanbox repo in init.sh 2024-06-05 12:48:29 +02:00
Jonas Juselius 1fd1c78eb9 fix: fix dex resources 2024-06-05 11:47:17 +02:00
Jonas Juselius dee2082624 fix: fix manifests path in dex 2024-06-05 11:28:28 +02:00
Jonas Juselius 317ebe4403 feat: improved helm chart and repo support 2024-06-05 10:16:00 +02:00
Jonas Juselius 0c53cc454f fix: updates for new charts/manifests structure 2024-06-04 20:45:22 +02:00
Jonas Juselius c0f9f38207 feat: move vcluster charts to charts/ 2024-06-04 15:04:12 +02:00
Jonas Juselius 351fce65f5 fix: update dapr version in vcluster 2024-06-04 15:01:28 +02:00
Jonas Juselius 10ee204d98 feat: update apps to new chart and manifest structure 2024-06-04 15:00:58 +02:00
Jonas Juselius 84d6a8a401 fix: update dapr configs with env name 2024-06-04 15:00:26 +02:00
Jonas Juselius e4cfba439a fix: fix build pipeline for helm charts 2024-06-04 13:22:32 +02:00
Jonas Juselius f37c8654e4 feat: add charts to manifests repo in separate folder 2024-06-04 13:18:54 +02:00
Jonas Juselius 01a1893a4a feat: migrate to external chart repo 2024-06-04 12:50:41 +02:00
juselius c71a991a8d wip: reenable use of deploy env in dapr app-id 2024-06-04 10:08:01 +02:00
Jonas Juselius e102552fdc ci: sorcerer 2024-05-31 13:20:05 +00:00
Jonas Juselius ae15aed80b Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-05-31 14:54:43 +02:00
Jonas Juselius e1ae63a355 fix: update run caps for /lerøy in acl 2024-05-31 14:54:34 +02:00
Jonas Juselius c8c827d59d ci: sorcerer 2024-05-31 10:19:20 +00:00
sematic-release 32c18be199 ci: archmeister 2024-05-30 17:40:54 +00:00
Jonas Juselius 81ca527d9d ci: archmeister 2024-05-30 17:35:53 +00:00
sematic-release becb14d9f0 ci: atlantis 2024-05-30 16:57:25 +00:00
Jonas Juselius 7ea9b64fd3 ci: atlantis 2024-05-30 16:52:38 +00:00
sematic-release 03fe52f4d9 ci: petimeter 2024-05-30 16:42:13 +00:00
Jonas Juselius 5d597499ea ci: petimeter 2024-05-30 16:38:43 +00:00
sematic-release 9e52ab30c1 ci: petimeter 2024-05-30 16:15:12 +00:00
Jonas Juselius 68f32481ba ci: petimeter 2024-05-30 16:11:41 +00:00
sematic-release 5678309d12 ci: atlantis 2024-05-30 14:25:19 +00:00
Jonas Juselius dcd1c6c7de ci: atlantis 2024-05-30 14:20:38 +00:00
sematic-release 71efeaff2b ci: archmeister 2024-05-30 14:20:02 +00:00
Jonas Juselius 9acb343ee4 ci: archmeister 2024-05-30 14:15:18 +00:00
sematic-release 8489c19069 ci: petimeter 2024-05-30 14:14:54 +00:00
Jonas Juselius 3338eff2ab ci: petimeter 2024-05-30 14:11:15 +00:00
sematic-release d7226d1493 ci: petimeter 2024-05-30 13:43:33 +00:00
Jonas Juselius 131ffc99ad ci: petimeter 2024-05-30 13:40:04 +00:00
sematic-release 8d61a21ef3 ci: petimeter 2024-05-30 13:15:11 +00:00
Jonas Juselius bf288d1820 ci: petimeter 2024-05-30 13:11:37 +00:00
hanssenkai 01743a0422 network policy for csi-addons controller 2024-05-30 14:45:59 +02:00
sematic-release 637336630b ci: atlantis 2024-05-30 12:43:30 +00:00
sematic-release 2ed24b105a ci: archmeister 2024-05-30 12:42:12 +00:00
sematic-release 9f8871197f ci: petimeter 2024-05-30 12:39:13 +00:00
Jonas Juselius 4a10713f43 ci: atlantis 2024-05-30 12:38:59 +00:00
Jonas Juselius 3a3a1e949d ci: archmeister 2024-05-30 12:37:13 +00:00
Jonas Juselius c58c71f2af ci: archmeister 2024-05-30 12:36:36 +00:00
Jonas Juselius 60e0a02ff1 ci: petimeter 2024-05-30 12:35:44 +00:00
sematic-release c687beeb67 ci: hipster 2024-05-30 12:16:34 +00:00
Jonas Juselius 8eb6749eb8 ci: hipster 2024-05-30 12:13:29 +00:00
Jonas Juselius 79ff024dfb fix: don't selfHeal atlantis resources 2024-05-30 13:47:39 +02:00
Jonas Juselius 0ca373930e Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-05-30 13:40:02 +02:00
Jonas Juselius 8851c07257 fix: don't selfHeal atlantis resources 2024-05-30 13:39:02 +02:00
sematic-release 9bc56bdcb9 ci: petimeter 2024-05-30 10:20:14 +00:00
sematic-release 36bf5a667e ci: hipster 2024-05-30 10:17:26 +00:00
Jonas Juselius e0c0f144d1 ci: petimeter 2024-05-30 10:16:30 +00:00
sematic-release 0673b6699a ci: archmeister 2024-05-30 10:16:24 +00:00
Jonas Juselius bbe6a13229 ci: hipster 2024-05-30 10:14:25 +00:00
Jonas Juselius 973dcdf490 ci: archmeister 2024-05-30 10:11:23 +00:00
Jonas Juselius 876f7cf55b fix: fix scoping error for redis state store 2024-05-30 10:56:00 +02:00
Jonas Juselius be3be3c816 fix: run two redis instances 2024-05-30 10:55:38 +02:00
Jonas Juselius 9c489ab651 fix: update argo helm plugin setup 2024-05-30 10:55:07 +02:00
Jonas Juselius 17aeae836f fix: vcluster active wait for cluster to appear 2024-05-30 10:54:09 +02:00
Jonas Juselius 7220cad121 fix: tweak dapr annotations and limits 2024-05-30 10:33:50 +02:00
Jonas Juselius b4499db3ea fix: set dapr scope on state store 2024-05-30 10:15:07 +02:00
juselius 10be10574e Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-05-29 19:45:03 +02:00
Jonas Juselius 5af465c307 ci: atlantis 2024-05-29 16:37:42 +00:00
Jonas Juselius bd036bb4e8 devel: remove lint and cruft 2024-05-29 18:31:33 +02:00
Jonas Juselius 1548508954 ci: atlantis 2024-05-29 16:11:43 +00:00
Jonas Juselius 13bf08aebd ci: archmeister 2024-05-29 16:00:07 +00:00
juselius 69a7bd2943 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-05-29 16:56:08 +02:00
sematic-release 0714cefb2b ci: petimeter 2024-05-29 14:10:03 +00:00
Jonas Juselius 665d23c7e4 ci: atlantis 2024-05-29 14:09:33 +00:00
Jonas Juselius c4ff6923a5 ci: petimeter 2024-05-29 14:07:33 +00:00
Jonas Juselius dc2012b083 ci: hipster 2024-05-29 13:49:56 +00:00
Jonas Juselius 95e8e5940c ci: petimeter 2024-05-29 10:20:22 +00:00
Jonas Juselius 65ee4efd62 fix: fix jaeger chart version 2024-05-29 10:34:36 +02:00
Jonas Juselius af1b0d7ee0 fix: update jaeger chart 2024-05-29 10:26:58 +02:00
Jonas Juselius 9e4457cae4 debug: disable safe heal for atlantis services 2024-05-29 08:56:59 +02:00
Jonas Juselius 06e963ddc6 feat: migrate prod sorcerer to cephfs! 2024-05-27 20:01:21 +02:00
Jonas Juselius 6eb95bfd3f fix: let staging sorcerer use any srv node 2024-05-27 14:34:21 +02:00
Jonas Juselius d69c2069b5 feat: migrate staging sorcerer to cephfs! 2024-05-27 14:28:35 +02:00
Jonas Juselius 9b8d50c00d fix: temporarily use /backup/archives for sorcerer (take 2) 2024-05-16 14:36:55 +02:00
Jonas Juselius e6e5d074e8 fix: temporarily use /backup/archives for sorcerer 2024-05-16 14:20:25 +02:00
juselius 90e2d0a20d feat: add clusterwide cilium egress to ceph cluster 2024-05-15 18:59:48 +02:00
Jonas Juselius 6b66bc23a3 fix: change rabbitmq prod replica count to 2 2024-05-14 09:25:51 +02:00
juselius 6ad2b10fe0 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-05-10 09:03:59 +02:00
juselius e188378eb8 acl: add boehareide 2024-05-10 09:03:48 +02:00
Jonas Juselius e782577311 fix: explicitly disable selfHeal for sorcerer 2024-05-07 12:25:42 +02:00
Jonas Juselius 7e58e93184 fix: update dapr version in vcluster 2024-05-07 12:22:13 +02:00
Jonas Juselius 8a02bd8f84 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-05-07 12:01:14 +02:00
Jonas Juselius e643eecb7a ci: atlantis 2024-04-26 10:14:34 +00:00
Jonas Juselius 545e8657c1 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-04-26 09:44:38 +02:00
gitlab-ci e993393f88 ci: atlantis 2024-04-25 12:50:45 +00:00
Jonas Juselius e1f68b3942 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-04-25 14:49:38 +02:00
Jonas Juselius 1f63af30ad fix: change exp subdomain to ekman (I can't decide...) 2024-04-25 14:49:32 +02:00
Jonas Juselius 72a7b18da6 ci: atlantis 2024-04-25 12:44:41 +00:00
gitlab-ci b82cb90e53 ci: sorcerer 2024-04-25 10:42:07 +00:00
Jonas Juselius 486a2ea8e1 ci: sorcerer 2024-04-25 10:37:59 +00:00
Jonas Juselius 5eca3281c9 fix: fix cors urls 2024-04-24 16:19:46 +02:00
Jonas Juselius 92fc9996a4 fix: update sorcerer url 2024-04-24 15:18:11 +02:00
Jonas Juselius d94981a81d fix: update sorcerer url 2024-04-24 15:14:21 +02:00
Jonas Juselius 3bc988c2d9 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-04-24 15:13:01 +02:00
Jonas Juselius 22ba3b81a9 fix: deploy sorcere to sorcrer ns again, and fix names 2024-04-24 15:12:32 +02:00
Jonas Juselius 1ffe86c69b ci: hipster 2024-04-24 11:39:27 +00:00
Jonas Juselius fdbe5c0d3d ci: petimeter 2024-04-24 11:39:00 +00:00
juselius feabf3edf2 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-04-23 15:57:16 +02:00
juselius 0db89c5c92 fix: update appsettings and redicert urls for tilt services 2024-04-23 15:57:07 +02:00
Jonas Juselius 36b954b9f7 ci: petimeter 2024-04-23 12:19:26 +00:00
Jonas Juselius 426f049af5 ci: hipster 2024-04-23 12:14:21 +00:00
juselius 0894be86f4 fix: tunnel cerbos service 2024-04-23 13:49:33 +02:00
Jonas Juselius 7c18a9bfdb feat: add cronjob to sync asp.net sso keys 2024-04-22 12:40:52 +02:00
Jonas Juselius ba2b1d9b2c fix: make create cluster more flexible and robust 2024-04-22 10:26:37 +02:00
juselius 62d65e5573 fix: use common cookie domain for prod and staging 2024-04-21 09:26:18 +02:00
juselius 39b254637c fix: fix keycloak ingress after chart update 2024-04-20 19:17:49 +02:00
juselius d435b1c42a fix: add a bit of sleep 2024-04-20 19:01:06 +02:00
juselius b5983a23ca fix: fix token base64 decoding 2024-04-20 19:00:52 +02:00
juselius 44223c5ed1 fix: fix atlantis prod resource namespaces and application 2024-04-20 18:45:50 +02:00
Jonas Juselius c96a86a141 feat: add script to update argo vcluster connection tokens 2024-04-20 08:19:42 +02:00
Jonas Juselius 3b44b6040f feat: add vcluster connection to argo upon creation 2024-04-20 08:18:34 +02:00
Jonas Juselius 32dbc9b4d2 feat: add oidc to apiserver and crb 2024-04-20 08:17:32 +02:00
Jonas Juselius 361d067638 fix: update vcluster chart version and stuff 2024-04-20 08:16:48 +02:00
Jonas Juselius 6b749bc975 fix: fix template error 2024-04-20 08:15:43 +02:00
Jonas Juselius 1b76b76f1f fix: set explicit namespace on resources 2024-04-20 08:14:45 +02:00
Jonas Juselius b91f4b829b fix: change staging vluster url/name 2024-04-20 08:14:00 +02:00
Jonas Juselius 74181b06b9 feat: globally allow oidc login via microsoft 2024-04-18 15:49:53 +02:00
Jonas Juselius 1fdf1e0cf8 fix: fix atlantis.local rediect url for tilt 2024-04-10 12:58:03 +02:00
Jonas Juselius cd0eb2455b fix: up resource limits for archmeister 2024-04-02 08:36:10 +02:00
gitlab-ci cb135c9eba ci: atlantis 2024-03-26 09:24:20 +00:00
Jonas Juselius d14799703d ci: atlantis 2024-03-26 09:18:47 +00:00
Jonas Juselius fc771cd38e fix: update atlantis redriect urls 2024-03-25 13:01:24 +01:00
Jonas Juselius eda80a5ff5 fix: update allowed cors origins for sorcerer and archmeister dev 2024-03-25 12:38:54 +01:00
Jonas Juselius e498f85302 fix: update atlantis redriect urls 2024-03-25 12:20:11 +01:00
gitlab-ci 48776c52af ci: sorcerer 2024-03-19 10:55:44 +00:00
stigrj 3cbd136ce7 ci: sorcerer 2024-03-19 10:51:22 +00:00
gitlab-ci bc13003c33 ci: sorcerer 2024-03-19 09:19:06 +00:00
stigrj ec935572ba ci: sorcerer 2024-03-19 09:14:44 +00:00
gitlab-ci c7fc1c7c32 ci: sorcerer 2024-03-19 08:52:54 +00:00
stigrj 86a49dbd5c ci: sorcerer 2024-03-19 08:48:22 +00:00
Jonas Juselius 6d288c37be ci: sorcerer 2024-03-19 08:23:17 +00:00
Jonas Juselius 9ea8ce6315 fix: rename archmeister db names and secrets to staging for consistency 2024-03-13 10:23:01 +01:00
Jonas Juselius da9ce1dfb2 fix: fix database service and secret naming 2024-03-13 09:26:27 +01:00
Jonas Juselius e2359cdaf3 fix: add barentswatch creds 2024-03-12 14:06:55 +01:00
Jonas Juselius 7dabdf2846 fix: fix dapr install (missing cnp) 2024-03-12 10:24:05 +01:00
juselius 2d834c44a1 fix: add atlas and beta to atlantis.beta redir urls 2024-03-11 20:10:59 +01:00
juselius 16b98ca445 debug: experimenting with cookie domain 2024-03-11 19:44:36 +01:00
Jonas Juselius 608cf98661 fix: fix geoserver internal ingress 2024-03-11 15:13:12 +01:00
Jonas Juselius 40b0ff7a41 fix: set geoserver admin password from existing secret 2024-03-11 15:04:21 +01:00
Jonas Juselius 4549005ada fix: use normal seq ingress 2024-03-11 10:55:06 +01:00
Jonas Juselius e66dc910c7 fix: use production certs for seq 2024-03-11 10:51:02 +01:00
Jonas Juselius c7f624b33d debug: try alternative ingestion url for seq 2024-03-11 10:42:21 +01:00
Jonas Juselius db42092f47 fix: fix seq api keys for new seq server 2024-03-11 10:20:58 +01:00
Jonas Juselius 064c953d45 fix: fix seq api keys for new seq server 2024-03-11 09:49:58 +01:00
Jonas Juselius 497ee084e6 fix: change issuer and redirect to idp.oceanbox.io 2024-03-11 09:12:54 +01:00
Jonas Juselius 48bc79853f fix: change issuer and redirect to idp.oceanbox.io 2024-03-11 09:09:04 +01:00
Jonas Juselius d7a3658c5b fix: fix dex application chart 2024-03-11 08:34:55 +01:00
Jonas Juselius 2e34c48c7a fix: fix dex keycloak client 2024-03-11 08:28:31 +01:00
juselius debfb1e3b1 fix: revert cookie domain to .oceanbox.io 2024-03-10 14:08:50 +01:00
juselius 6bfc37c723 major: flipping everything over to new k9s cluster! 2024-03-10 13:31:38 +01:00
juselius 39f9f70a70 fix: fix hipster external rabbitmq port 2024-03-09 20:07:03 +01:00
juselius 7fc84977b1 fix: add policy to allow external rabbitmq traffic 2024-03-09 20:05:16 +01:00
juselius 2aa6de5d99 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-03-09 20:00:22 +01:00
juselius 467a3b5545 fix: fix rabbitmq nodeport selector 2024-03-09 20:00:10 +01:00
gitlab-ci 920defbaaf ci: atlantis 2024-03-09 07:51:28 +00:00
Jonas Juselius 5bbc37277c ci: atlantis 2024-03-09 07:45:38 +00:00
juselius ca428222ad fix: fix rabbitmq http nodeport 2024-03-09 08:28:11 +01:00
juselius e45d4cb473 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-03-09 08:21:41 +01:00
juselius c44fa90d5e fix: fix rabbitmq connection 2024-03-09 08:21:30 +01:00
Jonas Juselius 50b4cb669a ci: hipster 2024-03-09 06:51:10 +00:00
gitlab-ci f3e9d171c0 ci: atlantis 2024-03-08 19:35:32 +00:00
juselius 09d1387ff7 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-03-08 20:32:29 +01:00
juselius ec0733d54f fix: try fix hipster slurm events (take 4) 2024-03-08 20:32:18 +01:00
Jonas Juselius 46279ece77 ci: atlantis 2024-03-08 19:29:45 +00:00
gitlab-ci 77b7ec0037 ci: atlantis 2024-03-08 19:16:50 +00:00
juselius 017463a330 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-03-08 20:11:36 +01:00
juselius 72f1abb06e fix: try fix hipster slurm events 2024-03-08 20:11:26 +01:00
Jonas Juselius 61ce347927 ci: atlantis 2024-03-08 19:10:50 +00:00
juselius e3ce874d50 fix: fix wrong internal port (take 2) 2024-03-08 19:50:37 +01:00
juselius 62a5b0860c fix: fix wrong internal port 2024-03-08 19:46:26 +01:00
juselius 0d224acda3 fix: enable dead letter queues or hell will break lose 2024-03-08 19:37:59 +01:00
juselius ebf4b140b2 fix: unsimplify slurm event queue name a bit 2024-03-08 19:34:34 +01:00
juselius e7161a6666 fix: simplify slurm event queue name 2024-03-08 19:27:07 +01:00
Jonas Juselius a4ac65c40a fix: fix archmeister wrong deployEnv setting 2024-03-08 16:02:54 +01:00
Jonas Juselius 39d6c6ee7d feat: move auxiliary services to aux project 2024-03-08 14:20:36 +01:00
Jonas Juselius 33891cd20e test: mv seq to aux project 2024-03-08 14:15:02 +01:00
Jonas Juselius e7629a49d3 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-03-08 14:03:00 +01:00
Jonas Juselius 085ffb523e fix: fix cookie domains 2024-03-08 14:02:51 +01:00
gitlab-ci 89827a4399 ci: atlantis 2024-03-08 12:56:55 +00:00
Jonas Juselius 4f21bc07bf ci: atlantis 2024-03-08 12:50:54 +00:00
Jonas Juselius b03f196727 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-03-08 12:20:10 +01:00
Jonas Juselius 0449e904b4 fix: update domains for better cookie hygiene 2024-03-08 12:20:00 +01:00
gitlab-ci 656ae05253 ci: sorcerer 2024-03-08 10:58:49 +00:00
Jonas Juselius 06cc2561a1 Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-03-08 11:55:21 +01:00
Jonas Juselius 758ef9adde fix: change sso cookie domain for prod and staging 2024-03-08 11:55:10 +01:00
Jonas Juselius afb6e3914d ci: sorcerer 2024-03-08 10:54:18 +00:00
gitlab-ci 72a41d732e ci: petimeter 2024-03-08 10:15:44 +00:00
Jonas Juselius 9866036272 ci: petimeter 2024-03-08 10:12:19 +00:00
Jonas Juselius 017f14e95f Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-03-08 10:56:31 +01:00
gitlab-ci 5467bcdd79 ci: archmeister 2024-03-08 09:54:18 +00:00
Jonas Juselius 97157e5911 fix: add deployName to appsettings 2024-03-08 10:53:28 +01:00
Jonas Juselius e68d39e883 ci: archmeister 2024-03-08 09:49:36 +00:00
Jonas Juselius 944e19a8de Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-03-08 10:46:54 +01:00
Jonas Juselius 020efc1627 fix: add deployEnv to appsettings 2024-03-08 10:46:43 +01:00
gitlab-ci 5f4b7c413a ci: atlantis 2024-03-08 09:20:27 +00:00
Jonas Juselius 8cefc5fa10 ci: atlantis 2024-03-08 09:14:22 +00:00
gitlab-ci 1c56a7127a ci: atlantis 2024-03-08 09:06:30 +00:00
Jonas Juselius b00af494fd ci: atlantis 2024-03-08 09:00:40 +00:00
gitlab-ci a035db6c72 ci: atlantis 2024-03-08 08:58:21 +00:00
Jonas Juselius fcdc019cb5 ci: atlantis 2024-03-08 08:52:24 +00:00
Jonas Juselius 6a1400b106 fix: add deployName to appsettings 2024-03-08 09:43:57 +01:00
Jonas Juselius e8de9a6780 fix: add hubble-ui ingress with oauth2-proxy 2024-03-08 08:57:36 +01:00
Jonas Juselius 1132a9f58a fix: disable ingress for default busynix 2024-03-07 09:54:14 +01:00
Jonas Juselius 57fb261a66 fix: allow slurm-restd traffic in atlantis 2024-03-06 13:11:21 +01:00
Jonas Juselius 00ad12d88a fix: get rid of rabbitmq password in values 2024-03-06 08:45:27 +01:00
Jonas Juselius f42f311ac9 fix: prevent redis password from being regenerated at every upgrade 2024-03-06 08:44:56 +01:00
gitlab-ci 5b538414e2 ci: hipster 2024-03-05 14:44:13 +00:00
Jonas Juselius e81af536c3 ci: archmeister 2024-03-05 14:43:45 +00:00
Jonas Juselius 62ae4bd74b ci: hipster 2024-03-05 14:41:05 +00:00
Jonas Juselius 6914a3762c Merge branch 'main' of gitlab.com:oceanbox/manifests 2024-03-05 15:40:52 +01:00
Jonas Juselius 4e15e8357f deploy: update appsettings with new cerbos url 2024-03-05 15:40:38 +01:00
Jonas Juselius b9a84f8682 ci: hipster 2024-03-05 14:38:26 +00:00
gitlab-ci 8c59ebc5b4 ci: archmeister 2024-03-05 12:11:43 +00:00
Jonas Juselius ec8ec832ec ci: archmeister 2024-03-05 12:07:02 +00:00
Jonas Juselius f9886a5f76 fix: allow cerbos external telemetry data 2024-03-05 12:45:31 +01:00
juselius 2410295c03 fix: fix archmeister internal ingress patch 2024-03-04 10:23:04 +01:00
gitlab-ci 8d94406425 ci: atlantis 2024-02-29 12:09:53 +00:00
gitlab-ci 547c5b2eae ci: sorcerer 2024-02-29 12:06:41 +00:00
stigrj 3a552e5206 ci: atlantis 2024-02-29 12:04:01 +00:00
stigrj 54a5313131 ci: sorcerer 2024-02-29 12:01:55 +00:00
gitlab-ci b20cca5b57 ci: sorcerer 2024-02-28 18:04:53 +00:00
Jonas Juselius 976967e1dd ci: sorcerer 2024-02-28 17:59:53 +00:00
stigrj f33eea3044 ci: archmeister 2024-02-28 13:47:26 +00:00
gitlab-ci 38898cd7bd ci: sorcerer 2024-02-23 19:32:09 +00:00
Jonas Juselius 3caaf20d45 ci: sorcerer 2024-02-23 19:27:15 +00:00
gitlab-ci 4e9eed9004 ci: sorcerer 2024-02-23 15:56:36 +00:00
stigrj e1e9cddea4 ci: sorcerer 2024-02-23 15:51:48 +00:00
gitlab-ci b1817e8690 ci: archmeister 2024-02-23 15:42:54 +00:00
stigrj ff5ff14d49 ci: archmeister 2024-02-23 15:38:09 +00:00
gitlab-ci ea3b0b71b9 ci: sorcerer 2024-02-23 13:53:55 +00:00
gitlab-ci 4dd5e2f4db ci: petimeter 2024-02-23 13:50:42 +00:00
gitlab-ci 5627b3e332 ci: hipster 2024-02-23 13:50:13 +00:00
Jonas Juselius f3b77e91b3 ci: atlantis 2024-02-23 13:46:39 +00:00
Jonas Juselius 70755932b2 ci: archmeister 2024-02-23 13:38:53 +00:00
Jonas Juselius 12a6b001e5 fix: swich back from dev to main 2024-02-23 13:59:37 +01:00
503 changed files with 71633 additions and 1796 deletions
+1
View File
@@ -0,0 +1 @@
use nix
+4
View File
@@ -1,2 +1,6 @@
*.tgz
_*/
.direnv/
.pre-commit-config.yaml
_manifest.yaml
_resources.yaml
+4 -4
View File
@@ -14,8 +14,8 @@ release:
script:
- |
cd $CI_PROJECT_DIR
for i in $(git show --pretty="" --name-only | grep '^[^/]*/chart/Chart.yaml' | cut -d/ -f1); do
pack=$(helm package $i/chart | sed 's/Success.*: \(.*\)/\1/')
for i in $(git show --pretty="" --name-only | grep '^charts/.*/Chart.yaml' | cut -d/ -f2); do
pack=$(helm package ./charts/$i | sed 's/Success.*: \(.*\)/\1/')
if [ ! -z $pack ]; then
chart=$(basename $pack)
curl --request POST \
@@ -33,8 +33,8 @@ rebuild:
script:
- |
cd $CI_PROJECT_DIR
for i in $(find -maxdepth 3 -name Chart.yaml | cut -d/ -f2); do
pack=$(helm package $i/chart | sed 's/Success.*: \(.*\)/\1/')
for i in $(find ./charts -maxdepth 2 -name Chart.yaml | cut -d/ -f3); do
pack=$(helm package ./charts/$i | sed 's/Success.*: \(.*\)/\1/')
if [ ! -z $pack ]; then
chart=$(basename $pack)
curl --request POST \
-16
View File
@@ -1,16 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: atlantis-host-cluster-resources
namespace: argocd
spec:
project: atlantis
destination:
server: https://kubernetes.default.svc
syncPolicy:
automated: {}
source:
repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: resources/atlantis/host-manifests
-27
View File
@@ -1,27 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: atlantis-resources
namespace: argocd
spec:
generators:
- list:
elements:
- cluster: https://kubernetes.default.svc
env: prod
- cluster: https://staging-vcluster.staging-vcluster:443
env: staging
template:
metadata:
name: '{{ env }}-atlantis-resources'
spec:
project: atlantis
syncPolicy:
automated: {}
destination:
server: '{{ cluster }}'
namespace: atlantis
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: 'resources/atlantis/manifests/{{ env }}'
-46
View File
@@ -1,46 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: redis
namespace: argocd
spec:
generators:
- list:
elements:
- cluster: https://kubernetes.default.svc
env: prod
hostname: redis.srv.oceanbox.io
- cluster: https://kubernetes.default.svc
env: staging
hostname: redis.beta.oceanbox.io
template:
metadata:
name: '{{ env }}-redis'
spec:
project: atlantis
destination:
server: https://kubernetes.default.svc
namespace: redis
sources:
# - repoURL: https://charts.bitnami.com/bitnami
# targetRevision: 18.9.1
# chart: redis
# helm:
# valueFiles:
# - $values/redis/values.yaml
# - repoURL: https://gitlab.com/oceanbox/manifests.git
# targetRevision: HEAD
# path: charts/redis/{{ env }}
# ref: values
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/redis
plugin:
name: kustomize-helm-with-rewrite
parameters:
- name: env
string: '{{ env }}'
- name: hostname
string: '{{ hostname }}'
- name: chart
string: bitnami/redis
@@ -13,11 +13,11 @@ spec:
hostname: archmeister.srv.oceanbox.io
autoSync: false
prune: true
- cluster: https://staging-vcluster.staging-vcluster:443
env: staging
hostname: archmeister.beta.oceanbox.io
autoSync: true
prune: true
# - cluster: https://staging-vcluster.staging-vcluster
# env: staging
# hostname: archmeister.beta.oceanbox.io
# autoSync: true
# prune: true
template:
metadata:
name: "{{ .env }}-archmeister"
@@ -28,8 +28,8 @@ spec:
server: "{{ .cluster }}"
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/archmeister
targetRevision: main
path: values/archmeister
plugin:
name: kustomize-helm-with-rewrite
parameters:
@@ -43,4 +43,5 @@ spec:
syncPolicy:
automated:
prune: {{ .prune }}
selfHeal: false
{{- end }}
+27
View File
@@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: atlantis-cluster-resources
namespace: argocd
# annotations: # close, but no cigar
# argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
spec:
project: atlantis
destination:
server: https://kubernetes.default.svc
syncPolicy:
automated:
prune: false
selfHeal: false
# ignoreDifferences:
# - kind: Secret
# name: prod-rabbitmq
# jqPathExpressions:
# - '.data'
# - '.metadata.annotations.clone'
# - '.metadata.labels'
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: resources/atlantis
+41
View File
@@ -0,0 +1,41 @@
# Currently not in use. Configured via the create-vcluster script.
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: atlantis-resources
namespace: argocd
spec:
goTemplate: true
generators:
- list:
elements:
- cluster: https://kubernetes.default.svc
env: prod
autoSync: false
prune: false
# - cluster: https://staging-vcluster.staging-vcluster
# env: staging
# autoSync: false
# prune: false
template:
metadata:
name: "{{ .env }}-atlantis-resources"
spec:
project: aux
syncPolicy:
automated: {}
destination:
server: "{{ .cluster }}"
namespace: atlantis
sources: {}
# - repoURL: https://gitlab.com/oceanbox/manifests.git
# targetRevision: main
# path: 'resources/atlantis/manifests/{{ env }}'
templatePatch: |
{{- if .autoSync }}
spec:
syncPolicy:
automated:
prune: {{ .prune }}
selfHeal: false
{{- end }}
+51
View File
@@ -0,0 +1,51 @@
{ lib, config, ... }:
let
cfg = config.apps.atlantis;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
base = ../values/atlantis;
extraValues = {};
};
kustomize = r:
if r.kind == "Deployment" then
lib.attrsets.recursiveUpdate r {
spec.template.spec.containers =
builtins.map (x:
x // {
livenessProbe.httpGet.path = "/healthz";
readinessProble.httpGet.path = "/healthz";
env = x.env ++ [ { name = "INERNAL_PORT"; value = 8000; } ];
}) r.spec.template.spec.containers;
}
else if r.kind == "Service" then
{}
else r;
in
{
options.apps.atlantis = lib.apps.appOptions {
revision = lib.mkOption {
type = lib.types.str;
default = "main";
description = "Revision";
};
hostname = lib.mkOption {
type = lib.types.str;
default = if env == "prod"
then "maps.oceanbox.io"
else "atlantis.beta.oceanbox.io";
description = "Revision";
};
};
config = lib.apps.appConfig cfg "${env}-atlantis" {
helm.releases."${env}-atlantis" = {
inherit values;
chart = ../charts/atlantis;
transformer = rs: builtins.map (x: kustomize x) rs;
};
};
}
@@ -13,11 +13,11 @@ spec:
hostname: atlantis.srv.oceanbox.io
autoSync: false
prune: true
- cluster: https://staging-vcluster.staging-vcluster:443
env: staging
hostname: atlantis.beta.oceanbox.io
autoSync: true
prune: true
# - cluster: https://staging-vcluster.staging-vcluster
# env: staging
# hostname: atlantis.beta.oceanbox.io
# autoSync: true
# prune: true
template:
metadata:
name: '{{ .env }}-atlantis'
@@ -28,8 +28,8 @@ spec:
server: '{{ .cluster }}'
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/atlantis
targetRevision: main
path: values/atlantis
plugin:
name: kustomize-helm-with-rewrite
parameters:
@@ -37,13 +37,11 @@ spec:
string: '{{ .env }}'
- name: hostname
string: '{{ .hostname }}'
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/atlantis/manifests
templatePatch: |
{{- if .autoSync }}
spec:
syncPolicy:
automated:
prune: {{ .prune }}
selfHeal: false
{{- end }}
@@ -7,24 +7,24 @@ spec:
generators:
- list:
elements:
- cluster: https://kubernetes.default.svc
env: prod
hostname: busynix.srv.oceanbox.io
- cluster: https://staging-vcluster.staging-vcluster:443
# - cluster: https://kubernetes.default.svc
# env: prod
# hostname: busynix.srv.oceanbox.io
- cluster: https://staging-vcluster.staging-vcluster
env: staging
hostname: busynix.beta.oceanbox.io
template:
metadata:
name: '{{ env }}-busynix'
spec:
project: atlantis
project: aux
destination:
namespace: default
server: '{{ cluster }}'
source:
repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/busynix
targetRevision: main
path: values/busynix
plugin:
name: kustomize-helm-with-rewrite
parameters:
@@ -9,13 +9,13 @@ spec:
elements:
- cluster: https://kubernetes.default.svc
env: prod
- cluster: https://staging-vcluster.staging-vcluster:443
- cluster: https://staging-vcluster.staging-vcluster
env: staging
template:
metadata:
name: '{{ env }}-cerbos'
spec:
project: atlantis
project: aux
destination:
server: https://kubernetes.default.svc
namespace: idp
@@ -25,8 +25,8 @@ spec:
chart: cerbos
helm:
valueFiles:
- $values/charts/cerbos/values.yaml
- $values/charts/cerbos/values-{{ env }}.yaml
- $values/values/cerbos/values.yaml
- $values/values/cerbos/values-{{ env }}.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
targetRevision: main
ref: values
+46
View File
@@ -0,0 +1,46 @@
{ lib, config, ... }:
let
cfg = config.apps.dapr;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
extraValues = {
global.ha.enabled = true;
};
};
in
{
options.apps.dapr = lib.apps.appOptions {
revision = lib.mkOption {
type = lib.types.str;
default = "1.14.4";
description = "Dapr chart version";
};
};
config = lib.apps.appConfig cfg "dapr" {
namespace = "argocd";
helm.releases.dapr = {
inherit values;
chart = lib.helm.downloadHelmChart {
repo = "https://dapr.github.io/helm-charts/";
chart = "dapr";
version = cfg.revision;
};
};
annotations = {
"argocd.argoproj.io/sync-options" = "SkipDryRunOnMissingResource=true";
};
resources = {
"argoproj.io".v1alpha1.Application.dapr.spec = {
destination = {
namespace = "dapr-system";
server = "https://kubernetes.default.svc";
};
project = "default";
};
};
};
}
+33
View File
@@ -0,0 +1,33 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: dapr
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: dapr-system
server: https://kubernetes.default.svc
project: default
syncPolicy:
# managedNamespaceMetadata:
# labels:
# component: aux
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
automated:
prune: true
selfHeal: true
sources:
- repoURL: https://dapr.github.io/helm-charts/
targetRevision: 1.14.4
chart: dapr
helm:
values: |
global:
ha:
enabled: true
+16
View File
@@ -0,0 +1,16 @@
{ ... }:
{
imports = [
./atlantis.nix
./dapr.nix
./dex.nix
./keycloak.nix
./loki.nix
./openfga.nix
./opentelemetry-collector.nix
./rabbitmq.nix
./redis.nix
./tempo.nix
./wordpress.nix
];
}
+39
View File
@@ -0,0 +1,39 @@
{ lib, config, ... }:
let
cfg = config.apps.dex;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
base = ../values/dex;
extraValues = {};
};
in
{
options.apps.dex = lib.apps.appOptions {
enable = lib.mkEnableOption "Dex";
revision = lib.mkOption {
type = lib.types.str;
default = "0.16.0";
description = "Dex chart version";
};
hostname = lib.mkOption {
type = lib.types.str;
description = "Dex hostname";
default = "idp.${env}.oceanbox.io";
};
};
config = lib.apps.appConfig cfg "${env}-dex" {
namespace = "idp";
helm.releases.dex = {
inherit values;
chart = lib.helm.downloadHelmChart {
repo = "https://charts.dexidp.io";
chart = "dex";
version = cfg.revision;
chartHash = "";
};
transformer = rs: builtins.map (x: kustomize x) rs;
};
};
}
+3 -3
View File
@@ -4,12 +4,12 @@ metadata:
name: dex
namespace: argocd
spec:
project: atlantis
project: aux
destination:
server: https://kubernetes.default.svc
namespace: idp
source:
repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/dex/manifests
targetRevision: nixidy
path: values/dex/manifests
@@ -17,14 +17,14 @@ spec:
metadata:
name: '{{ env }}-geoserver'
spec:
project: atlantis
project: aux
destination:
server: https://kubernetes.default.svc
namespace: geoserver
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/geoserver
targetRevision: main
path: values/geoserver
plugin:
name: kustomize-helm-with-rewrite
parameters:
@@ -13,11 +13,11 @@ spec:
hostname: hipster.srv.oceanbox.io
autoSync: false
prune: true
- cluster: https://staging-vcluster.staging-vcluster:443
env: staging
hostname: hipster.beta.oceanbox.io
autoSync: true
prune: true
# - cluster: https://staging-vcluster.staging-vcluster
# env: staging
# hostname: hipster.beta.oceanbox.io
# autoSync: true
# prune: true
template:
metadata:
name: '{{ .env }}-hipster'
@@ -28,8 +28,8 @@ spec:
server: '{{ .cluster }}'
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/hipster
targetRevision: main
path: values/hipster
plugin:
name: kustomize-helm-with-rewrite
parameters:
@@ -43,4 +43,5 @@ spec:
syncPolicy:
automated:
prune: {{ .prune }}
selfHeal: false
{{- end }}
@@ -10,13 +10,13 @@ spec:
namespace: jaeger
sources:
- repoURL: https://jaegertracing.github.io/helm-charts
targetRevision: 2.50.1
targetRevision: 2.54.0
chart: jaeger-operator
helm:
valueFiles:
- $values/charts/jaeger/values.yaml
- $values/values/jaeger/values.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
# path: charts/jaeger/manifests
targetRevision: main
# path: values/jaeger/manifests
ref: values
+34
View File
@@ -0,0 +1,34 @@
{ lib, config, ... }:
let
cfg = config.apps.keycloak;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
base = ../values/keycloak;
extraValues = {};
};
in
{
options.apps.keycloak = lib.apps.appOptions {
enable = lib.mkEnableOption "Keycloak";
revision = lib.mkOption {
type = lib.types.str;
default = "24.0.2";
description = "Keycloak chart version";
};
};
config = lib.apps.appConfig cfg "keycloak" {
namespace = "idp";
helm.releases.keycloak = {
inherit values;
chart = lib.helm.downloadHelmChart {
repo = "https://charts.bitnami.com/bitnami";
chart = "keycloak";
version = cfg.revision;
chartHash = "";
};
transformer = rs: builtins.map (x: kustomize x) rs;
};
};
}
@@ -4,18 +4,18 @@ metadata:
name: keycloak
namespace: argocd
spec:
project: atlantis
project: aux
destination:
server: https://kubernetes.default.svc
namespace: idp
sources:
- repoURL: https://charts.bitnami.com/bitnami
targetRevision: 18.3.4
targetRevision: 24.0.2
chart: keycloak
helm:
valueFiles:
- $values/charts/keycloak/values.yaml
- $values/values/keycloak/values.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
targetRevision: nixidy
ref: values
+249
View File
@@ -0,0 +1,249 @@
{ lib, config, ... }:
let
cfg = config.apps.loki;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
extraValues = {
loki = {
auth_enabled = false;
storage = {
bucketNames = {
chunks = cfg.buckets.chunks;
ruler = cfg.buckets.ruler;
admin = cfg.buckets.admin;
};
s3 =
{
endpoint = cfg.s3.endpoint;
region = cfg.s3.region;
secretAccessKey = "\${S3SECRET}";
accessKeyId = "\${S3KEY}";
s3ForcePathStyle = true;
}
// lib.optionalAttrs cfg.s3.insecureSkipVerify {
http_config.insecure_skip_verify = true;
};
};
schemaConfig.configs = [
{
from = "2024-04-01";
index.period = "24h";
index.prefix = "loki_index_";
object_store = "s3";
schema = "v13";
store = "tsdb";
}
];
compactor = {
compaction_interval = "10m";
working_directory = "/tmp/loki/compactor";
retention_enabled = true;
retention_delete_delay = "2h";
retention_delete_worker_count = 150;
delete_request_store = "s3";
};
limits_config.retention_period = "744h";
};
write = {
extraArgs = [ "-config.expand-env=true" ];
extraEnv = [
{
name = "S3KEY";
valueFrom.secretKeyRef = {
name = cfg.secret.name;
key = cfg.secret.accessKey;
};
}
{
name = "S3SECRET";
valueFrom.secretKeyRef = {
name = cfg.secret.name;
key = cfg.secret.secretKey;
};
}
];
tolerations = [
{
effect = "NoSchedule";
operator = "Equal";
key = "unschedulable";
value = "true";
}
];
};
read = {
extraArgs = [ "-config.expand-env=true" ];
extraEnv = [
{
name = "S3KEY";
valueFrom.secretKeyRef = {
name = cfg.secret.name;
key = cfg.secret.accessKey;
};
}
{
name = "S3SECRET";
valueFrom.secretKeyRef = {
name = cfg.secret.name;
key = cfg.secret.secretKey;
};
}
];
tolerations = [
{
effect = "NoSchedule";
operator = "Equal";
key = "unschedulable";
value = "true";
}
];
};
ingress = {
enabled = true;
ingressClassName = "nginx";
annotations = {
"cert-manager.io/cluster-issuer" = "letsencrypt-staging";
"nginx.ingress.kubernetes.io/ssl-redirect" = "true";
"atlantis.oceanbox.io/expose" = "internal";
};
hosts = [ "loki.adm.oceanbox.io" ];
tls = [{
hosts = [ "loki.adm.oceanbox.io" ];
secretName = "loki-distributed-tls";
}];
};
compactor = {
extraArgs = [ "-config.expand-env=true" ];
extraEnv = [
{
name = "S3KEY";
valueFrom.secretKeyRef = {
name = cfg.secret.name;
key = cfg.secret.accessKey;
};
}
{
name = "S3SECRET";
valueFrom.secretKeyRef = {
name = cfg.secret.name;
key = cfg.secret.secretKey;
};
}
];
};
backend = {
extraArgs = [ "-config.expand-env=true" ];
extraEnv = [
{
name = "S3KEY";
valueFrom.secretKeyRef = {
name = cfg.secret.name;
key = cfg.secret.accessKey;
};
}
{
name = "S3SECRET";
valueFrom.secretKeyRef = {
name = cfg.secret.name;
key = cfg.secret.secretKey;
};
}
];
};
};
};
in
{
options.apps.loki = lib.apps.appOptions {
revision = lib.mkOption {
type = lib.types.str;
default = "6.12.0";
description = "Loki chart version";
};
buckets = {
chunks = lib.mkOption {
type = lib.types.str;
default = "loki-chunks";
description = "S3 bucket for chunks";
};
ruler = lib.mkOption {
type = lib.types.str;
default = "loki-chunks";
description = "S3 bucket for ruler";
};
admin = lib.mkOption {
type = lib.types.str;
default = "loki-chunks";
description = "S3 bucket for admin";
};
};
s3 = {
endpoint = lib.mkOption {
type = lib.types.str;
default = "http://10.255.241.30:30080";
description = "S3 endpoint";
};
region = lib.mkOption {
type = lib.types.str;
default = "tos";
description = "S3 region";
};
insecureSkipVerify = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Skip TLS verification";
};
};
secret = {
name = lib.mkOption {
type = lib.types.str;
default = "loki-s3";
description = "Name of the S3 credentials secret";
};
accessKey = lib.mkOption {
type = lib.types.str;
default = "AWS_ACCESS_KEY_ID";
description = "Access key field in secret";
};
secretKey = lib.mkOption {
type = lib.types.str;
default = "AWS_ACCESS_KEY_SECRET";
description = "Secret key field in secret";
};
};
};
config = lib.apps.appConfig cfg "loki" {
namespace = "argocd";
helm.releases.loki = {
inherit values;
chart = lib.helm.downloadHelmChart {
repo = "https://grafana.github.io/helm-charts";
chart = "loki";
version = cfg.revision;
chartHash = "sha256-YUtEIUiQWRzlttfOOgDk1xfTaiAZ12tIgpGr1QcMpro=";
};
};
annotations = {
"argocd.argoproj.io/sync-options" = "SkipDryRunOnMissingResource=true";
};
# TODO: Add network policies as a second source or integrate them into `resources`.
resources = {
"argoproj.io".v1alpha1.Application.loki.spec.ignoreDifferences = [
{
group = "apps";
kind = "StatefulSet";
jsonPointers = [ "/spec/persistentVolumeClaimRetentionPolicy" ];
}
];
};
};
}
+150
View File
@@ -0,0 +1,150 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: loki
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: loki
server: 'https://kubernetes.default.svc'
project: aux
ignoreDifferences:
- group: apps
kind: StatefulSet
jsonPointers:
- /spec/persistentVolumeClaimRetentionPolicy
syncPolicy:
managedNamespaceMetadata:
labels:
component: aux
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
automated:
prune: true
selfHeal: true
sources:
- repoURL: https://gitlab.com/serit/k8s/serit-platform-manifests.git
path: network-policies/netpol-loki
targetRevision: HEAD
- repoURL: 'https://grafana.github.io/helm-charts'
targetRevision: 6.12.0
chart: loki
helm:
values: |
loki:
auth_enabled: false
storage:
bucketNames:
chunks: loki-chunks
ruler: loki-chunks
admin: loki-chunks
s3:
endpoint: http://10.255.241.30:30080
region: tos
accessKeyId: ${S3KEY}
secretAccessKey: ${S3SECRET}
s3ForcePathStyle: true
http_config:
insecure_skip_verify: true
schemaConfig:
configs:
- from: "2024-04-01"
index:
period: 24h
prefix: loki_index_
object_store: s3
schema: v13
store: tsdb
compactor:
compaction_interval: 10m
working_directory: /tmp/loki/compactor
retention_enabled: true
retention_delete_delay: 2h
retention_delete_worker_count: 150
delete_request_store: s3
limits_config:
retention_period: 744h
write:
extraArgs:
- -config.expand-env=true
extraEnv:
- name: S3KEY
valueFrom:
secretKeyRef:
name: loki-s3
key: AWS_ACCESS_KEY_ID
- name: S3SECRET
valueFrom:
secretKeyRef:
name: loki-s3
key: AWS_ACCESS_KEY_SECRET
tolerations:
- effect: "NoSchedule"
operator: "Equal"
key: "unschedulable"
value: "true"
read:
extraArgs:
- -config.expand-env=true
extraEnv:
- name: S3KEY
valueFrom:
secretKeyRef:
name: loki-s3
key: AWS_ACCESS_KEY_ID
- name: S3SECRET
valueFrom:
secretKeyRef:
name: loki-s3
key: AWS_ACCESS_KEY_SECRET
tolerations:
- effect: "NoSchedule"
operator: "Equal"
key: "unschedulable"
value: "true"
ingress:
enabled: true
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging
nginx.ingress.kubernetes.io/ssl-redirect: "true"
atlantis.oceanbox.io/expose: internal
hosts:
- loki.adm.oceanbox.io
tls:
- hosts:
- loki.adm.oceanbox.io
secretName: loki-distributed-tls
compactor:
extraArgs:
- -config.expand-env=true
extraEnv:
- name: S3KEY
valueFrom:
secretKeyRef:
name: loki-s3
key: AWS_ACCESS_KEY_ID
- name: S3SECRET
valueFrom:
secretKeyRef:
name: loki-s3
key: AWS_ACCESS_KEY_SECRET
backend:
extraArgs:
- -config.expand-env=true
extraEnv:
- name: S3KEY
valueFrom:
secretKeyRef:
name: loki-s3
key: AWS_ACCESS_KEY_ID
- name: S3SECRET
valueFrom:
secretKeyRef:
name: loki-s3
key: AWS_ACCESS_KEY_SECRET
+39
View File
@@ -0,0 +1,39 @@
{ lib, config, ... }:
let
cfg = config.apps.openfga;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
base = ../values/openfga;
extraValues = {};
};
kustomize = r:
if r.kind == "Job" then
lib.attrsets.recursiveUpdate r { spec.backoffLimit = 2; }
else r;
in
{
options.apps.openfga = lib.apps.appOptions {};
config = lib.apps.appConfig cfg "${env}-openfga" {
helm.releases."${env}-openfga" = {
inherit values;
chart = lib.helm.downloadHelmChart {
repo = "https://openfga.github.io/helm-charts";
chart = "openfga";
version = "0.2.12";
chartHash = "sha256-7yLcw9/oNPvCePrtTJwKAG88t0Ym5Dl/S83Gz+gQdDU=";
};
transformer = rs: builtins.map (x: kustomize x) rs;
};
annotations = {};
resources = {
services.poop.spec = {
};
};
};
}
+117
View File
@@ -0,0 +1,117 @@
{ lib, config, ... }:
let
cfg = config.apps.opentelemetry-collector;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
extraValues = {
mode = "deployment";
image = {
repository = "otel/opentelemetry-collector-k8s";
};
service = {
type = "LoadBalancer";
loadBalancerIP = "10.255.241.12";
};
config = {
receivers = {
"prometheus/collector" = {
config.scrape_configs = [{
job_name = "opentelemetry-collector";
static_configs = [{
targets = [ "\${env:MY_POD_IP}:8888" ];
}];
}];
};
zipkin.endpoint = "\${env:MY_POD_IP}:9411";
};
exporters = {
otlp = {
endpoint = "tempo.tempo.svc:4317";
tls.insecure = true;
};
"otlphttp/metrics" = {
endpoint = "http://prom-prometheus.prometheus:9090/api/v1/otlp";
tls.insecure = true;
};
"otlphttp/logs" = {
endpoint = "http://loki-write-headless.loki:3100/otlp";
tls.insecure = true;
};
"debug/metrics".verbosity = "detailed";
"debug/traces".verbosity = "detailed";
"debug/logs".verbosity = "detailed";
};
service = {
telemetry.logs.level = "info";
pipelines = {
traces = {
receivers = [ "otlp" "zipkin" ];
processors = [ "batch" ];
exporters = [ "otlp" ];
};
metrics = {
receivers = [ "otlp" "prometheus/collector" ];
processors = [ "batch" ];
exporters = [ "otlphttp/metrics" ];
};
logs = {
receivers = [ "otlp" ];
processors = [ "batch" ];
exporters = [ "otlphttp/logs" ];
};
};
};
};
ports.metrics.enabled = true;
ingress = {
enabled = false;
annotations = {
"cert-manager.io/cluster-issuer" = "letsencrypt-production";
"nginx.ingress.kubernetes.io/ssl-redirect" = "true";
"atlantis.oceanbox.io/expose" = "internal";
};
ingressClassName = "nginx";
hosts = [{
host = "opentelemetry-collector.adm.oceanbox.io";
paths = [{
path = "/";
pathType = "Prefix";
port = 4318;
}];
}];
tls = [{
secretName = "collector-tls";
hosts = [ "opentelemetry-collector.adm.oceanbox.io" ];
}];
};
};
};
in
{
options.apps.opentelemetry-collector = lib.apps.appOptions {
revision = lib.mkOption {
type = lib.types.str;
default = "0.107.0";
description = "OpenTelemetry Collector chart version";
};
};
config = lib.apps.appConfig cfg "opentelemetry-collector" {
namespace = "argocd";
helm.releases.opentelemetry-collector = {
inherit values;
chart = lib.helm.downloadHelmChart {
repo = "https://open-telemetry.github.io/opentelemetry-helm-charts";
chart = "opentelemetry-collector";
version = cfg.revision;
chartHash = "sha256-0000000000000000000000000000000000000000000000"; # TODO: Add correct hash
};
};
annotations = {
"argocd.argoproj.io/sync-options" = "SkipDryRunOnMissingResource=true";
};
};
}
+109
View File
@@ -0,0 +1,109 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: opentelemetry-collector
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: otel
server: 'https://kubernetes.default.svc'
project: aux
syncPolicy:
# managedNamespaceMetadata:
# labels:
# component: aux
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
automated:
prune: true
selfHeal: true
sources:
- repoURL: 'https://open-telemetry.github.io/opentelemetry-helm-charts'
targetRevision: 0.107.0
chart: opentelemetry-collector
helm:
values: |
mode: deployment
image:
repository: otel/opentelemetry-collector-k8s
service:
type: LoadBalancer
loadBalancerIP: 10.255.241.12
config:
receivers:
prometheus/collector:
config:
scrape_configs:
- job_name: 'opentelemetry-collector'
static_configs:
- targets:
- ${env:MY_POD_IP}:8888
zipkin:
endpoint: ${env:MY_POD_IP}:9411
exporters:
otlp:
endpoint: "tempo.tempo.svc:4317"
tls:
insecure: true
otlphttp/metrics:
endpoint: http://prom-prometheus.prometheus:9090/api/v1/otlp
tls:
insecure: true
otlphttp/logs:
endpoint: http://loki-write-headless.loki:3100/otlp
tls:
insecure: true
debug/metrics:
verbosity: detailed
debug/traces:
verbosity: detailed
debug/logs:
verbosity: detailed
service:
telemetry:
logs:
level: "info"
pipelines:
traces:
receivers: [otlp,zipkin]
processors: [batch]
exporters: [otlp]
# exporters: [otlphttp/traces,debug/traces]
metrics:
receivers: [otlp,prometheus/collector]
processors: [batch]
exporters: [otlphttp/metrics]
# exporters: [otlphttp/metrics,debug/metrics]
logs:
receivers: [otlp]
processors: [batch]
exporters: [otlphttp/logs]
# exporters: [otlphttp/logs,debug/logs]
ports:
metrics:
enabled: true
# presets:
# logsCollection:
# enabled: true
ingress:
enabled: false
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
nginx.ingress.kubernetes.io/ssl-redirect: "true"
atlantis.oceanbox.io/expose: internal
ingressClassName: nginx
hosts:
- host: opentelemetry-collector.adm.oceanbox.io
paths:
- path: /
pathType: Prefix
port: 4318
tls:
- secretName: collector-tls
hosts:
- opentelemetry-collector.adm.oceanbox.io
@@ -10,21 +10,21 @@ spec:
- cluster: https://kubernetes.default.svc
env: prod
hostname: osm.srv.oceanbox.io
- cluster: https://staging-vcluster.staging-vcluster:443
- cluster: https://staging-vcluster.staging-vcluster
env: staging
hostname: osm.beta.oceanbox.io
template:
metadata:
name: '{{ env }}-osm-tile-server'
spec:
project: atlantis
project: aux
destination:
namespace: oceanbox
server: '{{ cluster }}'
source:
repoURL: https://gitlab.com/oceanbox/charts.git
repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD
path: charts/osm-tile-server
path: values/osm-tile-server
plugin:
name: kustomize-helm-with-rewrite
parameters:
@@ -13,11 +13,11 @@ spec:
hostname: petimeter.srv.oceanbox.io
autoSync: false
prune: true
- cluster: https://staging-vcluster.staging-vcluster:443
env: staging
hostname: petimeter.beta.oceanbox.io
autoSync: true
prune: true
# - cluster: https://staging-vcluster.staging-vcluster
# env: staging
# hostname: petimeter.beta.oceanbox.io
# autoSync: true
# prune: true
template:
metadata:
name: '{{ .env }}-petimeter'
@@ -28,8 +28,8 @@ spec:
server: '{{ .cluster }}'
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/petimeter
targetRevision: main
path: values/petimeter
plugin:
name: kustomize-helm-with-rewrite
parameters:
@@ -38,12 +38,13 @@ spec:
- name: hostname
string: '{{ .hostname }}'
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/petimeter/manifests
targetRevision: main
path: values/petimeter/manifests
templatePatch: |
{{- if .autoSync }}
spec:
syncPolicy:
automated:
prune: {{ .prune }}
selfHeal: false
{{- end }}
+66
View File
@@ -0,0 +1,66 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-atlantis
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: prod-atlantis
server: https://kubernetes.default.svc
project: atlantis
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
ref: values
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
path: values/atlantis
plugin:
name: kustomize-helm-with-rewrite
parameters:
- name: env
string: prod
- name: hostname
string: maps.oceanbox.io
- repoURL: https://charts.bitnami.com/bitnami
targetRevision: 20.1.7
chart: redis
helm:
valueFiles:
- $values/values/atlantis/prod/redis.yaml
ignoreDifferences:
- kind: Secret
name: azure-keyvault
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
- kind: Secret
name: prod-atlantis-rabbitmq
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
- kind: Secret
name: prod-archmeister-replication
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
- kind: Secret
name: prod-archmeister-ca
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
syncPolicy:
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
# automated:
# prune: true
# selfHeal: false
+38
View File
@@ -0,0 +1,38 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-keycloak
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: aux
destination:
server: https://kubernetes.default.svc
namespace: keycloak
syncPolicy:
managedNamespaceMetadata:
labels:
component: aux
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
automated:
prune: true
selfHeal: true
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
path: values/keycloak/prod
- repoURL: https://charts.bitnami.com/bitnami
targetRevision: 24.0.2
chart: keycloak
helm:
valueFiles:
- $values/values/keycloak/values-prod.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
ref: values
+39
View File
@@ -0,0 +1,39 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-openfga
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: openfga
server: https://kubernetes.default.svc
project: aux
# ignoreDifferences:
# - group: apps
# kind: StatefulSet
# jsonPointers:
# - /spec/persistentVolumeClaimRetentionPolicy
syncPolicy:
managedNamespaceMetadata:
labels:
component: aux
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
automated:
prune: true
selfHeal: true
sources:
- repoURL: https://openfga.github.io/helm-charts
targetRevision: 0.2.19
chart: openfga
helm:
valueFiles:
- $values/values/openfga/values-prod.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
ref: values
+54
View File
@@ -0,0 +1,54 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prod-sorcerer
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: prod-sorcerer
server: https://10.255.241.99:4443
project: atlantis
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
ref: values
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
path: values/sorcerer
plugin:
name: kustomize-helm-with-rewrite
parameters:
- name: env
string: prod
- name: hostname
string: sorcerer.data.oceanbox.io
- repoURL: https://charts.bitnami.com/bitnami
targetRevision: 20.1.7
chart: redis
helm:
valueFiles:
- $values/values/sorcerer/prod/redis.yaml
ignoreDifferences:
- kind: Secret
name: azure-keyvault
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
- kind: Secret
name: prod-atlantis-rabbitmq
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
syncPolicy:
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
# automated:
# prune: true
# selfHeal: false
+39
View File
@@ -0,0 +1,39 @@
{ lib, config, ... }:
let
cfg = config.apps.rabbitmq;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
base = ../values/rabbitmq;
extraValues = {};
};
in
{
options.apps.rabbitmq = lib.apps.appOptions {
enable = lib.mkEnableOption "RabbitMQ";
revision = lib.mkOption {
type = lib.types.str;
default = "12.9.0";
description = "RabbitMQ chart version";
};
hostname = lib.mkOption {
type = lib.types.str;
description = "RabbitMQ hostname";
default = "rabbitmq.${env}.oceanbox.io";
};
};
config = lib.apps.appConfig cfg "${env}-rabbitmq" {
namespace = "rabbitmq";
helm.releases.rabbitmq = {
inherit values;
chart = lib.helm.downloadHelmChart {
repo = "https://charts.bitnami.com/bitnami";
chart = "rabbitmq";
version = cfg.revision;
chartHash = "";
};
transformer = rs: builtins.map (x: kustomize x) rs;
};
};
}
@@ -17,7 +17,7 @@ spec:
metadata:
name: '{{ env }}-rabbitmq'
spec:
project: atlantis
project: aux
destination:
server: https://kubernetes.default.svc
namespace: rabbitmq
@@ -27,8 +27,8 @@ spec:
chart: rabbitmq
helm:
valueFiles:
- $values/charts/rabbitmq/values-{{ env }}.yaml
- $values/values/rabbitmq/values-{{ env }}.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/rabbitmq/{{ env }}
targetRevision: main
path: values/rabbitmq/{{ env }}
ref: values
+34
View File
@@ -0,0 +1,34 @@
{ lib, config, ... }:
let
cfg = config.apps.redis;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
base = ../values/redis;
extraValues = {};
};
in
{
options.apps.redis = lib.apps.appOptions {
enable = lib.mkEnableOption "Redis";
revision = lib.mkOption {
type = lib.types.str;
default = "19.5.2";
description = "Redis chart version";
};
};
config = lib.apps.appConfig cfg "${env}-redis" {
namespace = "redis";
helm.releases.redis = {
inherit values;
chart = lib.helm.downloadHelmChart {
repo = "https://charts.bitnami.com/bitnami";
chart = "redis";
version = cfg.revision;
chartHash = "";
};
transformer = rs: builtins.map (x: kustomize x) rs;
};
};
}
+39
View File
@@ -0,0 +1,39 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: redis
namespace: argocd
spec:
generators:
- list:
elements:
- cluster: https://kubernetes.default.svc
env: prod
- cluster: https://kubernetes.default.svc
env: staging
template:
metadata:
name: '{{ env }}-redis'
spec:
project: aux
destination:
server: https://kubernetes.default.svc
namespace: redis
sources:
- repoURL: https://charts.bitnami.com/bitnami
targetRevision: 19.5.2
chart: redis
helm:
valueFiles:
- $values/values/redis/values-{{ env }}.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD
ref: values
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: values/redis/{{ env }}
ignoreDifferences:
- group: apps
kind: StatefulSet
jqPathExpressions:
- '.spec.template.spec.containers[].resources.limits.cpu'
+3 -3
View File
@@ -4,7 +4,7 @@ metadata:
name: seq
namespace: argocd
spec:
project: atlantis
project: aux
destination:
server: https://kubernetes.default.svc
namespace: seq
@@ -14,7 +14,7 @@ spec:
chart: seq
helm:
valueFiles:
- $values/charts/seq/values.yaml
- $values/values/seq/values.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
targetRevision: main
ref: values
@@ -10,26 +10,26 @@ spec:
elements:
- cluster: https://10.255.241.99:4443
env: prod
hostname: sorcerer.srv.archive.oceanbox.io
hostname: sorcerer.data.oceanbox.io
autoSync: false
prune: true
- cluster: https://10.255.241.99:4443
env: staging
hostname: sorcerer.beta.archive.oceanbox.io
autoSync: true
prune: true
# - cluster: https://10.255.241.99:4443
# env: staging
# hostname: sorcerer.ekman.oceanbox.io
# autoSync: true
# prune: true
template:
metadata:
name: '{{ .env }}-sorcerer'
spec:
project: atlantis
destination:
namespace: oceanbox
namespace: sorcerer
server: '{{ .cluster }}'
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: dev
path: charts/sorcerer
targetRevision: main
path: values/sorcerer
plugin:
name: kustomize-helm-with-rewrite
parameters:
@@ -43,4 +43,5 @@ spec:
syncPolicy:
automated:
prune: {{ .prune }}
selfHeal: false
{{- end }}
+66
View File
@@ -0,0 +1,66 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: staging-atlantis
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: staging-atlantis
server: https://kubernetes.default.svc
project: atlantis
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
ref: values
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
path: values/atlantis
plugin:
name: kustomize-helm-with-rewrite
parameters:
- name: env
string: staging
- name: hostname
string: atlantis.beta.oceanbox.io
- repoURL: https://charts.bitnami.com/bitnami
targetRevision: 20.1.7
chart: redis
helm:
valueFiles:
- $values/values/atlantis/staging/redis.yaml
ignoreDifferences:
- kind: Secret
name: azure-keyvault
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
- kind: Secret
name: staging-atlantis-rabbitmq
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
- kind: Secret
name: prod-archmeister-replication
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
- kind: Secret
name: prod-archmeister-ca
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
syncPolicy:
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
automated:
prune: true
selfHeal: false
+39
View File
@@ -0,0 +1,39 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: staging-openfga
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: openfga
server: https://kubernetes.default.svc
project: aux
# ignoreDifferences:
# - group: apps
# kind: StatefulSet
# jsonPointers:
# - /spec/persistentVolumeClaimRetentionPolicy
syncPolicy:
managedNamespaceMetadata:
labels:
component: aux
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
automated:
prune: true
selfHeal: true
sources:
- repoURL: https://openfga.github.io/helm-charts
targetRevision: 0.2.19
chart: openfga
helm:
valueFiles:
- $values/values/openfga/values-staging.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
ref: values
+54
View File
@@ -0,0 +1,54 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: staging-sorcerer
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: staging-sorcerer
server: https://10.255.241.99:4443
project: atlantis
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
ref: values
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: nixidy
path: values/sorcerer
plugin:
name: kustomize-helm-with-rewrite
parameters:
- name: env
string: staging
- name: hostname
string: sorcerer.ekman.oceanbox.io
- repoURL: https://charts.bitnami.com/bitnami
targetRevision: 20.1.7
chart: redis
helm:
valueFiles:
- $values/values/sorcerer/staging/redis.yaml
ignoreDifferences:
- kind: Secret
name: azure-keyvault
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
- kind: Secret
name: prod-atlantis-rabbitmq
jqPathExpressions:
- '.data'
- '.metadata.labels'
- '.metadata.annotations'
syncPolicy:
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
# automated:
# prune: true
# selfHeal: false
+124
View File
@@ -0,0 +1,124 @@
{ lib, config, ... }:
let
cfg = config.apps.tempo;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
extraValues = {
tempo = {
storage = {
trace = {
backend = "s3";
s3 = {
bucket = cfg.s3.bucket;
endpoint = cfg.s3.endpoint;
access_key = "\${S3SECRET}";
secret_key = "\${S3KEY}";
insecure = true;
};
local = {
path = "/var/tempo/traces";
};
wal = {
path = "/var/tempo/wal";
};
};
};
metricsGenerator = {
enabled = true;
remoteWriteUrl = "http://prom-prometheus.prometheus:9090/api/v1/write";
};
extraEnv = [
{
name = "S3KEY";
valueFrom.secretKeyRef = {
name = cfg.secret.name;
key = cfg.secret.accessKey;
};
}
{
name = "S3SECRET";
valueFrom.secretKeyRef = {
name = cfg.secret.name;
key = cfg.secret.secretKey;
};
}
];
};
tempoQuery = {
ingress = {
enabled = true;
ingressClassName = "nginx";
annotations = {
"cert-manager.io/cluster-issuer" = "letsencrypt-staging";
"nginx.ingress.kubernetes.io/ssl-redirect" = "true";
"atlantis.oceanbox.io/expose" = "internal";
};
path = "/";
pathType = "Prefix";
hosts = [ "query.tempo.adm.oceanbox.io" ];
tls = [{
secretName = "tempo-query-tls";
hosts = [ "query.tempo.adm.oceanbox.io" ];
}];
};
};
};
};
in
{
options.apps.tempo = lib.apps.appOptions {
revision = lib.mkOption {
type = lib.types.str;
default = "1.10.3";
description = "Tempo chart version";
};
s3 = {
bucket = lib.mkOption {
type = lib.types.str;
default = "tempo-traces";
description = "S3 bucket for traces";
};
endpoint = lib.mkOption {
type = lib.types.str;
default = "http://10.255.241.30:30080";
description = "S3 endpoint";
};
};
secret = {
name = lib.mkOption {
type = lib.types.str;
default = "tempo-s3";
description = "Name of the S3 credentials secret";
};
accessKey = lib.mkOption {
type = lib.types.str;
default = "AWS_ACCESS_KEY_ID";
description = "Access key field in secret";
};
secretKey = lib.mkOption {
type = lib.types.str;
default = "AWS_ACCESS_KEY_SECRET";
description = "Secret key field in secret";
};
};
};
config = lib.apps.appConfig cfg "tempo" {
namespace = "argocd";
helm.releases.tempo = {
inherit values;
chart = lib.helm.downloadHelmChart {
repo = "https://grafana.github.io/helm-charts";
chart = "tempo";
version = cfg.revision;
};
};
annotations = {
"argocd.argoproj.io/sync-options" = "SkipDryRunOnMissingResource=true";
};
};
}
+76
View File
@@ -0,0 +1,76 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: tempo
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: tempo
server: 'https://kubernetes.default.svc'
project: aux
syncPolicy:
# managedNamespaceMetadata:
# labels:
# component: aux
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
automated:
prune: true
selfHeal: true
sources:
- repoURL: 'https://grafana.github.io/helm-charts'
targetRevision: 1.10.3
chart: tempo
helm:
values: |
tempo:
storage:
trace:
backend: s3
s3:
bucket: tempo-traces
endpoint: 10.255.241.30:30080
access_key: ${S3KEY}
secret_key: ${S3SECRET}
forcepathstyle: true
insecure: true
local:
path: /var/tempo/traces
wal:
path: /var/tempo/wal
metricsGenerator:
enabled: true
remoteWriteUrl: "http://prom-prometheus.prometheus:9090/api/v1/write"
extraArgs: { config.expand-env=true }
extraEnv:
- name: S3KEY
valueFrom:
secretKeyRef:
name: tempo-s3
key: AWS_ACCESS_KEY_ID
- name: S3SECRET
valueFrom:
secretKeyRef:
name: tempo-s3
key: AWS_ACCESS_KEY_SECRET
tempoQuery:
ingress:
enabled: true
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging
nginx.ingress.kubernetes.io/ssl-redirect: "true"
atlantis.oceanbox.io/expose: internal
path: /
pathType: Prefix
hosts:
- query.tempo.adm.oceanbox.io
tls:
- secretName: tempo-query-tls
hosts:
- query.tempo.adm.oceanbox.io
+39
View File
@@ -0,0 +1,39 @@
{ lib, config, ... }:
let
cfg = config.apps.wordpress;
env = config.apps.env;
values = lib.apps.appValues {
inherit env;
base = ../values/wordpress;
extraValues = {};
};
in
{
options.apps.wordpress = lib.apps.appOptions {
enable = lib.mkEnableOption "WordPress";
revision = lib.mkOption {
type = lib.types.str;
default = "19.2.2";
description = "WordPress chart version";
};
hostname = lib.mkOption {
type = lib.types.str;
description = "WordPress hostname";
default = "www.${env}.oceanbox.io";
};
};
config = lib.apps.appConfig cfg "www-oceanbox" {
namespace = "www-oceanbox";
helm.releases.wordpress = {
inherit values;
chart = lib.helm.downloadHelmChart {
repo = "https://charts.bitnami.com/bitnami";
chart = "wordpress";
version = cfg.revision;
chartHash = "";
};
transformer = rs: builtins.map (x: kustomize x) rs;
};
};
}
+14
View File
@@ -0,0 +1,14 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: yolo-dl
namespace: argocd
spec:
project: aux
destination:
server: https://10.255.241.99:4443
namespace: oceanbox
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: charts/yolo-dl
-18
View File
@@ -1,18 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
annotations:
managed-by: argocd.argoproj.io
labels:
argocd.argoproj.io/secret-type: cluster
name: staging-vcluster
namespace: argocd
stringData:
config: |
{"bearerToken":"eyJhbGciOiJSUzI1NiIsImtpZCI6IlVrakhGancyRzVMajNvQ3Jjb2FEU0kwRnlQeGsxc0Z3OThzLWV6akljVzAifQ.eyJhdWQiOlsiaHR0cHM6Ly9rdWJlcm5ldGVzLmRlZmF1bHQuc3ZjLmNsdXN0ZXIubG9jYWwiLCJodHRwczovL2t1YmVybmV0ZXMuZGVmYXVsdC5zdmMiLCJodHRwczovL2t1YmVybmV0ZXMuZGVmYXVsdCJdLCJleHAiOjIwMjM3MjEwMDksImlhdCI6MTcwODM2MTAwOSwiaXNzIjoiaHR0cHM6Ly9rdWJlcm5ldGVzLmRlZmF1bHQuc3ZjLmNsdXN0ZXIubG9jYWwiLCJrdWJlcm5ldGVzLmlvIjp7Im5hbWVzcGFjZSI6Imt1YmUtc3lzdGVtIiwic2VydmljZWFjY291bnQiOnsibmFtZSI6ImFkbWluIiwidWlkIjoiMDRlOGJlZDQtYWUwNy00MTBiLWI4NTYtNzg3MTkzNDAzYjcyIn19LCJuYmYiOjE3MDgzNjEwMDksInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDprdWJlLXN5c3RlbTphZG1pbiJ9.TJuQb9dpgOU6w42-WSJQmu39CZ7NyXWks6itH5qtUUkOvkwRwEtChV-53epM1HNOpK3mj2IWlJ7MaUb5AVFMx0alUJthBX_kL3mjdvUdn2MbPl-S0UFPclp8JoYeALjwtSFkuch1HqlMT7s-BbhXowo8AVFXDJE3rUJBrzzFqQ_e1IIf327qUfyo_TidwVoiya7q6cRU1n-XsP6sE0cgOxnScHXZ-DpysydjKCqXFYbnz9KYVagsOdK4LPb3x-Qb6Ae4PGJAfo3myzmiha3bTGO8HFF4WmMTWrlqeCXTPjER1vVJ_RQMY_LF4G8Of9zIX-8gvTZLcQAQ6BnlmY4QxQ","tlsClientConfig":{"insecure":true}}
name: staging-vcluster
server: https://staging-vcluster.staging-vcluster:443
type: Opaque
+14
View File
@@ -0,0 +1,14 @@
apiVersion: v1
stringData:
config: |
{"bearerToken":"","tlsClientConfig":{"insecure":true}}
name: ekman
server: https://10.255.241.99:4443
kind: Secret
metadata:
labels:
argocd.argoproj.io/secret-type: cluster
name: cluster-10.255.241.99-4046803085
namespace: argocd
type: Opaque
@@ -1,10 +1,7 @@
FROM alpine/k8s:1.28.3
FROM alpine/k8s:1.28.9
RUN mkdir -p /home/argocd/cmp-server/config/
COPY plugin.yaml /home/argocd/cmp-server/config/
WORKDIR /plugin
COPY init.sh get-values.sh generate.sh ./
COPY init-helm-repos.sh init.sh get-values.sh generate.sh ./
@@ -1,6 +1,6 @@
#!/bin/sh
img=registry.gitlab.com/oceanbox/gitops-manifests/kustomize-helm-with-rewrite
img=registry.gitlab.com/oceanbox/manifests/kustomize-helm-with-rewrite
tag=${1:-latest}
docker build -t $img:$tag .
@@ -1,23 +1,24 @@
#!/bin/sh
export HOME=/tmp
export HOME=/helm-working-dir
env > /tmp/$ARGOCD_APP_NAME.env
echo "$ARGOCD_APP_PARAMETERS" | jq '.[] | select(.name == "helm-parameters") | .map' | yq -P -oy > parameters.yaml
cp parameters.yaml /tmp/$ARGOCD_APP_NAME-parameters.yaml
if [ -d chart ]; then
CHART=chart
elif [ -f chart -a "$PARAM_CHART" = "." ]; then
CHART=$(cat chart)
elif [ -n "$PARAM_CHART" ]; then
if [ -n "$PARAM_CHART" -a "$PARAM_CHART" != "." ]; then
CHART=$PARAM_CHART
elif [ -d chart ]; then
CHART=chart
elif [ -f chart ]; then
CHART=$(cat chart)
else
CHART="."
fi
[ -f chart/values.yaml ] && VALUES="-f chart/values.yaml"
[ -f values-chart.yaml ] && VALUES="$VALUES -f values-chart.yaml"
[ -f values.yaml ] && VALUES="$VALUES -f values.yaml"
[ -f values-$PARAM_ENV.yaml ] && VALUES="$VALUES -f values-$PARAM_ENV.yaml"
VALUES="$VALUES -f parameters.yaml"
@@ -2,6 +2,8 @@
if [ -f values.yaml ]; then
VALUES="values.yaml"
elif [ -f values-chart.yaml ]; then
VALUES="values-chart.yaml"
elif [ -f chart/values.yaml ]; then
VALUES="chart/values.yaml"
else
@@ -1,12 +1,15 @@
#!/bin/sh
export HOME=/tmp
export HOME=/helm-working-dir
helm repo add --username argocd-helm --password "$OCEANBOX_HELM_ACCESS_TOKEN" oceanbox \
https://gitlab.com/api/v4/projects/54396343/packages/helm/stable
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add cerbos https://download.cerbos.dev/helm-charts
helm repo add dapr https://dapr.github.io/helm-charts/
helm repo add ncsa https://opensource.ncsa.illinois.edu/charts
helm repo add dex https://charts.dexidp.io
helm repo add openfga https://openfga.github.io/helm-charts
helm repo update
@@ -0,0 +1,12 @@
#!/bin/sh
export HOME=/helm-working-dir
helm repo update oceanbox
if [ -n "$PARAM_CHART" -a "$PARAM_CHART" != "." ]; then
helm show values $PARAM_CHART > values-chart.yaml
elif [ -f chart ]; then
CHART=$(cat chart)
helm show values $CHART > values-chart.yaml
fi
+16
View File
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Secret
metadata:
annotations:
managed-by: argocd.argoproj.io
labels:
argocd.argoproj.io/secret-type: cluster
name: cluster-staging-vcluster
namespace: argocd
stringData:
config: |
{"bearerToken":"","tlsClientConfig":{"insecure":true}}
name: staging-vcluster
server: https://staging-vcluster.staging-vcluster
type: Opaque
@@ -12,7 +12,7 @@ description: Archive management for Atlantis
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: v6.17.0
version: v6.20.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v6.17.0
appVersion: v6.20.0
-47
View File
@@ -1,47 +0,0 @@
{
"connString": "Username=app;Password=secret;Host=prod-archmeister-rw;Port=5432;Database=app;Pooling=true;",
"oidc": {
"issuer": "https://idp.srv.oceanbox.io/dex",
"authorization_endpoint": "https://idp.srv.oceanbox.io/dex/auth",
"token_endpoint": "https://idp.srv.oceanbox.io/dex/token",
"jwks_uri": "https://idp.srv.oceanbox.io/dex/keys",
"userinfo_endpoint": "https://idp.srv.oceanbox.io/dex/userinfo",
"device_authorization_endpoint": "https://idp.srv.oceanbox.io/dex/device/code",
"clientId": "archmeister",
"clientSecret": "",
"scopes": [
"openid",
"email",
"offline_access",
"profile"
]
},
"sso": {
"cookieDomain": ".oceanbox.io",
"signedOutRedirectUri": "https://idp.srv.oceanbox.io/dex/static/logout.html",
"redis": "prod-redis-master.redis.svc,user=default,password=secret",
"appDomain": "atlantis",
"dataProtectionKeys": "DataProtection-Keys"
},
"allowedOrigins": [
"https://maps.oceanbox.io",
"https://atlantis.srv.oceanbox.io",
"https://maps.relic.oceanbox.io",
"https://sorcerer.data.oceanbox.io",
"https://sorcerer.hpc.oceanbox.io",
"https://jonas-sorcerer.ekman.oceanbox.io",
"https://beta.sorcerer.ekman.oceanbox.io",
"https://simkir-sorcerer.ekman.oceanbox.io",
"https://stig-sorcerer.ekman.oceanbox.io",
"https://atlantis.beta.oceanbox.io",
"https://jonas-atlantis.beta.oceanbox.io",
"https://simkir-atlantis.beta.oceanbox.io",
"https://stig-atlantis.beta.oceanbox.io",
"https://a.local.oceanbox.io:8080"
],
"logService" : "https://seq.oceanbox.io",
"logApiKey": "",
"cliUsers": [
"admin:en-to-tre-fire"
]
}
@@ -1,42 +0,0 @@
{
"connString": "Username=app;Password=secret;Host=staging-archmeister-rw;Port=5432;Database=app;Pooling=true;",
"oidc": {
"issuer": "https://idp.srv.oceanbox.io/dex",
"authorization_endpoint": "https://idp.srv.oceanbox.io/dex/auth",
"token_endpoint": "https://idp.srv.oceanbox.io/dex/token",
"jwks_uri": "https://idp.srv.oceanbox.io/dex/keys",
"userinfo_endpoint": "https://idp.srv.oceanbox.io/dex/userinfo",
"device_authorization_endpoint": "https://idp.srv.oceanbox.io/dex/device/code",
"clientId": "archmeister_dev",
"clientSecret": "",
"scopes": [
"openid",
"email",
"offline_access",
"profile"
]
},
"sso": {
"cookieDomain": ".oceanbox.io",
"signedOutRedirectUri": "https://idp.srv.oceanbox.io/dex/static/logout.html",
"redis": "staging-redis-master.redis.svc,user=default,password=secret",
"appDomain": "atlantis",
"dataProtectionKeys": "DataProtection-Keys"
},
"allowedOrigins": [
"https://atlantis.beta.oceanbox.io",
"https://sorcerer.beta.data.oceanbox.io",
"https://sorcerer.hpc.oceanbox.io",
"https://s.local.oceanbox.io:8080",
"https://maps.oceanbox.io",
"https://jonas-atlantis.beta.oceanbox.io",
"https://simkir-atlantis.beta.oceanbox.io",
"https://stig-atlantis.beta.oceanbox.io",
"https://atlantis.local.oceanbox.io:8080"
],
"logService" : "https://seq.oceanbox.io",
"logApiKey": "",
"cliUsers": [
"admin:en-to-tre-fire"
]
}
@@ -84,8 +84,8 @@ spec:
emptyDir: {}
{{- end }}
- name: appsettings
secret:
secretName: {{ template "Archmeister.fullname" . }}-appsettings
configMap:
name: {{ template "Archmeister.fullname" . }}-appsettings
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
-26
View File
@@ -1,26 +0,0 @@
ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
hosts:
- host: archmeister.srv.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- archmeister.srv.oceanbox.io
secretName: prod-archmeister-tls
cluster:
backupEnabled: true
backupRetention: 60d
instances: 2
resources:
limits:
cpu: 200m
memory: 1Gi
requests:
cpu: 200m
memory: 1Gi
-25
View File
@@ -1,25 +0,0 @@
image:
tag: 04ca077a-debug
ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
atlantis.oceanbox.io/expose: global
hosts:
- host: archmeister.beta.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- archmeister.beta.oceanbox.io
secretName: staging-archmeister-tls
resources:
limits:
cpu: 200m
memory: 1Gi
requests:
cpu: 200m
memory: 1Gi
@@ -5,12 +5,23 @@
replicaCount: 1
image:
repository: registry.gitlab.com/oceanbox/oceanbox.dataagent
tag: v6.17.0
tag: v6.20.0
pullPolicy: IfNotPresent
init:
enabled: false
image: ubuntu:rolling
command: ["/bin/sh", "-c", "true"]
env:
- name: LOG_LEVEL
value: "3"
- name: APP_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: APP_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
imagePullSecrets:
- name: gitlab-pull-secret
nameOverride: ""
@@ -52,13 +63,12 @@ ingress:
secretName: archmeister-tls
internal:
annotations: {}
# nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
# nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
persistence:
enabled: false
# size: 10G
# storageClass: ""
# accessMode: ReadWriteMany
cluster:
enabled: true
instances: 1
@@ -74,7 +84,6 @@ cluster:
- CREATE EXTENSION fuzzystrmatch;
- CREATE EXTENSION postgis_tiger_geocoder;
- ALTER USER app WITH SUPERUSER;
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
+6
View File
@@ -0,0 +1,6 @@
apiVersion: v2
name: atlantis
description: Atlantis map and simulation service
type: application
version: v2.87.1
appVersion: v2.87.1
-21
View File
@@ -1,21 +0,0 @@
apiVersion: v2
name: atlantis
description: Atlantis map and simulation service
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.0.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 0.0.0
@@ -1,26 +0,0 @@
{{- if .Values.cluster.enabled -}}
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: {{ include "Atlantis.fullname" . }}
annotations:
linkerd.io/inject: disabled
labels:
{{- include "Atlantis.labels" . | nindent 4 }}
spec:
instances: {{ .Values.cluster.instances | default "2" }}
# Example of rolling update strategy:
# - unsupervised: automated update of the primary once all
# replicas have been upgraded (default)
# - supervised: requires manual supervision to perform
# the switchover of the primary
primaryUpdateStrategy: unsupervised
backup:
retentionPolicy: {{ .Values.cluster.backupRetention | default "60d" }}
storage:
size: {{ .Values.cluster.size | default "5Gi" }}
{{- end }}
@@ -1,21 +0,0 @@
apiVersion: dapr.io/v1alpha1
kind: Subscription
metadata:
name: hipster-events
spec:
topic: hipster
route: /hipster-events
pubsubname: pubsub
scopes:
- atlantis
---
apiVersion: dapr.io/v1alpha1
kind: Subscription
metadata:
name: inbox-events
spec:
topic: inbox
route: /inbox-events
pubsubname: pubsub
scopes:
- atlantis
-35
View File
@@ -1,35 +0,0 @@
{
"oidc": {
"issuer": "https://idp.srv.oceanbox.io/dex",
"authorization_endpoint": "https://idp.srv.oceanbox.io/dex/auth",
"token_endpoint": "https://idp.srv.oceanbox.io/dex/token",
"jwks_uri": "https://idp.srv.oceanbox.io/dex/keys",
"userinfo_endpoint": "https://idp.srv.oceanbox.io/dex/userinfo",
"device_authorization_endpoint": "https://idp.srv.oceanbox.io/dex/device/code",
"clientId": "atlantis",
"clientSecret": "",
"scopes": [
"openid",
"email",
"offline_access",
"profile"
]
},
"sso": {
"cookieDomain": ".oceanbox.io",
"signedOutRedirectUri": "https://idp.srv.oceanbox.io/dex/static/logout.html",
"redis": "prod-redis-master.redis.svc,user=default,password=secret",
"appDomain": "atlantis",
"dataProtectionKeys": "DataProtection-Keys"
},
"archmeister" : "https://archmeister.srv.oceanbox.io",
"sorcerer" : "https://sorcerer.data.oceanbox.io",
"allowedOrigins": [
"http://maps.oceanbox.io",
"https://maps.oceanbox.io",
"http://atlantis.srv.oceanbox.io",
"https://atlantis.srv.oceanbox.io"
],
"logService" : "https://seq.oceanbox.io",
"logApiKey": ""
}
@@ -1,48 +0,0 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "atlantis"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: replace
path: /spec/template/spec/containers/0/env/0
value:
name: LOG_LEVEL
value: "4"
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: BARENTSWATCH_SECRET
valueFrom:
secretKeyRef:
name: prod-atlantis-barentswatch
key: secret
optional: true
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: BARENTSWATCH_CLIENT_ID
valueFrom:
secretKeyRef:
name: prod-atlantis-barentswatch
key: client-id
optional: true
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: REDIS_USER
value: default
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: prod-redis
key: redis-password
- op: add
path: /spec/template/spec/containers/0/envFrom/-
value:
secretRef:
name: prod-atlantis-env
-33
View File
@@ -1,33 +0,0 @@
{
"oidc": {
"issuer": "https://idp.srv.oceanbox.io/dex",
"authorization_endpoint": "https://idp.srv.oceanbox.io/dex/auth",
"token_endpoint": "https://idp.srv.oceanbox.io/dex/token",
"jwks_uri": "https://idp.srv.oceanbox.io/dex/keys",
"userinfo_endpoint": "https://idp.srv.oceanbox.io/dex/userinfo",
"device_authorization_endpoint": "https://idp.srv.oceanbox.io/dex/device/code",
"clientId": "atlantis_dev",
"clientSecret": "",
"scopes": [
"openid",
"email",
"offline_access",
"profile"
]
},
"sso": {
"cookieDomain": ".oceanbox.io",
"signedOutRedirectUri": "https://idp.srv.oceanbox.io/dex/static/logout.html",
"redis": "staging-redis-master.redis.svc,user=default,password=secret",
"appDomain": "atlantis",
"dataProtectionKeys": "DataProtection-Keys"
},
"archmeister" : "https://archmeister.beta.oceanbox.io",
"sorcerer" : "https://sorcerer.beta.data.oceanbox.io",
"allowedOrigins": [
"http://atlantis.beta.oceanbox.io",
"https://atlantis.beta.oceanbox.io"
],
"logService" : "https://seq.oceanbox.io",
"logApiKey": ""
}
@@ -1,48 +0,0 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "atlantis"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: replace
path: /spec/template/spec/containers/0/env/0
value:
name: LOG_LEVEL
value: "4"
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: BARENTSWATCH_SECRET
valueFrom:
secretKeyRef:
name: staging-atlantis-barentswatch
key: secret
optional: true
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: BARENTSWATCH_CLIENT_ID
valueFrom:
secretKeyRef:
name: staging-atlantis-barentswatch
key: client-id
optional: true
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: REDIS_USER
value: default
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: staging-redis
key: redis-password
- op: add
path: /spec/template/spec/containers/0/envFrom/-
value:
secretRef:
name: staging-atlantis-env
+54
View File
@@ -0,0 +1,54 @@
{{- if .Values.cluster.enabled -}}
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: {{ include "Atlantis.fullname" . }}-db
namespace: {{ .Release.Namespace }}
annotations:
linkerd.io/inject: disabled
labels:
{{- include "Atlantis.labels" . | nindent 4 }}
spec:
instances: {{ .Values.cluster.instances | default "1" }}
imageName: ghcr.io/cloudnative-pg/postgis:15-3.3
# Example of rolling update strategy:
# - unsupervised: automated update of the primary once all
# replicas have been upgraded (default)
# - supervised: requires manual supervision to perform
# the switchover of the primary
primaryUpdateStrategy: unsupervised
backup:
retentionPolicy: {{ .Values.cluster.backupRetention | default "60d" }}
storage:
size: {{ .Values.cluster.size | default "5Gi" }}
{{- with .Values.cluster.bootstrap }}
bootstrap:
{{- if .enabled }}
pg_basebackup:
source: archmaester
externalClusters:
- name: archmaester
connectionParameters:
host: {{ .source.db }}-rw.{{ .source.namespace }}
user: streaming_replica
sslmode: verify-full
sslKey:
name: {{ .source.db }}-replication
key: tls.key
sslCert:
name: {{ .source.db }}-replication
key: tls.crt
sslRootCert:
name: {{ .source.db }}-ca
key: ca.crt
{{- else }}
initdb:
postInitTemplateSQL:
- CREATE EXTENSION postgis;
- CREATE EXTENSION postgis_topology;
- CREATE EXTENSION fuzzystrmatch;
- CREATE EXTENSION postgis_tiger_geocoder;
- ALTER USER app WITH SUPERUSER;
{{- end }}
{{- end }}
{{- end }}
@@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "Atlantis.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "Atlantis.labels" . | nindent 4 }}
spec:
@@ -83,8 +84,8 @@ spec:
emptyDir: {}
{{- end }}
- name: appsettings
secret:
secretName: {{ template "Atlantis.fullname" . }}-appsettings
configMap:
name: {{ template "Atlantis.fullname" . }}-appsettings
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
@@ -3,6 +3,7 @@ apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "Atlantis.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "Atlantis.labels" . | nindent 4 }}
spec:
+62
View File
@@ -0,0 +1,62 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "Atlantis.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }}
{{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}}
{{- end }}
{{- end }}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "Atlantis.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
ingressClassName: {{ .Values.ingress.className }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
{{- end }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
{{- else }}
serviceName: {{ .serviceName | default $fullName }}
servicePort: {{ .servicePort | default $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
@@ -15,11 +15,12 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}
name: {{ $fullName }}-internal
labels:
{{- include "Atlantis.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
atlantis.oceanbox.io/expose: internal
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
@@ -41,7 +42,7 @@ spec:
- host: {{ .host | quote }}
http:
paths:
{{- range .paths }}
{{- range .internal }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
@@ -3,6 +3,7 @@ kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "Atlantis.fullname" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.persistence.annotations }}
annotations:
{{ toYaml . | indent 4 }}
+38
View File
@@ -0,0 +1,38 @@
{{- if not .Values.cluster.enabled }}
apiVersion: v1
kind: Secret
metadata:
annotations:
kyverno/clone: "true"
name: {{ include "Atlantis.fullname" . }}-db-superuser
namespace: {{ .Release.Namespace }}
type: kubernetes.io/basic-auth
data:
username:
password:
{{- else }}
{{- if .Values.cluster.bootstrap.enabled }}
apiVersion: v1
kind: Secret
metadata:
annotations:
kyverno/clone: "true"
name: {{ .Values.cluster.bootstrap.source.db }}-replication
type: kubernetes.io/tls
data:
tls.crt: ""
tls.key: ""
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
annotations:
kyverno/clone: "true"
name: {{ .Values.cluster.bootstrap.source.db }}-ca
namespace: {{ .Release.Namespace }}
data:
ca.crt: ""
ca.key: ""
{{- end }}
{{- end }}
@@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "Atlantis.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "Atlantis.labels" . | nindent 4 }}
spec:
@@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "Atlantis.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "Atlantis.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
@@ -0,0 +1,20 @@
{{- if .Values.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "Atlantis.fullname" . }}
namespace: {{ .Release.Namespace }}
spec:
endpoints:
- honorLabels: false
path: /metrics
port: http
jobLabel: {{ .Values.serviceMonitor.label | default (include "Atlantis.fullname" .) }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
app.kubernetes.io/instance: {{ include "Atlantis.fullname" . }}
app.kubernetes.io/name: atlantis
{{- end }}
-27
View File
@@ -1,27 +0,0 @@
ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
hosts:
- host: atlantis.srv.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
- host: maps.srv.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- atlantis.srv.oceanbox.io
- maps.srv.oceanbox.io
secretName: atlantis-tls
resources:
limits:
cpu: 250m
memory: 1Gi
requests:
cpu: 250m
memory: 1Gi
-26
View File
@@ -1,26 +0,0 @@
image:
tag: a41b6229-debug
ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
# atlantis.oceanbox.io/expose: internal
hosts:
- host: atlantis.beta.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
tls:
- hosts:
- atlantis.beta.oceanbox.io
secretName: staging-atlantis-tls
resources:
limits:
cpu: 250m
memory: 1Gi
requests:
cpu: 250m
memory: 1Gi
@@ -6,22 +6,31 @@ replicaCount: 1
image:
repository: registry.gitlab.com/oceanbox/atlantis
tag: v2.77.5
tag: v2.87.1
pullPolicy: IfNotPresent
init:
enabled: false
image: ubuntu:rolling
command: [ "/bin/sh", "-c", "true" ]
command: ["/bin/sh", "-c", "true"]
env:
- name: LOG_LEVEL
value: "3"
- name: APP_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: APP_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
imagePullSecrets:
- name: gitlab-pull-secret
nameOverride: ""
fullnameOverride: ""
serviceAccount:
@@ -40,7 +49,7 @@ podSecurityContext:
securityContext:
capabilities:
drop:
- ALL
- ALL
readOnlyRootFilesystem: false
runAsNonRoot: true
runAsUser: 1000
@@ -50,7 +59,7 @@ service:
port: 8085
ingress:
enabled: true
enabled: false
className: "nginx"
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
@@ -60,9 +69,16 @@ ingress:
paths:
- path: /
pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal:
- path: /internal
pathType: ImplementationSpecific
tls:
- hosts:
- atlantis.srv.oceanbox.io
- atlantis.srv.oceanbox.io
secretName: atlantis-tls
persistence:
@@ -72,23 +88,28 @@ persistence:
accessMode: ReadWriteOnce
cluster:
enabled: false
instances: 2
enabled: true
instances: 1
backupEnabled: true
backupRetention: 60d
size: 5Gi
bootstrap:
enabled: true
source:
db: prod-archmeister
namespace: atlantis
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
@@ -97,8 +118,9 @@ autoscaling:
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
serviceMonitor:
enabled: true
nodeSelector: {}
tolerations: []
affinity: {}

Some files were not shown because too many files have changed in this diff Show More