From 930c853a7cc0b2cedc36b8b68761f193ee45844b Mon Sep 17 00:00:00 2001 From: Peefy Date: Sun, 9 Oct 2022 16:30:04 +0800 Subject: [PATCH] feat: add the guestbook app with kusionstack plugins. Signed-off-by: Peefy --- plugins/kusionstack/README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 plugins/kusionstack/README.md diff --git a/plugins/kusionstack/README.md b/plugins/kusionstack/README.md new file mode 100644 index 0000000..8c03af2 --- /dev/null +++ b/plugins/kusionstack/README.md @@ -0,0 +1,30 @@ +# KusionStack + +[KusionStack](https://kusionstack.io/) is a highly flexible programmable technology stack to enable unified application delivery and operation, which aims to help enterprises build an application-centric configuration management plane and DevOps ecosystem. + +Use the following steps to try the application: + +* Follow instructions from the [guide](https://kusionstack.io/docs/user_docs/guides/argocd/drift-detection-by-argocd) to make sure `kusion` binary is available in `argocd-repo-server` pod. +* Register `kusion` plugin `argocd-cm` ConfigMap: + +```yaml +apiVersion: v1 +data: + configManagementPlugins: | + - name: kusion + generate: + command: ["sh", "-c"] + args: ["kusion compile"] + lockRepo: true +``` + +* Create a guestbook application using `kusion` as a config management plugin name. + +``` +argocd app create guestbook-test \ + --repo https://github.com/KusionStack/konfig.git \ + --path appops/guestbook-frontend/prod \ + --dest-namespace default \ + --dest-server https://kubernetes.default.svc \ + --config-management-plugin kusion +```