From b9752204a5467c3438af83670e402ec483141771 Mon Sep 17 00:00:00 2001 From: TommyLike Date: Wed, 26 Apr 2023 22:02:23 +0800 Subject: [PATCH] Update document and deploy yaml --- Makefile | 5 +- README.md | 20 +++++++ deploy/config.yaml | 59 ++++++++++++-------- deploy/deployment.yaml | 114 ++++++++++++++++++++++++++++---------- deploy/kustomization.yaml | 2 +- deploy/namespace.yaml | 2 +- deploy/service.yaml | 20 ++++++- 7 files changed, 163 insertions(+), 59 deletions(-) diff --git a/Makefile b/Makefile index 38309e6..b3ce382 100644 --- a/Makefile +++ b/Makefile @@ -23,4 +23,7 @@ control-server-image: docker build -t tommylike/signatrust-control-server:$(GIT_COMMIT) --build-arg BINARY=control-server -f Dockerfile . control-admin-image: - docker build -t tommylike/signatrust-control-admin:$(GIT_COMMIT) --build-arg BINARY=control-admin -f Dockerfile . \ No newline at end of file + docker build -t tommylike/signatrust-control-admin:$(GIT_COMMIT) --build-arg BINARY=control-admin -f Dockerfile . + +deploy-local: + kustomize build ./deploy | kubectl apply -f - \ No newline at end of file diff --git a/README.md b/README.md index 66adbf4..ca89cc0 100644 --- a/README.md +++ b/README.md @@ -138,4 +138,24 @@ RUST_BACKTRACE=full RUST_LOG=info ./target/debug/client --config