Skip to content

Commit 4f6ce8a

Browse files
authored
Enabled the unit test (#327)
1 parent ab2c625 commit 4f6ce8a

7 files changed

+4
-7
lines changed

api/v1alpha3/ibmvpccluster_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ type VPC struct {
7070

7171
// +kubebuilder:object:root=true
7272
// +kubebuilder:resource:path=ibmvpcclusters,scope=Namespaced,categories=cluster-api
73-
// +kubebuilder:storageversion
7473
// +kubebuilder:subresource:status
7574
// +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".metadata.labels.cluster\\.x-k8s\\.io/cluster-name",description="Cluster to which this IBMVPCCluster belongs"
7675
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="Cluster infrastructure is ready for IBM VPC instances"

api/v1alpha3/ibmvpcmachine_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ type IBMVPCMachineStatus struct {
8080

8181
// +kubebuilder:object:root=true
8282
// +kubebuilder:resource:path=ibmvpcmachines,scope=Namespaced,categories=cluster-api
83-
// +kubebuilder:storageversion
8483
// +kubebuilder:subresource:status
8584
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="Cluster infrastructure is ready for IBM VPC instances"
8685

api/v1alpha3/ibmvpcmachinetemplate_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ type IBMVPCMachineTemplateResource struct {
1717

1818
// +kubebuilder:object:root=true
1919
// +kubebuilder:resource:path=ibmvpcmachinetemplates,scope=Namespaced,categories=cluster-api
20-
// +kubebuilder:storageversion
2120

2221
// IBMVPCMachineTemplate is the Schema for the IBMVPCMachinetemplates API
2322
type IBMVPCMachineTemplate struct {

config/crd/bases/infrastructure.cluster.x-k8s.io_ibmvpcclusters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ spec:
129129
type: object
130130
type: object
131131
served: true
132-
storage: true
132+
storage: false
133133
subresources:
134134
status: {}
135135
- additionalPrinterColumns:

config/crd/bases/infrastructure.cluster.x-k8s.io_ibmvpcmachines.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ spec:
116116
type: object
117117
type: object
118118
served: true
119-
storage: true
119+
storage: false
120120
subresources:
121121
status: {}
122122
- additionalPrinterColumns:

config/crd/bases/infrastructure.cluster.x-k8s.io_ibmvpcmachinetemplates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ spec:
9898
type: object
9999
type: object
100100
served: true
101-
storage: true
101+
storage: false
102102
- name: v1alpha4
103103
schema:
104104
openAPIV3Schema:

scripts/ci-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ cd "${REPO_ROOT}" && \
2626
source ./scripts/fetch_ext_bins.sh && \
2727
fetch_tools && \
2828
setup_envs && \
29-
make generate lint
29+
make generate lint test

0 commit comments

Comments
 (0)