Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
David Gubler committed Oct 18, 2022
1 parent 8bb03f1 commit 05de4a9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions apis/cloudscale/v1/bucket_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ type BucketObservation struct {
// BucketStatus represents the observed state of a Bucket.
type BucketStatus struct {
xpv1.ResourceStatus `json:",inline"`
Endpoint string `json:"endpoint"`
EndpointURL string `json:"endpointURL"`
Endpoint string `json:"endpoint,omitempty"`
EndpointURL string `json:"endpointURL,omitempty"`
AtProvider BucketObservation `json:"atProvider,omitempty"`
}

Expand Down
3 changes: 0 additions & 3 deletions package/crds/cloudscale.crossplane.io_buckets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,6 @@ spec:
type: string
endpointURL:
type: string
required:
- endpoint
- endpointURL
type: object
required:
- spec
Expand Down
4 changes: 0 additions & 4 deletions samples/admission.k8s.io_admissionreview.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@
}
},
"status": {
"endpoint": "",
"endpointURL": "",
"atProvider": {}
}
},
Expand All @@ -76,8 +74,6 @@
}
},
"status": {
"endpoint": "",
"endpointURL": "",
"atProvider": {
"bucketName": "my-provider-test-bucket"
}
Expand Down
2 changes: 0 additions & 2 deletions samples/cloudscale.crossplane.io_bucket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ spec:
region: rma
status:
atProvider: {}
endpoint: ""
endpointURL: ""

0 comments on commit 05de4a9

Please sign in to comment.