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

Add module.yaml validation #52

Open
yalosev opened this issue Dec 26, 2024 · 1 comment · May be fixed by #56
Open

Add module.yaml validation #52

yalosev opened this issue Dec 26, 2024 · 1 comment · May be fixed by #56
Assignees

Comments

@yalosev
Copy link
Member

yalosev commented Dec 26, 2024

Have to validate module.yaml file
Developers ofter forget name or writing something weird to the stage

@juev
Copy link
Member

juev commented Jan 10, 2025

@yalosev

deckhouse-controller contains the following description of the module.yaml file:

type Definition struct {
	Name         string                       `yaml:"name"`
	Weight       uint32                       `yaml:"weight,omitempty"`
	Tags         []string                     `yaml:"tags"`
	Stage        string                       `yaml:"stage"`
	Description  string                       `yaml:"description"`
	Requirements *v1alpha1.ModuleRequirements `yaml:"requirements,omitempty"`

	DisableOptions DisableOptions `yaml:"disable"`
}

What exactly do we need to check in the file? And what are considered critical errors?

@juev juev linked a pull request Jan 10, 2025 that will close this issue
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 a pull request may close this issue.

2 participants