Skip to content

Commit

Permalink
Merge pull request #42 from iawia002/chart-v2
Browse files Browse the repository at this point in the history
Update the chart version to v2 to fix the dependency dropping issue
  • Loading branch information
wansir committed Jul 31, 2023
2 parents ffde367 + 9bc4b01 commit 8fd3c89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/extension/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func LoadApplicationClass(name, p, tempDir string) error {
}

c := &chart.Metadata{
APIVersion: "v1",
APIVersion: chart.APIVersionV2,
Name: appClass.Name,
Version: appClass.PackageVersion,
AppVersion: appClass.AppVersion,
Expand Down
2 changes: 1 addition & 1 deletion pkg/extension/templates/extension.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: kubesphere.io/v1alpha1
name: [[ .Name ]]
version: 0.1.0
displayName:
Expand Down
2 changes: 1 addition & 1 deletion pkg/extension/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ func (md *Metadata) LoadIcon(p string) error {

func (md *Metadata) ToChartYaml() (*chart.Metadata, error) {
var c = chart.Metadata{
APIVersion: chart.APIVersionV2,
Name: md.Name,
APIVersion: md.APIVersion,
Version: md.Version,
Keywords: md.Keywords,
Sources: md.Sources,
Expand Down

0 comments on commit 8fd3c89

Please sign in to comment.