Skip to content

Commit

Permalink
switch storage version
Browse files Browse the repository at this point in the history
  • Loading branch information
qu1queee committed Jan 9, 2024
1 parent 7fc488a commit 3054897
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions deploy/crds/shipwright.io_buildruns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6347,7 +6347,7 @@ spec:
- spec
type: object
served: true
storage: true
storage: false
subresources:
status: {}
- additionalPrinterColumns:
Expand Down Expand Up @@ -12566,7 +12566,7 @@ spec:
- spec
type: object
served: true
storage: false
storage: true
subresources:
status: {}

4 changes: 2 additions & 2 deletions deploy/crds/shipwright.io_builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2143,7 +2143,7 @@ spec:
- spec
type: object
served: true
storage: true
storage: false
subresources:
status: {}
- additionalPrinterColumns:
Expand Down Expand Up @@ -4197,7 +4197,7 @@ spec:
- spec
type: object
served: true
storage: false
storage: true
subresources:
status: {}

4 changes: 2 additions & 2 deletions deploy/crds/shipwright.io_buildstrategies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2930,7 +2930,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
- name: v1beta1
Expand Down Expand Up @@ -5026,7 +5026,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}

4 changes: 2 additions & 2 deletions deploy/crds/shipwright.io_clusterbuildstrategies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2930,7 +2930,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
- name: v1beta1
Expand Down Expand Up @@ -5026,7 +5026,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}

1 change: 0 additions & 1 deletion pkg/apis/build/v1alpha1/build_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ type BuildStatus struct {

// Build is the Schema representing a Build definition
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:resource:path=builds,scope=Namespaced
// +kubebuilder:printcolumn:name="Registered",type="string",JSONPath=".status.registered",description="The register status of the Build"
// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.reason",description="The reason of the registered Build, either an error or succeed message"
Expand Down
1 change: 0 additions & 1 deletion pkg/apis/build/v1alpha1/buildrun_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ type ServiceAccount struct {

// BuildRun is the Schema representing an instance of build execution
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:resource:path=buildruns,scope=Namespaced,shortName=br;brs
// +kubebuilder:printcolumn:name="Succeeded",type="string",JSONPath=".status.conditions[?(@.type==\"Succeeded\")].status",description="The Succeeded status of the BuildRun"
// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type==\"Succeeded\")].reason",description="The Succeeded reason of the BuildRun"
Expand Down
1 change: 0 additions & 1 deletion pkg/apis/build/v1alpha1/buildstrategy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const (

// BuildStrategy is the Schema representing a strategy in the namespace scope to build images from source code.
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:resource:path=buildstrategies,scope=Namespaced,shortName=bs;bss
type BuildStrategy struct {
metav1.TypeMeta `json:",inline"`
Expand Down
1 change: 0 additions & 1 deletion pkg/apis/build/v1alpha1/clusterbuildstrategy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const (

// ClusterBuildStrategy is the Schema representing a strategy in the cluster scope to build images from source code.
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:resource:path=clusterbuildstrategies,scope=Cluster,shortName=cbs;cbss
type ClusterBuildStrategy struct {
metav1.TypeMeta `json:",inline"`
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/build/v1beta1/build_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ type BuildStatus struct {

// Build is the Schema representing a Build definition
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:resource:path=builds,scope=Namespaced
// +kubebuilder:printcolumn:name="Registered",type="string",JSONPath=".status.registered",description="The register status of the Build"
// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.reason",description="The reason of the registered Build, either an error or succeed message"
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/build/v1beta1/buildrun_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ type FailureDetails struct {

// BuildRun is the Schema representing an instance of build execution
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:resource:path=buildruns,scope=Namespaced,shortName=br;brs
// +kubebuilder:printcolumn:name="Succeeded",type="string",JSONPath=".status.conditions[?(@.type==\"Succeeded\")].status",description="The Succeeded status of the BuildRun"
// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type==\"Succeeded\")].reason",description="The Succeeded reason of the BuildRun"
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/build/v1beta1/buildstrategy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const (

// BuildStrategy is the Schema representing a strategy in the namespace scope to build images from source code.
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:resource:path=buildstrategies,scope=Namespaced,shortName=bs;bss
type BuildStrategy struct {
metav1.TypeMeta `json:",inline"`
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/build/v1beta1/clusterbuildstrategy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const (

// ClusterBuildStrategy is the Schema representing a strategy in the cluster scope to build images from source code.
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:resource:path=clusterbuildstrategies,scope=Cluster,shortName=cbs;cbss
type ClusterBuildStrategy struct {
metav1.TypeMeta `json:",inline"`
Expand Down

0 comments on commit 3054897

Please sign in to comment.