Configure GUI Schema for Manifests

Introduction

In Devtron, you can create CRDs for defining the GUI schema. Your GUI schema will be used to determine the fields displayed to the user when they edit the manifest in GUI mode.

Editing GUI Schema

  1. Go to Resource Browser and select your cluster.

  2. Use the searchbox labelled 'Jump to Kind' and search for Guischema.

    Figure 1: Searching GUI Schema
  3. Click the GUI schema you wish to edit. In case no GUI schema exists, you may create a GUI schema for your resource kind.

    Figure 2: Click GUI Schema
  4. Click Edit Live Manifest to modify the YAML.

    Figure 3: Edit Live Manifest
  5. Locate the schema object and customize it according to your requirements.

    Figure 4: Modifying Schema
  6. Click Apply Changes.


Create your own GUI Schema

  1. Go to Resource Browser and select your cluster.

  2. Click Create Resource at the top.

  3. Use the following template and define your schema in the schema object, also specify the resource kinds in applyTo. Once done, click Apply.

Last updated