Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

readme.md

Schema.json file

Allow to define options that can be changed by user from products page with graphql mutation uStore_updateApplication

products ui

Example:

{
  "schema": {
    "properties": [
      {
        "type": "boolean",
        "label": "unifie-app-enabled",
        "name": "isEnabled"
      },
      {
        "type": "textarea",
        "label": "Config (yaml)",
        "name": "vars['versus-incident'].app.config"
      },
      {
        "type": "textarea",
        "label": "email_message (tpl)",
        "name": "vars['versus-incident'].app.email_message"
      }
    ]
  }
}
  • type - input type. You can add your own input types in file packages/store/components/unifie/UnifieForm.tsx
  • label - text message for user
  • name - related field in unifie deployment configuration.

Deployment configuration fields

You can edit this fields:

  • name: String
  • domain: String
  • extData: JSON - your custom json data, can be used in helm as a vars
  • isReady: Boolean
  • isEnabled: Boolean
  • region: Int - cluster id
  • version: Int - version id (related to CI/CD and Versions )
  • env: JSON docs
  • services: JSON docs
  • tags: JSON
  • vars: JSON - helm vars (same as values.yaml) read more