-
Notifications
You must be signed in to change notification settings - Fork 29
Add api definitions #2
Add api definitions #2
Conversation
4e92d5a
to
126d047
Compare
@@ -0,0 +1,8 @@ | |||
// +k8s:deepcopy-gen=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
License is missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
type S3SignatureVersion string | ||
|
||
const ( | ||
S3SignatureVersionV2 = "s3v2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S3v2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, changes it to uppercase as suggested.
126d047
to
a686347
Compare
metav1.TypeMeta `json:",inline"` | ||
// +optional | ||
metav1.ObjectMeta `json:"metadata,omitempty"` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
||
// +optional | ||
Principal string `json:"principal,omitempty"` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Mostly just nits, and one concern with ObjectReference. Otherwise, LGTM. |
a686347
to
f206365
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brahmaroutu, rrati, wlan0 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
||
// +k8s:deepcopy-gen=false | ||
|
||
package v1alpha1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need protocol-specific types now? I may be a bit behind, but I thought the Bucket
instance was no longer going to expose protocol-specific fields, other than, perhaps, common values for all protocols.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeffvance This PR is inline with the KEP that is merged. We will iterate it when the new proposal is merged.
f206365
to
1182692
Compare
@brahmaroutu: you cannot LGTM your own PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
adds issue templates to the COSI controller
adds issue templates to the COSI controller
Add approvers to facilitate project management
Add approvers to facilitate project management
This PR adds hack/codegen.sh to generate the API controller artifacts for all the API's defined under apis/objectstorage.k8s.io/v1alpha1. All CRD definitions along with listers informers and clientset are also checked-in for this package to be consumable as is.
@wlan0 @xing-yang Please review