github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/broker/testdata/own-cluster-schema.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "_controlsOrder": [ 4 "name", 5 "kubeconfig", 6 "shootName", 7 "shootDomain", 8 "modules" 9 ], 10 "_show_form_view": true, 11 "properties": { 12 "kubeconfig": { 13 "title": "Kubeconfig contents", 14 "type": "string" 15 }, 16 "modules": { 17 "_controlsOrder": [ 18 "default", 19 "list" 20 ], 21 "description": "Use default modules or provide your custom list of modules.", 22 "oneOf": [ 23 { 24 "additionalProperties": false, 25 "description": "Default modules", 26 "properties": { 27 "default": { 28 "default": true, 29 "description": "Check the default modules at: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules?version=Cloud.", 30 "readOnly": true, 31 "title": "Use Default", 32 "type": "boolean" 33 } 34 }, 35 "title": "Default", 36 "type": "object" 37 }, 38 { 39 "additionalProperties": false, 40 "description": "Define custom module list", 41 "properties": { 42 "list": { 43 "description": "Select a module technical name from the list available at: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules?version=Cloud. You can only use a module technical name once.", 44 "items": { 45 "_controlsOrder": [ 46 "name", 47 "channel", 48 "customResourcePolicy" 49 ], 50 "properties": { 51 "channel": { 52 "_enumDisplayName": { 53 "fast": "Fast - latest version", 54 "regular": "Regular - default version" 55 }, 56 "default": "regular", 57 "description": "Select your preferred release channel.", 58 "enum": [ 59 "regular", 60 "fast" 61 ], 62 "type": "string" 63 }, 64 "customResourcePolicy": { 65 "_enumDisplayName": { 66 "CreateAndDelete": "CreateAndDelete - default module resource is created or deleted.", 67 "Ignore": "Ignore - module resource is not created." 68 }, 69 "default": "CreateAndDelete", 70 "description": "Select your preferred CustomResourcePolicy setting.", 71 "enum": [ 72 "CreateAndDelete", 73 "Ignore" 74 ], 75 "type": "string" 76 }, 77 "name": { 78 "description": "Select a module technical name from the list available at: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules?version=Cloud. You can only use a module technical name once.", 79 "minLength": 1, 80 "title": "Name", 81 "type": "string" 82 } 83 }, 84 "type": "object" 85 }, 86 "type": "array", 87 "uniqueItems": true 88 } 89 }, 90 "title": "Custom", 91 "type": "object" 92 } 93 ], 94 "type": "object" 95 }, 96 "name": { 97 "_BTPdefaultTemplate": { 98 "elements": [ 99 "saSubdomain" 100 ] 101 }, 102 "minLength": 1, 103 "pattern": "^[a-zA-Z0-9-]*$", 104 "title": "Cluster Name", 105 "type": "string" 106 }, 107 "shootDomain": { 108 "minLength": 1, 109 "pattern": "^[a-zA-Z0-9-\\.]*$", 110 "title": "Shoot domain", 111 "type": "string" 112 }, 113 "shootName": { 114 "minLength": 1, 115 "pattern": "^[a-zA-Z0-9-]*$", 116 "title": "Shoot name", 117 "type": "string" 118 } 119 }, 120 "required": [ 121 "name", 122 "kubeconfig", 123 "shootName", 124 "shootDomain" 125 ], 126 "type": "object" 127 }