-
Notifications
You must be signed in to change notification settings - Fork 218
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 new flags to disable lint/schema validation #68
Conversation
/assign @unguiculus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use ct doc-gen
to generate the documentation instead of manually adjusting it.
pkg/chart/chart.go
Outdated
result.Error = err | ||
return result | ||
|
||
if !t.config.NoYamlLint { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reflecting about this again, I'm think it would be better to do it the other way around and call the flags validate-yaml
and validate-chart-schema
. This would also be more consistent with the existing flags.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, was hard to me to think in the negative 😄 i will update
thanks for the review @unguiculus
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Signed-off-by: cpanato <[email protected]>
Signed-off-by: cpanato <[email protected]>
Signed-off-by: cpanato <[email protected]>
Signed-off-by: cpanato <[email protected]>
Signed-off-by: Reinhard Nägele <[email protected]>
I added some minor updates if you don't mind. |
@unguiculus no problem from my side. thanks btw! |
What this PR does / why we need it:
Add new flags to by pass lint/schema validation:
no-chart-schema-validation
andno-yaml-lint
Which issue this PR fixes