-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add sqlite db for item locking with k8s (TT-1764) (#7)
* feat: add sqlite db for item locking with k8s (TT-1764) * lint fix * move text under image * update db readme * make delete endpoint valid * use the username from token to check if locked to current user * cleanup * Fix merge conflicts and use SVG for logo font * Make header a little smaller * Fix invalid properties on svg * update readme with prisma details * delete lock on cancel. allow fetching items locked to same user. * Delete lock on approval * console log removal * Reduce claim size, update Dockerfile, make prisma singleton
- Loading branch information
1 parent
585ecf9
commit 9eb74ce
Showing
26 changed files
with
1,857 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,7 @@ next-env.d.ts | |
/.idea | ||
|
||
# local dev files | ||
dummy-data.json | ||
dummy-data.json | ||
|
||
# PVC k8s | ||
/db/ammo.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The sqlite db-file goes here. Adding this README so we can commit the directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: ammo-pvc | ||
namespace: tekst-stage | ||
spec: | ||
accessModes: | ||
- ReadWriteMany | ||
volumeMode: Filesystem | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: fast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.