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

Update ci configuration and fixed the code error and security issue #389

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

Aisuko
Copy link
Member

@Aisuko Aisuko commented Oct 16, 2023

@welcome
Copy link

welcome bot commented Oct 16, 2023

Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, please review the Layer5 Community Welcome Guide and sure to join the community Slack.
Be sure to double-check that you have signed your commits. Here are instructions for making signing an implicit activity while peforming a commit.

@Aisuko Aisuko changed the title Add golangci -lint, fix error of code Update ci configuration and fixed the code error and security issue Oct 16, 2023
@Aisuko Aisuko mentioned this pull request Oct 16, 2023
1 task
@Aisuko Aisuko requested a review from leecalcote October 16, 2023 03:47
@leecalcote leecalcote added security dependencies Pull requests that update a dependency file docker labels Oct 16, 2023
if err != nil {
return err
}
return walkSummarizeExport(globalFlags, true, updateAll)
return walkSummarizeExport(gFlags, true, updateAll)
Copy link
Member

Choose a reason for hiding this comment

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

@zakisk look good?

github.com/kubernetes/kompose v1.26.1
github.com/layer5io/meshery-operator v0.6.10
github.com/layer5io/meshery-operator v0.6.13
Copy link
Member

Choose a reason for hiding this comment

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

👏

@@ -19,7 +19,7 @@ func GenerateComponents(ctx context.Context, manifest string, resource int, cfg
crds = cfg.ExtractCrds(manifest)
for _, crd := range crds {
var parsedCrd cue.Value
if cfg.CrdFilter.IsJson != true {
if !cfg.CrdFilter.IsJson {
Copy link
Member

Choose a reason for hiding this comment

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

Good

utils/manifests/utils.go Show resolved Hide resolved
@@ -156,70 +122,6 @@ func RemoveHelmTemplatingFromCRD(crdyaml *string) {
*crdyaml = strings.Join(yamlArr, "\n---\n")
}

func getCrdnames(s string) []string {
Copy link
Member

Choose a reason for hiding this comment

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

@MUzairS15, will you confirm that Meshery Server/other doesn't use this function or the filterYaml() function any longer?

Copy link
Member

Choose a reason for hiding this comment

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

@KiptoonKipkurui you might be able to offer similar confirmation

Copy link
Member

Choose a reason for hiding this comment

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

Confirmed: No use inside of Meshery Server.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good check

@leecalcote leecalcote requested a review from MUzairS15 October 16, 2023 20:56
@leecalcote leecalcote merged commit 98d0a1b into master Oct 17, 2023
6 of 8 checks passed
@leecalcote leecalcote deleted the feat/security branch October 17, 2023 12:32
@welcome
Copy link

welcome bot commented Oct 17, 2023

Thanks for your contribution to Meshery! 🎉

Shows a black logo in light color mode and a white one in dark color mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file docker security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Security issue] for all the projects are imported mesh kit
2 participants