fix(convension): Fix APIVersion
Sonarlint complains about "ApiVersion"
This commit is contained in:
@@ -42,7 +42,7 @@ type HelmChart struct {
|
|||||||
composeHash *string `yaml:"-"`
|
composeHash *string `yaml:"-"`
|
||||||
Name string `yaml:"name"`
|
Name string `yaml:"name"`
|
||||||
Icon string `yaml:"icon,omitempty"`
|
Icon string `yaml:"icon,omitempty"`
|
||||||
ApiVersion string `yaml:"apiVersion"`
|
APIVersion string `yaml:"apiVersion"`
|
||||||
Version string `yaml:"version"`
|
Version string `yaml:"version"`
|
||||||
AppVersion string `yaml:"appVersion"`
|
AppVersion string `yaml:"appVersion"`
|
||||||
Description string `yaml:"description"`
|
Description string `yaml:"description"`
|
||||||
@@ -56,7 +56,7 @@ func NewChart(name string) *HelmChart {
|
|||||||
Name: name,
|
Name: name,
|
||||||
Templates: make(map[string]*ChartTemplate, 0),
|
Templates: make(map[string]*ChartTemplate, 0),
|
||||||
Description: "A Helm chart for " + name,
|
Description: "A Helm chart for " + name,
|
||||||
ApiVersion: "v2",
|
APIVersion: "v2",
|
||||||
Version: "",
|
Version: "",
|
||||||
AppVersion: "", // set to 0.1.0 by default if no "main-app" label is found
|
AppVersion: "", // set to 0.1.0 by default if no "main-app" label is found
|
||||||
Values: map[string]any{
|
Values: map[string]any{
|
||||||
|
Reference in New Issue
Block a user