Compare commits

...

186 Commits

Author SHA1 Message Date
Jonas Juselius eb2eebaa34 feat: simplify charts, resources, kustomizations and applications for atlantis SPMSA 2024-10-08 16:54:58 +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 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
hanssenkai 01743a0422 network policy for csi-addons controller 2024-05-30 14:45:59 +02:00
249 changed files with 1463 additions and 682 deletions
+1
View File
@@ -1,2 +1,3 @@
_manifest.yaml
_resources.yaml
*.tgz
Symlink
+1
View File
@@ -0,0 +1 @@
kustomizations/petimeter/manifests/acl.json
+1 -1
View File
@@ -29,7 +29,7 @@ spec:
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: manifests/archmeister
path: kustomizations/archmeister
plugin:
name: kustomize-helm-with-rewrite
parameters:
+12 -6
View File
@@ -1,21 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: atlantis-host-cluster-resources
name: atlantis-cluster-resources
namespace: argocd
# annotations: # close, but no cigar
# argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
spec:
project: aux
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/host-manifests
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: 'resources/atlantis/manifests/prod'
path: resources/atlantis
+3
View File
@@ -1,3 +1,4 @@
# Currently not in use. Configured via the create-vcluster script.
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
@@ -14,6 +15,8 @@ spec:
prune: false
# - cluster: https://staging-vcluster.staging-vcluster
# env: staging
# autoSync: false
# prune: false
template:
metadata:
name: "{{ .env }}-atlantis-resources"
+1 -1
View File
@@ -29,7 +29,7 @@ spec:
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: manifests/atlantis
path: kustomizations/atlantis
plugin:
name: kustomize-helm-with-rewrite
parameters:
+4 -4
View File
@@ -7,9 +7,9 @@ spec:
generators:
- list:
elements:
- cluster: https://kubernetes.default.svc
env: prod
hostname: busynix.srv.oceanbox.io
# - 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
@@ -24,7 +24,7 @@ spec:
source:
repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: manifests/busynix
path: kustomizations/busynix
plugin:
name: kustomize-helm-with-rewrite
parameters:
+2 -2
View File
@@ -25,8 +25,8 @@ spec:
chart: cerbos
helm:
valueFiles:
- $values/manifests/cerbos/values.yaml
- $values/manifests/cerbos/values-{{ env }}.yaml
- $values/kustomizations/cerbos/values.yaml
- $values/kustomizations/cerbos/values-{{ env }}.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
ref: values
+1 -1
View File
@@ -11,5 +11,5 @@ spec:
source:
repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: manifests/dex/manifests
path: kustomizations/dex/manifests
+1 -1
View File
@@ -24,7 +24,7 @@ spec:
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: manifests/geoserver
path: kustomizations/geoserver
plugin:
name: kustomize-helm-with-rewrite
parameters:
+1 -1
View File
@@ -29,7 +29,7 @@ spec:
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: manifests/hipster
path: kustomizations/hipster
plugin:
name: kustomize-helm-with-rewrite
parameters:
+2 -2
View File
@@ -14,9 +14,9 @@ spec:
chart: jaeger-operator
helm:
valueFiles:
- $values/manifests/jaeger/values.yaml
- $values/kustomizations/jaeger/values.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
# path: manifests/jaeger/manifests
# path: kustomizations/jaeger/manifests
ref: values
+1 -1
View File
@@ -14,7 +14,7 @@ spec:
chart: keycloak
helm:
valueFiles:
- $values/manifests/keycloak/values.yaml
- $values/kustomizations/keycloak/values.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
ref: values
+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
secretAccessKey: ${S3SECRET}
accessKeyId: ${S3KEY}
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
+47
View File
@@ -0,0 +1,47 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: openfga
namespace: argocd
spec:
goTemplate: true
generators:
- list:
elements:
- cluster: https://kubernetes.default.svc
env: prod
hostname: openfga.adm.oceanbox.io
autoSync: false
prune: true
- cluster: https://kubernetes.default.svc
env: staging
hostname: openfga.dev.oceanbox.io
autoSync: true
prune: true
template:
metadata:
name: '{{ .env }}-openfga'
spec:
project: aux
destination:
namespace: idp
server: '{{ .cluster }}'
sources:
- repoURL: https://openfga.github.io/helm-charts
targetRevision: 0.2.12
chart: openfga
helm:
valueFiles:
- $values/kustomizations/openfga/values.yaml
- $values/kustomizations/openfga/values-{{ .env }}.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
ref: values
templatePatch: |
{{- if .autoSync }}
spec:
syncPolicy:
automated:
prune: {{ .prune }}
selfHeal: false
{{- end }}
+106
View File
@@ -0,0 +1,106 @@
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
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: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging
nginx.ingress.kubernetes.io/ssl-redirect: "true"
atlantis.oceanbox.io/expose: internal
ingressClassName: nginx
hosts:
- host: collector.adm.oceanbox.io
paths:
- path: /
pathType: Prefix
port: 4318
tls:
- secretName: collector-tls
hosts:
- collector.adm.oceanbox.io
+2 -2
View File
@@ -22,9 +22,9 @@ spec:
namespace: oceanbox
server: '{{ cluster }}'
source:
repoURL: https://gitlab.com/oceanbox/charts.git
repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: HEAD
path: manifests/osm-tile-server
path: kustomizations/osm-tile-server
plugin:
name: kustomize-helm-with-rewrite
parameters:
+2 -2
View File
@@ -29,7 +29,7 @@ spec:
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: manifests/petimeter
path: kustomizations/petimeter
plugin:
name: kustomize-helm-with-rewrite
parameters:
@@ -39,7 +39,7 @@ spec:
string: '{{ .hostname }}'
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: manifests/petimeter/manifests
path: kustomizations/petimeter/manifests
templatePatch: |
{{- if .autoSync }}
spec:
+2 -2
View File
@@ -27,8 +27,8 @@ spec:
chart: rabbitmq
helm:
valueFiles:
- $values/manifests/rabbitmq/values-{{ env }}.yaml
- $values/kustomizations/rabbitmq/values-{{ env }}.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: manifests/rabbitmq/{{ env }}
path: kustomizations/rabbitmq/{{ env }}
ref: values
+15 -22
View File
@@ -9,10 +9,8 @@ spec:
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'
@@ -22,25 +20,20 @@ spec:
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: manifests/redis/{{ env }}
# ref: values
- repoURL: https://charts.bitnami.com/bitnami
targetRevision: 19.5.2
chart: redis
helm:
valueFiles:
- $values/kustomizations/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: manifests/redis
plugin:
name: kustomize-helm-with-rewrite
parameters:
- name: env
string: '{{ env }}'
- name: hostname
string: '{{ hostname }}'
- name: chart
string: bitnami/redis
path: kustomizations/redis/{{ env }}
ignoreDifferences:
- group: apps
kind: StatefulSet
jqPathExpressions:
- '.spec.template.spec.containers[].resources.limits.cpu'
+1 -1
View File
@@ -14,7 +14,7 @@ spec:
chart: seq
helm:
valueFiles:
- $values/manifests/seq/values.yaml
- $values/kustomizations/seq/values.yaml
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
ref: values
+1 -1
View File
@@ -29,7 +29,7 @@ spec:
sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main
path: manifests/sorcerer
path: kustomizations/sorcerer
plugin:
name: kustomize-helm-with-rewrite
parameters:
+75
View File
@@ -0,0 +1,75 @@
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: http://10.255.241.30:30080
access_key: ${S3SECRET}
secret_key: ${S3KEY}
insecure: true
backend: local
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: 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
+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
-16
View File
@@ -1,16 +0,0 @@
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":"eyJhbGciOiJSUzI1NiIsImtpZCI6InhKNmNNemw4V01jR0cxUHJ4ajE3bTdQRDlKd1ZyQUQ0cDFPcXRuVDBFbWsifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJhZG1pbi10b2tlbiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJhZG1pbiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImUyNjQ2MDgzLTNjMDMtNDc0Ni1iMGIxLWViOGRmMzY3NTNiMiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDprdWJlLXN5c3RlbTphZG1pbiJ9.hXQzh4mus2yPwXz-EyowgSpOKgOk7uDU8z-dH-sZJ-UgzxQFOxABfkjD4Kb4JYlXrr_zkMO7n_zkaDOl3iFDCDS2Pury7hsIlJNKETYk-_llH0RYI9DYzAB5PkeOyuKhmRq8eklynq5ObPtk7WVuj3Bp-64uSqfX-WvxqoE0dfh0erSVcU7BwwjRdeDnO01xzv5zXXAYkOmk6e5DGOLBdUMD8kDZE0_NEa-MKCVkl78sc2mCsOMOUhzXoCduvc92hfnoFEfoTKe7xHwLeUim4HvVfD9czXOpRtHKXgEsk0UGtj0xg7D70uftUIxpr4a8rbWceM4eyGtXpjPUm1mh1Q","tlsClientConfig":{"insecure":true}}
name: staging-vcluster
server: https://staging-vcluster.staging-vcluster
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
@@ -4,4 +4,4 @@ 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,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
+2 -3
View File
@@ -12,8 +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.19.5
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.19.5
appVersion: v6.20.0
+2 -2
View File
@@ -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 }}
+1 -1
View File
@@ -5,7 +5,7 @@
replicaCount: 1
image:
repository: registry.gitlab.com/oceanbox/oceanbox.dataagent
tag: v6.19.5
tag: v6.20.0
pullPolicy: IfNotPresent
init:
enabled: false
+6
View File
@@ -0,0 +1,6 @@
dependencies:
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 20.1.7
digest: sha256:9c9be148366bb3d50f7394ba5a33e1a00a087b5ed61d2bcf1faec9b369e76582
generated: "2024-10-08T13:21:10.374993273+02:00"
+8 -14
View File
@@ -1,18 +1,12 @@
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: v2.78.15
# 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: v2.78.15
version: v2.87.1
appVersion: v2.87.1
dependencies:
- name: redis
version: 20.1.7
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled
alias: redis
+34 -6
View File
@@ -2,14 +2,15 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: {{ include "Atlantis.fullname" . }}
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 "2" }}
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)
@@ -18,9 +19,36 @@ spec:
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 }}
+3 -2
View File
@@ -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 }}
+1
View File
@@ -3,6 +3,7 @@ apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "Atlantis.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "Atlantis.labels" . | nindent 4 }}
spec:
+1
View File
@@ -16,6 +16,7 @@ apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ $fullName }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "Atlantis.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
@@ -0,0 +1,26 @@
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-atlantis-services
namespace: {{ .Release.Namespace }}
spec:
egress:
- toEndpoints:
- matchLabels:
k8s:io.kubernetes.pod.namespace: dapr-system
- toEndpoints:
- matchLabels:
k8s:io.kubernetes.pod.namespace: {{ .Values.rabbitmq.namespace | default "rabbitmq" }}
- toEndpoints:
- matchLabels:
k8s:io.kubernetes.pod.namespace: {{ .Values.tracing.namespace | default "otel" }}
- toFQDNs:
- matchName: '*.oceanbox.io'
- matchName: api.github.com
- matchName: dapr.github.io
- matchName: gitlab.com
- matchPattern: '*.gitlab.com'
- matchPattern: "*.k1.itpartner.no"
- matchName: analytics.loft.rocks
endpointSelector:
matchLabels: {}
@@ -2,21 +2,21 @@ apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: pubsub
namespace: atlantis
namespace: {{ .Release.Namespace }}
spec:
type: pubsub.rabbitmq
version: v1
type: pubsub.rabbitmq
metadata:
- name: hostname
value: prod-rabbitmq.rabbitmq.svc
- name: protocol
value: amqp
value: {{ .Values.rabbitmq.service }}.{{ .Values.rabbitmq.namespace | default "rabbitmq" }}
- name: username
value: user
value: {{ .Values.rabbitmq.username }}
- name: password
secretKeyRef:
name: prod-rabbitmq
name: {{ .Values.rabbitmq.secretName | default (printf "%s-rabbitmq" .Release.Name) }}
key: rabbitmq-password
- name: protocol
value: amqp
- name: durable
value: true
- name: deletedWhenUnused
@@ -49,3 +49,6 @@ spec:
value: 10485760
- name: exchangeKind
value: fanout
- name: clientName
value: "{appID}"
+1
View File
@@ -3,6 +3,7 @@ kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "Atlantis.fullname" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.persistence.annotations }}
annotations:
{{ toYaml . | indent 4 }}
+57
View File
@@ -0,0 +1,57 @@
apiVersion: v1
kind: Secret
metadata:
annotations:
kyverno/clone: "true"
name: {{ .Release.Name }}-rabbitmq
namespace: {{ .Release.Namespace }}
type: Opaque
data:
---
{{- if not .Values.redis.enabled }}
apiVersion: v1
kind: Secret
metadata:
annotations:
kyverno/clone: "true"
name: {{ .Release.Name }}-redis
type: Opaque
data:
{{- end }}
---
{{- 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 }}
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 }}
+1
View File
@@ -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 }}
@@ -2,23 +2,21 @@ apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: statestore
namespace: atlantis
namespace: {{ .Release.Namespace }}
spec:
type: state.redis
version: v1
metadata:
- name: redisHost
value: prod-redis-master.redis.svc:6379
value: {{ .Release.Name }}-redis-master:6379
- name: redisUsername
value: default
- name: redisPassword
secretKeyRef:
name: prod-redis
name: {{ .Release.Name }}-redis
key: redis-password
- name: actorStateStore
value: "true"
scopes:
- prod-atlantis
- prod-petimeter
- prod-hipster
- prod-archmeister
- atlantis
- {{ .Release.Name }}-atlantis
@@ -0,0 +1,31 @@
apiVersion: dapr.io/v2alpha1
kind: Subscription
metadata:
name: hipster-events
namespace: {{ .Release.Namespace }}
spec:
topic: hipster
routes:
default: /hipster-events
pubsubname: pubsub
metadata:
queueType: quorum
scopes:
- atlantis
- {{ .Release.Name}}-atlantis
---
apiVersion: dapr.io/v2alpha1
kind: Subscription
metadata:
name: inbox-events
namespace: {{ .Release.Namespace }}
spec:
topic: inbox
routes:
default: /inbox-events
pubsubname: pubsub
metadata:
queueType: quorum
scopes:
- atlantis
- {{ .Release.Name}}-atlantis
@@ -2,10 +2,10 @@ apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
name: tracing
namespace: atlantis
namespace: {{ .Release.Namespace }}
spec:
tracing:
samplingRate: "1"
zipkin:
endpointAddress: "http://jaeger-collector:9411/api/v2/spans"
endpointAddress: {{ .Values.tracing.endpoint }}
+71 -4
View File
@@ -3,21 +3,28 @@
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: registry.gitlab.com/oceanbox/atlantis
tag: v2.78.15
tag: v2.87.1
pullPolicy: IfNotPresent
init:
enabled: false
image: ubuntu:rolling
command: ["/bin/sh", "-c", "true"]
env:
- name: LOG_LEVEL
value: "3"
imagePullSecrets:
- name: gitlab-pull-secret
nameOverride: ""
fullnameOverride: ""
serviceAccount:
create: true
# Annotations to add to the service account
@@ -25,9 +32,12 @@ serviceAccount:
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
podSecurityContext:
fsGroup: 2000
securityContext:
capabilities:
drop:
@@ -35,11 +45,13 @@ securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: true
runAsUser: 1000
service:
type: ClusterIP
port: 8085
ingress:
enabled: true
enabled: false
className: "nginx"
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
@@ -53,17 +65,71 @@ ingress:
- hosts:
- atlantis.srv.oceanbox.io
secretName: atlantis-tls
persistence:
enabled: false
size: 1G
storageClass: ""
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
redis:
enabled: true
image:
repository: redis/redis-stack-server
tag: 7.2.0-v10
architecture: standalone
replica:
replicaCount: 1
command:
- "/opt/redis-stack/bin/redis-server"
- "--loadmodule"
- "/opt/redis-stack/lib/redisearch.so"
- "MAXSEARCHRESULTS"
- "10000"
- "MAXAGGREGATERESULTS"
- "10000"
- "--loadmodule"
- "/opt/redis-stack/lib/rejson.so"
auth:
enabled: true
sentinel: true
password: ""
usePasswordFiles: false
existingSecretPasswordKey: ""
# existingSecret: staging-redis
master:
resources:
limits:
cpu: null
ephemeral-storage: 1024Mi
memory: 192Mi
requests:
cpu: 150m
ephemeral-storage: 50Mi
memory: 128Mi
tracing:
namespace: otel
endpoint: "http://opentelemetry-collector.otel:9411/api/v2/spans"
rabbitmq:
namespace: rabbitmq
service: staging-rabbitmq
username: user
# secretName: staging-rabbitmq
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
@@ -82,6 +148,7 @@ autoscaling:
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}
+2 -2
View File
@@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes
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: v2.6.4
version: v2.7.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: v2.6.4
appVersion: v2.7.0
+2 -2
View File
@@ -81,8 +81,8 @@ spec:
emptyDir: {}
{{- end }}
- name: appsettings
secret:
secretName: {{ template "Hipster.fullname" . }}-appsettings
configMap:
name: {{ template "Hipster.fullname" . }}-appsettings
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
+1 -1
View File
@@ -5,7 +5,7 @@
replicaCount: 1
image:
repository: registry.gitlab.com/oceanbox/hipster
tag: v2.6.4
tag: v2.7.0
pullPolicy: IfNotPresent
init:
enabled: false
+2 -2
View File
@@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes
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: v1.9.8
version: v1.9.9
# 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: v1.9.8
appVersion: v1.9.9
@@ -1,19 +0,0 @@
- op: replace
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
value: /healthz
- op: replace
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
value: /healthz
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: acl
mountPath: /app/acl.json
subPath: acl.json
readOnly: true
- op: add
path: /spec/template/spec/volumes/-
value:
name: acl
configMap:
name: petimeter-acl
-16
View File
@@ -1,16 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: oceanbox
patches:
- target:
version: v1
group: apps
kind: Deployment
name: petimeter
path: deployment_patch.yaml
# configMapGenerator:
# - name: petimeter-acl
# files:
# - acl.json
resources:
- _manifest.yaml
+2 -2
View File
@@ -84,8 +84,8 @@ spec:
emptyDir: {}
{{- end }}
- name: appsettings
secret:
secretName: {{ template "Petimeter.fullname" . }}-appsettings
configMap:
name: {{ template "Petimeter.fullname" . }}-appsettings
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
+1 -1
View File
@@ -5,7 +5,7 @@
replicaCount: 1
image:
repository: registry.gitlab.com/oceanbox/petimeter
tag: v1.9.8
tag: v1.9.9
pullPolicy: IfNotPresent
init:
enabled: false
+2 -2
View File
@@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes
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: v4.7.7
version: v4.9.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: v4.7.7
appVersion: v4.9.0
+2 -2
View File
@@ -84,8 +84,8 @@ spec:
emptyDir: {}
{{- end }}
- name: appsettings
secret:
secretName: {{ template "Sorcerer.fullname" . }}-appsettings
configMap:
name: {{ template "Sorcerer.fullname" . }}-appsettings
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
+1 -1
View File
@@ -5,7 +5,7 @@
replicaCount: 1
image:
repository: registry.gitlab.com/oceanbox/sorcerer
tag: v4.7.7
tag: v4.9.0
pullPolicy: IfNotPresent
init:
enabled: false
-14
View File
@@ -1,14 +0,0 @@
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: jaeger
namespace: {{ .Release.Namespace }}
spec:
strategy: allInOne
ingress:
enabled: false
allInOne:
image: jaegertracing/all-in-one:1.22
options:
query:
base-path: /jaeger
-13
View File
@@ -11,16 +11,3 @@ subjects:
- kind: ServiceAccount
namespace: {{ $fullname }}
name: {{ $fullname }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: vcluster-jaegers
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: vcluster-jaegers
subjects:
- kind: ServiceAccount
namespace: {{ $fullname }}
name: {{ $fullname }}
+12 -10
View File
@@ -69,8 +69,10 @@ spec:
to: "rabbitmq/{{ .Values.environment }}-rabbitmq"
- from: "{{ .Release.Namespace }}/staging-archmeister-rw"
to: "atlantis/staging-archmeister-rw"
- from: "{{ .Release.Namespace }}/jaeger-collector"
to: "atlantis/jaeger-collector"
- from: "idp/{{ .Values.environment }}-openfga"
to: "idp/{{ .Values.environment }}-openfga"
- from: "otel/opentelemetry-collector"
to: "otel/opentelemetry-collector"
- from: "idp/{{ .Values.environment }}-cerbos"
to: "idp/{{ .Values.environment }}-cerbos"
sync:
@@ -94,9 +96,6 @@ spec:
- apiGroups: [ "cilium.io" ]
resources: [ "ciliumnetworkpolicies" ]
verbs: [ "get", "list", "watch", "create", "patch" ]
# - apiGroups: [ "jaegertracing.io" ]
# resources: [ "jaegers" ]
# verbs: [ "get", "list", "watch", "create", "patch" ]
config: |-
version: v1beta1
import:
@@ -110,15 +109,11 @@ spec:
# apiVersion: dapr.io/v1alpha1
# - kind: Subscription
# apiVersion: dapr.io/v1alpha1
# - kind: Jaeger
# apiVersion: jaegertracing.io/v1
# - kind: CiliumNetworkPolicy
# apiVersion: cilium.io/v2
export:
- kind: CiliumNetworkPolicy
apiVersion: cilium.io/v2
# - kind: Jaeger
# apiVersion: jaegertracing.io/v1
init:
manifests: |-
---
@@ -161,6 +156,13 @@ spec:
annotations:
kubernetes.io/service-account.name: admin
type: kubernetes.io/service-account-token
---
apiVersion: v1
kind: Namespace
metadata:
labels:
kubernetes.io/metadata.name: atlantis
name: atlantis
# The contents of manifests-template will be templated using helm
# this allows you to use helm values inside, e.g.: {{ .Release.Name }}
@@ -172,7 +174,7 @@ spec:
helm:
- chart:
name: dapr
version: 1.13.3
version: 1.14.0
repo: https://dapr.github.io/helm-charts/
release:
name: dapr
+49
View File
@@ -0,0 +1,49 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: yolo-dl
name: yolo-dl
namespace: oceanbox
spec:
replicas: 1
selector:
matchLabels:
app: yolo-dl
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: yolo-dl
spec:
containers:
- command:
- /bin/sh
- -c
- httpd -p 8000 -f
image: busybox:latest
imagePullPolicy: IfNotPresent
name: yolo-dl
ports:
- containerPort: 8000
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: data
workingDir: /data
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: data
persistentVolumeClaim:
claimName: yolo-dl-data
+22
View File
@@ -0,0 +1,22 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-yolo-dl
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 1Gi
csi:
driver: rook-ceph.cephfs.csi.ceph.com
nodeStageSecretRef:
name: rook-csi-cephfs-node
namespace: rook-ceph
volumeAttributes:
fsName: data
clusterID: rook-ceph
staticVolume: "true"
rootPath: /ssd/dl
volumeHandle: pv-yolo-dl
persistentVolumeReclaimPolicy: Retain
volumeMode: Filesystem
+14
View File
@@ -0,0 +1,14 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: yolo-dl-data
namespace: oceanbox
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
storageClassName: ""
volumeMode: Filesystem
volumeName: pv-yolo-dl
@@ -1,9 +1,10 @@
generatorOptions:
disableNameSuffixHash: true
secretGenerator:
configMapGenerator:
- name: prod-archmeister-appsettings
files:
- appsettings.json
secretGenerator:
- name: prod-archmeister-env
envs:
- default.env
@@ -0,0 +1,6 @@
- op: replace
path: /spec/rules/0/http/paths/0/path
value: /internal
- op: add
path: /metadata/annotations/nginx.ingress.kubernetes.io~1whitelist-source-range
value: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
@@ -1,9 +1,10 @@
generatorOptions:
disableNameSuffixHash: true
secretGenerator:
configMapGenerator:
- name: staging-archmeister-appsettings
files:
- appsettings.json
secretGenerator:
- name: staging-archmeister-env
envs:
- default.env
@@ -1,3 +1,5 @@
replicaCount: 2
podAnnotations:
dapr.io/app-id: "prod-archmeister"
dapr.io/enabled: "true"
@@ -1,3 +1,4 @@
replicaCount: 1
podAnnotations:
dapr.io/app-id: "staging-archmeister"
dapr.io/enabled: "true"
@@ -14,13 +15,12 @@ podAnnotations:
dapr.io/sidecar-cpu-limit: "300m"
dapr.io/sidecar-memory-limit: "1000Mi"
dapr.io/log-as-json: "true"
image:
tag: f8c27a74-debug
tag: 16390a0c-debug
ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
atlantis.oceanbox.io/expose: global
# atlantis.oceanbox.io/expose: internal
hosts:
- host: archmeister.beta.oceanbox.io
paths:
@@ -15,10 +15,10 @@
"profile"
]
},
"redis": "prod-redis-master.redis.svc,user=default,password=secret",
"sso": {
"cookieDomain": ".oceanbox.io",
"signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html",
"redis": "prod-redis-master.redis.svc,user=default,password=secret",
"appDomain": "atlantis",
"dataProtectionKeys": "DataProtection-Keys"
},
@@ -32,5 +32,6 @@
],
"logService" : "https://seq.adm.oceanbox.io",
"logApiKey": "",
"deployEnv": "prod"
"deployEnv": "prod",
"plainAuthUsers": []
}
@@ -1,2 +1,3 @@
OIDC_CLIENT_SECRET=KOJ6bDHzE5vdyfSrzgwLjtM5PzA809Zm
SEQ_APIKEY=v9RfeLBD9Si7OkFlkjPm
DEPLOY_NAME=prod-atlantis
@@ -1,9 +1,10 @@
generatorOptions:
disableNameSuffixHash: true
secretGenerator:
configMapGenerator:
- name: prod-atlantis-appsettings
files:
- appsettings.json
secretGenerator:
- name: prod-atlantis-env
envs:
- default.env
@@ -1,23 +1,25 @@
apiVersion: dapr.io/v1alpha1
apiVersion: dapr.io/v2alpha1
kind: Subscription
metadata:
name: hipster-events
spec:
topic: hipster
route: /hipster-events
routes:
default: /hipster-events
pubsubname: pubsub
metadata:
queueType: quorum
scopes:
- prod-atlantis
---
apiVersion: dapr.io/v1alpha1
apiVersion: dapr.io/v2alpha1
kind: Subscription
metadata:
name: inbox-events
spec:
topic: inbox
route: /inbox-events
routes:
default: /inbox-events
pubsubname: pubsub
metadata:
queueType: quorum
@@ -15,10 +15,10 @@
"profile"
]
},
"redis": "staging-redis-master.redis.svc,user=default,password=secret",
"sso": {
"cookieDomain": ".oceanbox.io",
"signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html",
"redis": "staging-redis-master.redis.svc,user=default,password=secret",
"appDomain": "atlantis",
"dataProtectionKeys": "DataProtection-Keys"
},
@@ -30,5 +30,6 @@
],
"logService" : "https://seq.adm.oceanbox.io",
"logApiKey": "",
"deployEnv": "staging"
"deployEnv": "staging",
"plainAuthUsers": []
}
@@ -1,2 +1,3 @@
OIDC_CLIENT_SECRET=3QjfSPmAemjn34XVA2o1fvoS7I4gKvOR
SEQ_APIKEY=v9RfeLBD9Si7OkFlkjPm
DEPLOY_NAME=staging-atlantis

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