1
0
Fork 0
Commit graph

125 commits

Author SHA1 Message Date
dc952ed548
feat(helm): set deployment terminationGracePeriodSeconds to 10 2023-10-03 11:41:22 +02:00
9b05f8441f
feat(helm): set deployment rollingUpdate.maxUnavailable to 1 2023-10-03 11:40:29 +02:00
4330045f11
feat(helm): liveness probe config 2023-10-03 11:40:08 +02:00
2000699f98
fix(helm): properly propagate ingressClassName 2023-10-03 10:27:46 +02:00
717f8536e0
fix(livez.ts): linting error 2023-09-09 01:12:45 +02:00
56069dbda5
refactor: add /api/livez endpoint for kubernetes liveness probe, remove readiness probe 2023-09-09 01:10:42 +02:00
57dc162ba1
fix(nextauth): check if originLinkAccount is not undefined 2023-09-09 00:53:45 +02:00
94cd9e37d1
chore(deps): bump clsx - MAJOR 2023-09-09 00:46:58 +02:00
1c30b8ae11
chore(deps): bump @types/node 2023-09-09 00:45:20 +02:00
4023d38dfd
chore(deps): bump prettier - MAJOR, @types/prettier - MAJOR, prettier-plugin-tailwindcss 2023-09-09 00:43:53 +02:00
33fd1503a5
chore(deps): bump esbuild 2023-09-09 00:42:02 +02:00
f242e9fc29
chore(deps): bump @t3-oss/env-nextjs 2023-09-09 00:41:00 +02:00
08d238c878
chore(deps): bump @paralleldrive/cuid2 2023-09-09 00:38:36 +02:00
83111b5a19
chore(deps): bump @types/react-dom and @types/react 2023-09-09 00:37:41 +02:00
196979fe97
chore(deps): bump next-auth 2023-09-09 00:36:38 +02:00
dcf08b5937
chore(deps): bump next 2023-09-09 00:34:23 +02:00
e7557c6ef7
chore(deps): bump autoprefixer 2023-09-09 00:33:33 +02:00
46927850c9
chore(deps): bump postcss 2023-09-09 00:32:42 +02:00
22a7cd641f
chore(deps): bump typescript 2023-09-09 00:31:53 +02:00
a47bbccc1a
chore(deps): bump tailwindcss and @tailwindcss/typography plugin 2023-09-09 00:30:43 +02:00
dbf9bc84ce
chore(deps): bump zod 2023-09-09 00:28:56 +02:00
11e84a4871
chore(deps): bump eslint, eslint plugins, types
- eslint
- eslint-config-next
- @typescript-eslint/eslint-plugin - MAJOR
- @typescript-eslint/parser - MAJOR
- @types/eslint
2023-09-09 00:26:53 +02:00
539003882d
chore(deps): bump @headlessui/react 2023-09-09 00:21:15 +02:00
b77f6f14aa
chore(deps): bump prisma and @prisma/client to ^5.2.0 (major) 2023-09-09 00:20:09 +02:00
7cdcf52149
feat(helm): set replicaCount to 2 for production 2023-09-04 11:26:40 +02:00
47919e48c2
fix(nextauth): drop custom Keycloak fields before saving in DB
Keycloak response has more fields than we expect, therefore we cannot save the response, this commit removes the extra fields and allowsus to save to DB without an issue or a schema change (which is widely proposed on the internet, but I did not want to implement that)
2023-09-04 08:51:42 +02:00
0f7fee21e0
fix(helm): difference between preferred... and required...
- preferred (soft) pod (anti) affinity has weights and podAffinityTerm, required does not
- required (hard) pod (anti) affinity has directly array with labelSelector (no weight and no podAffinityTerm)
2023-09-03 14:11:21 +02:00
aa0637e6fc
fix(helm): add missing weight param to podAntiAffinity item 2023-09-03 14:04:33 +02:00
d16eb3d7b9
fix(helm): add default pdb.minAvailable to values.yaml 2023-09-03 12:02:44 +02:00
779c5aae0e
ci: fix jobs always running when previous stage failed
- future note: do not add `when: always`, it runs literarly always - not a surprise, but actually is
2023-09-03 11:48:02 +02:00
bdb17ba397
fix(helm): .Values.replicaCount type for comparison 2023-09-03 11:24:26 +02:00
e54c69f216
fix(nextauth): eslint errors 2023-09-03 11:24:08 +02:00
60d455c938
feat(helm): add podAntiAffinity (soft), run instances across nodes 2023-09-03 10:53:25 +02:00
e66c493366
feat(helm): add PodDisruptionBudget and run staging in two replicas 2023-09-03 10:52:39 +02:00
377e9e9570
feat(nextauth): properly handle signout
When signing out, by default keycloak session is not terminated, this fixes it and sends a request to keycloak instance to terminate the keycloak session.
2023-09-03 10:50:40 +02:00
2a7b833b2e
refactor(nextauth): change provider from Google to Keycloak
- using self-hosted keycloak as SSO `https://sso.mareshq.com`
2023-09-02 17:37:45 +02:00
083fe4565d
ci: switch to github hosted toolkit image 2023-07-11 10:06:57 +02:00
f5ad99c4dd
ci: add missing SKIP_ENV_VALIDATION=1 to 'lint next.js' job (before env var for npm run lint) 2023-07-05 17:13:33 +02:00
e78c412637
ci: add lint stage to lint next.js app and helm chart 2023-07-05 17:12:28 +02:00
a976fcdce0
refactor(helm): increase job .spec.activeDeadlineSeconds to 5 minutes 2023-07-05 17:10:09 +02:00
b88aec0a3d
refactor(helm): x2 cpu resources for jobs (to 200mCPU) 2023-07-05 17:09:02 +02:00
4c663dfe52
refactor(helm): x2 job (migration, seed) resources (to 512Mi RAM) 2023-07-05 17:04:35 +02:00
b479b98ef3
refactor(helm): x2 job (migration, seed) resources 2023-07-05 17:01:18 +02:00
ccdc5fb9b6
feat(helm): add resource requests and limits to jobs, adjust resources for deployment 2023-07-05 16:56:05 +02:00
385fa9998b
ci: rename jobs to use spaces instead of colon 2023-07-04 21:20:55 +02:00
595fc73364
ci: add deploy dry run and deploy jobs to production 2023-07-04 21:20:46 +02:00
5e46503a3a
feat(helm): Deployment: specify upgrade strategy (RollingUpdate) 2023-07-04 21:07:58 +02:00
6428d1e346
fix(helm): remove Ingress cert-manager.io/issuer annotation (.../cluster-issuer is already set) 2023-07-04 21:05:12 +02:00
a509c09d75
fix(helm): add Deployment's missing .spec.template.metadata.labels 2023-07-04 20:48:08 +02:00
800f65a5e6
refactor(helm): do not specify Job .spec.selector (bast practice)
See: https://kubernetes.io/docs/concepts/workloads/controllers/job/#specifying-your-own-pod-selector
2023-07-04 20:44:25 +02:00