diff --git a/README.md b/README.md new file mode 100644 index 0000000..7fcb08e --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +# Infra-editor +![](https://img.shields.io/github/package-json/v/th2-net/th2-infra-editor-v2) +![](https://img.shields.io/github/workflow/status/th2-net/th2-infra-editor-v2/build%20&%20publish%20release%20image%20to%20ghcr.io) + +This is a web app that displays schemas, boxes and dictionaries and allows to edit them. + +# API +This app needs `th2-infra-mgr 1.5.2` backend component to function. It should be accessible at `{infra-editor-path}/backend/*` + +# Configuration +To include this component in your schema, a following yml file needs to be created +``` +apiVersion: th2.exactpro.com/v1 +kind: Th2CoreBox +metadata: + name: infra-editor +spec: + image-name: ghcr.io/th2-net/th2-infra-editor-v2 + image-version: 2.0.14 // change this line if you want to use a newer version + type: th2-infra-editor-v2 + extended-settings: + chart-cfg: + ref: schema-stable + path: custom-component + service: + enabled: false + targetPort: 80 + nodePort: '31276' + resources: + limits: + memory: 15Mi + cpu: 200m + requests: + memory: 10Mi + cpu: 20m + +``` + +# Screenshots +![picture](screenshot.png) diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..bd6bad0 Binary files /dev/null and b/screenshot.png differ