Skip to content

Commit

Permalink
Merge pull request #48 from wansir/master
Browse files Browse the repository at this point in the history
fix: ksbuilder publish missing screenshots
  • Loading branch information
wansir committed Aug 10, 2023
2 parents 2527b59 + d22286b commit 5c26bc4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/extension/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ kind: Extension
metadata:
name: {{.Name}}
labels:
category.kubesphere.io: {{.Category}}
kubesphere.io/category: {{.Category | quote}}
spec:
description: {{.Description | toJson}}
displayName: {{.DisplayName | toJson}}
Expand All @@ -179,6 +179,7 @@ metadata:
name: {{.Name}}-{{.Version}}
labels:
kubesphere.io/extension-ref: {{.Name}}
kubesphere.io/category: {{.Category | quote}}
spec:
{{- with .InstallationMode }}
installationMode: {{.}}
Expand All @@ -196,6 +197,8 @@ spec:
kubeVersion: {{.KubeVersion | quote}}
sources: {{.Sources | toJson}}
version: {{.Version | quote}}
category: {{.Category | quote}}
screenshots: {{.Screenshots | toJson}}
`)
if err != nil {
panic(err)
Expand Down

0 comments on commit 5c26bc4

Please sign in to comment.