-
Notifications
You must be signed in to change notification settings - Fork 13
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
Feat: helm template support + helm repo vcs option support #658
Conversation
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.
Looking good overall.
Asked some questions and wrote a few comments
@tomporat247 - thanks for all the feedback. added a new commit 72008cc Regarding your comment here: #658 (comment) |
client/template.go
Outdated
@@ -140,6 +144,16 @@ func (payload TemplateCreatePayload) Validate() error { | |||
return fmt.Errorf("file_name cannot be set when template type is: %s", payload.Type) | |||
} | |||
|
|||
if payload.IsHelmRepository { |
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.
This code still allows the user to set HelmChartName
without IsHelmRepository
and for non helm templates.
Not too serious but it still allows it
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.
added additional conditionals.
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.
Looking good overall, I left one more comment but I think it's not too important as that problem probably happens in other use cases here as well
Note that your unit tests are failing |
Yes. I will be pushing more changes. |
Issue & Steps to Reproduce / Feature Request
resolves #655
Solution