Tetrate · Schema

Role

EnterpriseEnvoyIstioKubernetesService Mesh

Properties

Name Type Description
name string
fqn string
displayName string
description string
rules array
View JSON Schema on GitHub

JSON Schema

tetrate-role-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Role",
  "title": "Role",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "fqn": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "rules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "resources": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "verbs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}