Skip to content

Commit 32eba31

Browse files
authored
Update api specs (#1592)
1 parent 2f586ba commit 32eba31

File tree

5 files changed

+20
-16
lines changed

5 files changed

+20
-16
lines changed

api/v1beta1/zz_generated.conversion.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1beta2/ibmpowervscluster_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ type IBMPowerVSClusterStatus struct {
127127
// transitGateway is reference to IBM Cloud TransitGateway.
128128
TransitGateway *ResourceReference `json:"transitGateway,omitempty"`
129129

130-
// cosBucket is reference to IBM Cloud COS Bucket resource.
131-
COSBucket *ResourceReference `json:"cosBucket,omitempty"`
130+
// cosInstance is reference to IBM Cloud COS Instance resource.
131+
COSInstance *ResourceReference `json:"cosInstance,omitempty"`
132132

133133
// loadBalancers reference to IBM Cloud VPC Loadbalancer.
134134
LoadBalancers map[string]VPCLoadBalancerStatus `json:"loadBalancers,omitempty"`

api/v1beta2/ibmvpccluster_types.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,14 @@ type VPCLoadBalancerStatus struct {
9090
// id of VPC load balancer.
9191
// +optional
9292
ID *string `json:"id,omitempty"`
93-
// +optional
94-
Name *string `json:"name,omitempty"`
9593
// State is the status of the load balancer.
9694
State VPCLoadBalancerState `json:"state,omitempty"`
9795
// hostname is the hostname of load balancer.
9896
// +optional
9997
Hostname *string `json:"hostname,omitempty"`
98+
// +kubebuilder:default=false
99+
// controllerCreated indicates whether the resource is created by the controller.
100+
ControllerCreated *bool `json:"controllerCreated,omitempty"`
100101
}
101102

102103
// IBMVPCClusterStatus defines the observed state of IBMVPCCluster.

api/v1beta2/zz_generated.deepcopy.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ spec:
400400
- type
401401
type: object
402402
type: array
403-
cosBucket:
404-
description: cosBucket is reference to IBM Cloud COS Bucket resource.
403+
cosInstance:
404+
description: cosInstance is reference to IBM Cloud COS Instance resource.
405405
properties:
406406
controllerCreated:
407407
default: false
@@ -428,14 +428,17 @@ spec:
428428
additionalProperties:
429429
description: VPCLoadBalancerStatus defines the status VPC load balancer.
430430
properties:
431+
controllerCreated:
432+
default: false
433+
description: controllerCreated indicates whether the resource
434+
is created by the controller.
435+
type: boolean
431436
hostname:
432437
description: hostname is the hostname of load balancer.
433438
type: string
434439
id:
435440
description: id of VPC load balancer.
436441
type: string
437-
name:
438-
type: string
439442
state:
440443
description: State is the status of the load balancer.
441444
type: string

0 commit comments

Comments
 (0)