|
1 | | -# Nest.JS Starter Template |
| 1 | +# Patchwork |
2 | 2 |
|
3 | | -## What's Included |
| 3 | +## What does this do? |
4 | 4 |
|
5 | | -- OpenAPI/Swagger |
6 | | -- Health EP `/health` |
7 | | -- Helmet |
8 | | -- Dockerfile |
9 | | -- Helm Chart |
10 | | -- GitHub Action workflows to lint, test, build image, and verify helm chart |
| 5 | +This inspects your statefulsets, daemonsets, deployments and checks the associated registries to see if the tag has been updated. If an update is available it triggers a rollout on that resource. This is very early in development and should not be run in production servers. |
11 | 6 |
|
12 | | -## NPM Scripts |
| 7 | +## What are the current limitations |
13 | 8 |
|
14 | | -| Syntax | Description | |
15 | | -| ------------------ | ------------------------------------------------------------------- | |
16 | | -| minikube:start | Creates a minikube cluster for testing | |
17 | | -| minikube:stop | Stops the minikube cluster | |
18 | | -| minikube:delete | Deletes the minikube cluster | |
19 | | -| minikube:copyImage | Load the build image from build:image into the minikube cluster | |
20 | | -| build | Compile the TypeScript to JavaScript | |
21 | | -| build:image | Build the container image | |
22 | | -| build:docs | Builds the docs folder | |
23 | | -| start:dev | Run the server with hot reloading on save | |
24 | | -| start | Start the server | |
25 | | -| lint | Check if code passes linting rules | |
26 | | -| lint:fix | Automatically fix any formatting or linting rules that can be fixed | |
27 | | -| helm:deploy | Deploy the chart with the local to your cluster | |
28 | | -| helm:uninstall | Delete the chart release from your cluster | |
29 | | -| helm:test | Run the packaged tests (postman) for the helm release | |
30 | | -| test | Run the unit tests | |
| 9 | +This is still very early in development and has a few limitations. |
31 | 10 |
|
32 | | -## How to use published chart |
| 11 | +1. Does not support private registries |
| 12 | +2. Does not pull updates for things without `imagePullPolicy = Always` |
| 13 | +3. Only supports querying `linux/arm64` image repositories at the moment |
| 14 | +4. Only looks for updates to the same tag, IE for cases where base patches have been pushed to a tag |
33 | 15 |
|
34 | | -First add the repo `helm repo add nestjs-starter https://bryopsida.github.io/nestjs-starter/`, then fetch updates `helm repo update`, and finally, install with `helm upgrade --install starter nestjs-starter/nestjs-starter --wait`. |
| 16 | +## How to deploy |
| 17 | + |
| 18 | +First add the repo `helm repo add patchwork https://bryopsida.github.io/patchwork/`, then fetch updates `helm repo update`, and finally, install with `helm upgrade --install patchwork patchwork/patchwork --wait`. |
0 commit comments