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

[Schema] New help repo connection schema #367

merged 6 commits into from
Sep 18, 2023

Conversation

Yashsharma1911
Copy link
Contributor

Description

This PR fixes meshery/meshery#8714

Added new RJSF schema for helm repo, with (name, description, a single URL)

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

"title": "URL",
"format": "uri",
"description": "The URL of the Helm repository where the charts are hosted.",
"x-rjsf-grid-area" : "12"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include standard field validation for a URL.

schemas/configuration/helmRepoConnection.json Outdated Show resolved Hide resolved
@leecalcote
Copy link
Member

Accepting suggested changes...

@@ -2,5 +2,5 @@ package schemas

import "embed"

//go:embed configuration
//go:embed configuration connections
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We were using embed.FS here which adds directory files/assests directly in go binary that's why it was not able to use other directories, to use other directories we need to mention name of them here

@Yashsharma1911
Copy link
Contributor Author

Accepting suggested changes...

Thankyou for making changes direclty in PR

@Yashsharma1911
Copy link
Contributor Author

This is how directory structure will look

🗂 Schemas
  |___configuration
  |___connections
         |___[ connectionName ]
                |___rjsfSchema.json
                |___uiRjsfSchema.json

@Yashsharma1911 Yashsharma1911 merged commit a11ed83 into meshery:master Sep 18, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helm Repository Connection
2 participants