Skip to content

Commit

Permalink
Merge pull request #121 from hangscer8/componentsVersion_status_optio…
Browse files Browse the repository at this point in the history
…nal_items

componentsVersion.status optional
  • Loading branch information
kubean-pr-robot[bot] authored and ErikJiang committed Sep 7, 2022
2 parents fda8de1 + fa25c64 commit 858c4e1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-release-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Download componentversion CR
uses: actions/download-artifact@v3
with:
path: charts/kubean/templates/kubeancomponentsversion.cr.yaml
path: charts/kubean/templates/
name: offline-build-cr-file

- name: update helm version and image tag
Expand Down
3 changes: 2 additions & 1 deletion api/apis/kubeancomponentsversion/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ type Spec struct {
}

type Status struct {
// +optional
Offline OfflineStatus `json:"offline,omitempty"`
}

type OfflineStatus struct {
// +required
// +optional
Items []*SoftwareInfoStatus `json:"items"`

// +optional
Expand Down
2 changes: 0 additions & 2 deletions api/charts/_crds/kubean.io_kubeancomponentsversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ spec:
- name
type: object
type: array
required:
- items
type: object
type: object
required:
Expand Down
2 changes: 0 additions & 2 deletions charts/kubean/_crds/kubean.io_kubeancomponentsversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ spec:
- name
type: object
type: array
required:
- items
type: object
type: object
required:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 858c4e1

Please sign in to comment.