feat: add helm manifest for k8s and makefile (#444)

Signed-off-by: henrywangx <henrywangx@gmail.com>

Co-authored-by: xiong wang <xiong.wang@inceptio.ai>
This commit is contained in:
大雄
2022-02-15 21:47:13 +08:00
committed by GitHub
parent 7d1f368bc2
commit e35b058ab4
19 changed files with 717 additions and 4 deletions

View File

@ -158,6 +158,19 @@ dataSourceName = root:123456@tcp(db:3306)/
docker-compose up
```
### K8S
You could use helm to deploy casdoor in k8s. At first, you should modify the [configmap](./manifests/casdoor/templates/configmap.yaml) for your application.
And then run bellow command to deploy it.
```bash
IMG_TAG=latest make deploy
```
And undeploy it with:
```bash
make undeploy
```
That's it! Try to visit http://localhost:8000/. :small_airplane:
## Detailed documentation