Skip to content

Commit

Permalink
Merge pull request #2 from samson-samson/v0.2.1
Browse files Browse the repository at this point in the history
V0.2.1
  • Loading branch information
samson-samson authored Sep 27, 2023
2 parents 359492b + f9a8f49 commit 1cb6223
Show file tree
Hide file tree
Showing 15 changed files with 223 additions and 565 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ ChaosMeta is a platform dedicated to supporting all stages of fault drills, cove
# core advantages
#### Simple and easy to use, provides user interface, low threshold for use
Support visual user interface, Kubernetes API, command line, HTTP API, and other methods.
![](docs/static/workflow.png)
[![docs/static/componentlink.png
](docs/static/workflow.png)](https://player.bilibili.com/player.html?aid=276433781&bvid=BV1yF411m7b4&cid=1280401525&p=1)

#### Fully verified by a large amount of practical experience, high reliability

Expand Down
4 changes: 3 additions & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ ChaosMeta 是一个致力于支撑故障演练各个阶段的平台,覆盖了
# 核心优势
#### 简单易用,提供用户界面,使用门槛低
支持可视化用户界面、Kubernetes API、命令行、HTTP等多种使用方式
![](docs/static/workflow.png)

[![docs/static/componentlink.png
](docs/static/workflow.png)](https://player.bilibili.com/player.html?aid=276433781&bvid=BV1yF411m7b4&cid=1280401525&p=1)

#### 大量实践经验充分验证,功能可靠性高

Expand Down
4 changes: 2 additions & 2 deletions chaosmeta-platform-frontend/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export default defineConfig({
styledComponents: {},
proxy: {
'/users': {
target: 'http://127.0.0.1/',
target: 'http://127.0.0.1:8082/',
changeOrigin: true,
pathRewrite: { '^/api': '' },
},
'/chaosmeta': {
target: 'http://127.0.0.1/',
target: 'http://127.0.0.1:8082/',
changeOrigin: true,
pathRewrite: { '^/api': '' },
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func getInjectStep(experimentInstanceUUID string, node *experiment_instance.Work
if node.Subtasks.TargetLabel != "" {
labelMap := make(map[string]string)
for _, pair := range strings.Split(node.Subtasks.TargetLabel, ",") {
parts := strings.Split(pair, "=")
parts := strings.Split(pair, ":")
labelMap[strings.TrimSpace(parts[0])] = strings.TrimSpace(parts[1])
}
selector.Label = labelMap
Expand Down
227 changes: 116 additions & 111 deletions chaosmeta-platform/pkg/service/inject/inject.go

Large diffs are not rendered by default.

76 changes: 38 additions & 38 deletions chaosmeta-platform/pkg/service/inject/inject_k8s.go

Large diffs are not rendered by default.

29 changes: 0 additions & 29 deletions chaosmeta-platform/quick-start/platform/configmap.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions chaosmeta-platform/quick-start/platform/configmap_conf.yaml

This file was deleted.

42 changes: 0 additions & 42 deletions chaosmeta-platform/quick-start/platform/deplotment.yaml

This file was deleted.

47 changes: 0 additions & 47 deletions chaosmeta-platform/quick-start/platform/deployment.yaml

This file was deleted.

73 changes: 0 additions & 73 deletions chaosmeta-platform/quick-start/platform/mysql_deployment.yaml

This file was deleted.

39 changes: 0 additions & 39 deletions chaosmeta-platform/quick-start/platform/rbac.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions chaosmeta-platform/quick-start/platform/react.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions chaosmeta-platform/quick-start/platform/service.yaml

This file was deleted.

Loading

0 comments on commit 1cb6223

Please sign in to comment.