Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Update API based on latest spec #31

Merged
merged 2 commits into from
Mar 25, 2021

Conversation

wlan0
Copy link
Contributor

@wlan0 wlan0 commented Mar 24, 2021

  • remove anonymous access mode from bucket and bucketclass
  • refactor package

@wlan0 wlan0 requested review from jeffvance and krishchow March 24, 2021 08:07
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 24, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested review from msau42 and rrati March 24, 2021 08:08
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 24, 2021
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 24, 2021
@wlan0
Copy link
Contributor Author

wlan0 commented Mar 24, 2021

this addresses #29 and #24

Private bool `json:"private,omitempty"`
// +optional
PublicReadOnly bool `json:"publicReadOnly,omitempty"`
type RetentionPolicy string

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lastest kep pr defines this field as "deletionPolicy" based on review meeting consensus.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I’ll update it


const (
RetentionPolicyRetain RetentionPolicy = "Retain"
RetentionPolicyDelete RetentionPolicy = "Delete"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and we've added a 3rd value: "ForceDelete"

@jeffvance
Copy link

@wlan0 I'd like to see KEP pr 2349 reviewed and agreed to before reviewing this pr, unless you're okay with making additonal changes once the kep pr is merged?

@wlan0
Copy link
Contributor Author

wlan0 commented Mar 24, 2021

@jeffvance fair point. While I’m happy to make changes here, let’s get the kep reviewed

 - remove anonymous access mode from bucket and bucketclass
 - refactor package
@wlan0 wlan0 force-pushed the master branch 2 times, most recently from dbfa38f to d17f24b Compare March 24, 2021 20:36
@jeffvance
Copy link

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 25, 2021
@k8s-ci-robot k8s-ci-robot merged commit 15c86ae into kubernetes-retired:master Mar 25, 2021
shanduur pushed a commit to shanduur/container-object-storage-interface-api that referenced this pull request Jun 6, 2024
…uilds

Added Dockerfile to build sidecar as well as sample driver
BlaineEXE pushed a commit to BlaineEXE/cosi-api that referenced this pull request Jun 14, 2024
…uilds

Added Dockerfile to build sidecar as well as sample driver
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants