Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Schema] New help repo connection schema #367

Merged
merged 6 commits into from
Sep 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Adde new help repo connection schema
Signed-off-by: yash sharma <yashsharma2572@gmail.com>
  • Loading branch information
Yashsharma1911 committed Sep 15, 2023
commit e756e7477e9f67af3606f90a291ccc069172cfbd
28 changes: 28 additions & 0 deletions schemas/configuration/helmRepoConnection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"//playground": "https://rjsf-team.github.io/react-jsonschema-form/#eyJmb3JtRGF0YSI6eyJmaXJzdE5hbWUiOiJDaHVjIiwibGFzdE5hbWUiOiJOb3JyaXMiLCJhZ2UiOjc1LCJiaW8iOiJSb3VuZGhvdXNlIGtpY2tpbmcgYXNzZXMgc2luY2UgMTk0MCIsInBhc3N3b3JkIjoibm9uZWVkIiwidGVsZXBob25lIjoiMS04MDAtS0lDS0FTUyJ9LCJzY2hlbWEiOnsidHlwZSI6Im9iamVjdCIsInByb3BlcnRpZXMiOnsibmFtZSI6eyJ0eXBlIjoic3RyaW5nIiwidGl0bGUiOiJOYW1lIiwibWluTGVuZ3RoIjoxLCJkZXNjcmlwdGlvbiI6Ik5hbWUgb2YgdGhlIG5ldyBIZWxtIHJlcG8gY29ubmVjdGlvbiJ9LCJkZXNjcmlwdGlvbiI6eyJ0eXBlIjoic3RyaW5nIiwidGl0bGUiOiJEZXNjcmlwdGlvbiIsImZvcm1hdCI6InRleHRhcmVhIiwiZGVzY3JpcHRpb24iOiJEZXNjcmlwdGlvbiBvZiB0aGlzIEhlbG0gcmVwbyBjb25uZWN0aW9uLiJ9LCJ1cmwiOnsidHlwZSI6InN0cmluZyIsInRpdGxlIjoiVVJMIiwiZm9ybWF0IjoidXJpIiwiZGVzY3JpcHRpb24iOiJUaGUgVVJMIG9mIHRoZSBIZWxtIHJlcG9zaXRvcnkgd2hlcmUgdGhlIGNoYXJ0cyBhcmUgaG9zdGVkLiJ9fSwicmVxdWlyZWQiOlsibmFtZSIsInVybCJdfSwidWlTY2hlbWEiOnsibmFtZSI6eyJ1aTpwbGFjZWhvbGRlciI6IkVudGVyIGEgbmFtZSJ9LCJkZXNjcmlwdGlvbiI6eyJ1aTp3aWRnZXQiOiJ0ZXh0YXJlYSIsInVpOnBsYWNlaG9sZGVyIjoiRW50ZXIgYSBkZXNjcmlwdGlvbiJ9LCJ1cmwiOnsidWk6cGxhY2Vob2xkZXIiOiJFbnRlciBhIFVSTCJ9fSwidGhlbWUiOiJkZWZhdWx0IiwibGl2ZVNldHRpbmdzIjp7InNob3dFcnJvckxpc3QiOiJ0b3AiLCJ2YWxpZGF0ZSI6ZmFsc2UsImRpc2FibGVkIjpmYWxzZSwibm9IdG1sNVZhbGlkYXRlIjpmYWxzZSwicmVhZG9ubHkiOmZhbHNlLCJvbWl0RXh0cmFEYXRhIjpmYWxzZSwibGl2ZU9taXQiOmZhbHNlLCJleHBlcmltZW50YWxfZGVmYXVsdEZvcm1TdGF0ZUJlaGF2aW9yIjp7ImFycmF5TWluSXRlbXMiOiJwb3B1bGF0ZSIsImVtcHR5T2JqZWN0RmllbGRzIjoicG9wdWxhdGVBbGxEZWZhdWx0cyJ9fX0=",
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Name",
"minLength": 1,
"description": "Name of the new Helm repo connection"
},
"description": {
"type": "string",
"title": "Description",
"format": "textarea",
"description": "Description of this Helm repo connection."
},
"url": {
"type": "string",
"title": "URL",
"format": "uri",
"description": "The URL of the Helm repository where the charts are hosted."
}
},
"required": [
Yashsharma1911 marked this conversation as resolved.
Show resolved Hide resolved
"name",
"url"
]
}
1 change: 1 addition & 0 deletions schemas/schemaProvider.go
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ func getSchemaMap() map[string]string {
"filter": "configuration/filterImport.json",
"design": "configuration/designImport.json",
"publish": "configuration/publishCatalogItem.json",
"helmRepo": "configuration/helmRepoConnection.json"
}
}