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

API and controllers merge #73

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
495 commits
Select commit Hold shift + click to select a range
f665a91
fix sidecar image name
wlan0 Jan 12, 2021
c36b85b
Merge pull request #26 from wlan0/master
k8s-ci-robot Jan 12, 2021
42d07ba
add sample driver
sajanjswl Jan 12, 2021
fbffb19
Merge pull request #32 from tparikh/kustomize-refactor
k8s-ci-robot Jan 12, 2021
f99bf37
fix go module and import paths
wlan0 Jan 12, 2021
2dd48d6
Merge pull request #27 from wlan0/master
k8s-ci-robot Jan 12, 2021
de8a400
fix race condition while creating buckets
wlan0 Jan 12, 2021
cb08138
Merge pull request #33 from wlan0/master
k8s-ci-robot Jan 13, 2021
74c54f6
Fix handling of nil parameters in B and BA
Jan 13, 2021
fca8590
Remove log levels and use klog v2
Jan 12, 2021
961846a
Merge pull request #28 from rrati/remove-log-levels
k8s-ci-robot Jan 13, 2021
e354c37
Merge pull request #29 from rrati/bucket-context-nil-fix
k8s-ci-robot Jan 13, 2021
072911c
fix rbac rules and check for errors getting bucketclass
wlan0 Jan 13, 2021
2276b7b
Merge pull request #34 from wlan0/master
k8s-ci-robot Jan 14, 2021
3819256
Added Dockerfile to build sidecar as well as sample driver
brahmaroutu Jan 14, 2021
38d488a
Merge pull request #31 from brahmaroutu/fix_dockerbuilds
k8s-ci-robot Jan 14, 2021
0022278
Fixing build for the api changes to Protocol
brahmaroutu Jan 20, 2021
ead13f9
removed limits for containers
YiannisGkoufas Feb 8, 2021
597155e
Merge pull request #36 from brahmaroutu/fix_api_changes
k8s-ci-robot Feb 11, 2021
940e792
first readme draft
YiannisGkoufas Feb 18, 2021
6033a5d
Merge pull request #33 from YiannisGkoufas/master
k8s-ci-robot Feb 22, 2021
9299550
Add deployment documentation
Feb 23, 2021
913efce
fix for CRDs generation
YiannisGkoufas Feb 23, 2021
2a695d3
remove hardcoded namesapces from resources
tparikh Feb 24, 2021
05e9027
Merge pull request #34 from tparikh/resource-cleanup
k8s-ci-robot Feb 24, 2021
55cf181
Merge pull request #37 from YiannisGkoufas/master
k8s-ci-robot Mar 3, 2021
ed27e0b
Merge pull request #38 from mengjiao-liu/add-deployment-doc
k8s-ci-robot Mar 3, 2021
6a7936f
Add Deployment documentation
Mar 4, 2021
6083885
imports should change to sigs.k8s.io/container-object-storage-interfa…
YiannisGkoufas Mar 4, 2021
2e20716
Update README.md
YiannisGkoufas Mar 4, 2021
e3feeb4
update dependencies to sigs.k8s.*, update mod versions
Mar 4, 2021
dd8b1f9
update controllers, test and sample driver to use updated api/spec
Mar 4, 2021
954dd56
Merge pull request #40 from YiannisGkoufas/fix-imports
k8s-ci-robot Mar 10, 2021
0f3d9ee
Merge pull request #39 from krishchow/update-spec-api
k8s-ci-robot Mar 10, 2021
aff40a1
updated README.md
YiannisGkoufas Mar 11, 2021
fe7ad65
update api version & glog -> klog
wlan0 Mar 15, 2021
5ea6327
Merge pull request #42 from wlan0/api-klog-update
k8s-ci-robot Mar 17, 2021
3f4019d
add identity server to sample-driver
Mar 18, 2021
e37aad2
Merge pull request #41 from krishchow/id-server
k8s-ci-robot Mar 19, 2021
35e7844
add minio.yaml
wlan0 Mar 20, 2021
c3a7bc2
Merge pull request #42 from wlan0/temp
k8s-ci-robot Mar 22, 2021
8ce1b4a
Merge pull request #41 from YiannisGkoufas/patch-1
k8s-ci-robot Mar 22, 2021
87fbaeb
Merge pull request #40 from YiannisGkoufas/master
k8s-ci-robot Mar 22, 2021
70d3923
added image registry name and tag
tparikh Mar 23, 2021
3279602
Merge pull request #45 from tparikh/makefile-update
k8s-ci-robot Mar 23, 2021
2cd3dd7
Merge pull request #37 from mengjiao-liu/add-deploy-guide
k8s-ci-robot Mar 23, 2021
8db5fc3
added cloudbuiild.yaml
tparikh Mar 24, 2021
bab4596
Merge pull request #44 from tparikh/cloudbuild
k8s-ci-robot Mar 24, 2021
c79af18
added cloudbuiild.yaml
tparikh Mar 24, 2021
779b717
Merge pull request #47 from tparikh/cloudbuild
k8s-ci-robot Mar 24, 2021
7d7b8cc
Major refactor and bugfixes
wlan0 Apr 5, 2021
756cfd2
Merge pull request #49 from wlan0/master
k8s-ci-robot Apr 6, 2021
97eaa46
Sample driver: Implement ProvisionerCreateBucket
wlan0 Apr 7, 2021
bfba1e6
Merge pull request #50 from wlan0/master
k8s-ci-robot Apr 9, 2021
fc06640
Code refactoring to make sure Buckets abd BucketAccess Add works corr…
brahmaroutu Apr 10, 2021
3d61b36
Merge pull request #47 from brahmaroutu/code_refactor
k8s-ci-robot Apr 14, 2021
a5547f3
update api version
Apr 14, 2021
2f2a0fc
updates rbac and properties for deployment
Apr 15, 2021
97b3b32
move minio into kustomize
Apr 15, 2021
32eb08b
Merge pull request #48 from krishchow/update-api
k8s-ci-robot Apr 15, 2021
ff95d41
Merge pull request #53 from krishchow/master
k8s-ci-robot Apr 15, 2021
d0aa4c8
move to sigs.k8s.io, remove retry logic in cosi-controller
Apr 19, 2021
2a4dfd5
RBAC cleaning, minor bug fixes, adds minimal logic for grant access
Apr 17, 2021
a7de7bb
removes minio sample driver, see: sigs.k8s.io/cosi-driver-minio
Apr 20, 2021
4897844
Merge pull request #55 from krishchow/master
k8s-ci-robot Apr 21, 2021
106b17a
Merge pull request #49 from krishchow/demo-prep
k8s-ci-robot Apr 23, 2021
153c39a
updated api/controller, adds bar/br finalizer logic
May 11, 2021
1efc4a2
updates api/controller version, adds br/bar finalizer logic
May 11, 2021
27bd980
Merge pull request #52 from krishchow/finalizers
k8s-ci-robot May 19, 2021
682bfe6
Merge pull request #58 from krishchow/br-bar-finalizer
k8s-ci-robot May 19, 2021
7591e6d
backoff increase
YiannisGkoufas May 21, 2021
8158c6e
updated README.md
tparikh May 25, 2021
0f67c6e
updated README.md
tparikh May 25, 2021
07ec977
Merge pull request #60 from tparikh/readme-updates
k8s-ci-robot May 26, 2021
cde5947
Merge pull request #53 from tparikh/readme-updates
k8s-ci-robot May 26, 2021
3bcc551
Merge pull request #59 from YiannisGkoufas/backoff-increase
k8s-ci-robot May 28, 2021
7e0db3a
bug 54: finalizer update fix
Jun 3, 2021
ca1c6f1
Merge pull request #55 from krishchow/finalizers
k8s-ci-robot Jun 15, 2021
23ef839
Adding the bucket creation flow
mukhoakash Jul 26, 2022
bfa8499
Adding the flow for bucket creation
mukhoakash Jul 26, 2022
75eee0e
Adding the flow for bucket creation
mukhoakash Jul 26, 2022
ffbd20a
Removing bucket access request
mukhoakash Jul 28, 2022
a052b99
More changes
mukhoakash Jul 28, 2022
c4ebe8f
Bulk of changes to bucketaccess and bucket controller
mukhoakash Jul 28, 2022
9351232
Merge branch 'bucket-create' of github.com:mukhoakash/container-objec…
mukhoakash Jul 28, 2022
6251d12
Handling secrets creation
mukhoakash Jul 28, 2022
6ffd018
Added push to Cloudbuild.yaml and swapped out quay.io with gcr repo
aarongalang Jul 29, 2022
9a8988c
Added push step to cloudbuild.yaml and replaced quay repository with …
aarongalang Aug 1, 2022
ebfe483
More updates to the bucket claim controller
mukhoakash Aug 4, 2022
d4075d3
Adding Update and Delete logic for Bucket and BucketAccess
mukhoakash Aug 4, 2022
de22fb1
Introducing the const pkg
mukhoakash Aug 4, 2022
3860890
Merge pull request #66 from aarongalang/pipeline
k8s-ci-robot Aug 4, 2022
95fc3e1
Updating the go mod and go sum and fixing compilation
mukhoakash Aug 5, 2022
7f8bd62
Compilation fix
mukhoakash Aug 5, 2022
3530ffe
Fixing fo dfiles and gofmt
mukhoakash Aug 5, 2022
a0d9ee5
Merge pull request #58 from mukhoakash/bucket-create
k8s-ci-robot Aug 5, 2022
e63c6e4
Fixing a bunch of issues
mukhoakash Aug 5, 2022
4c8b130
Fixing the go mod and sum file
mukhoakash Aug 6, 2022
16a6ef4
Test fixes and compilation fixes
mukhoakash Aug 6, 2022
a69f93a
Merge pull request #64 from mukhoakash/bucket-create
k8s-ci-robot Aug 6, 2022
9fe980b
Fixing the updated api version and rbac rules
mukhoakash Aug 8, 2022
b2213ea
Merge pull request #60 from mukhoakash/config-fix
k8s-ci-robot Aug 8, 2022
8914395
Merge branch 'master' into pipeline
aarongalang Aug 8, 2022
d4811da
Merge pull request #59 from aarongalang/pipeline
k8s-ci-robot Aug 8, 2022
92e0492
Fixing the text in deployment guide
mukhoakash Aug 11, 2022
2faf69a
Merge pull request #61 from mukhoakash/typo-fix
k8s-ci-robot Aug 11, 2022
b3312b4
Doc changes
mukhoakash Aug 11, 2022
921f8f5
Updating the k8s-testimages
mukhoakash Aug 11, 2022
0873c9f
Merge pull request #62 from mukhoakash/master
wlan0 Aug 11, 2022
ba32039
Fixing the build image push
mukhoakash Aug 11, 2022
220b60e
Merge pull request #68 from mukhoakash/build-fix
k8s-ci-robot Aug 11, 2022
bd8f316
Create CHANGELOG-0.1.md
wlan0 Aug 15, 2022
3cce4f5
Merge pull request #63 from kubernetes-sigs/changelog
wlan0 Aug 15, 2022
6dd7c39
Create CHANGELOG-0.1.md
wlan0 Aug 15, 2022
e0be763
Merge pull request #69 from kubernetes-sigs/changelog
wlan0 Aug 15, 2022
e7c8973
Update cloudbuild.yaml
wlan0 Aug 16, 2022
82c2a69
Merge pull request #64 from kubernetes-sigs/image-tag
k8s-ci-robot Aug 16, 2022
098c30a
update CRDs url, and remove deleted test file in README.md
Sep 2, 2022
70aa06a
fix test file path in README.md
Sep 2, 2022
5fc811f
Update Makefile
wlan0 Sep 8, 2022
5740766
Merge pull request #65 from niulechuan/fix-urls-in-readme
wlan0 Sep 8, 2022
7836963
Merge pull request #66 from kubernetes-sigs/wlan0-patch-1
wlan0 Sep 15, 2022
eea1bc1
Update Makefile
wlan0 Sep 15, 2022
e904a9e
Merge pull request #67 from kubernetes-sigs/wlan0-patch-2
k8s-ci-robot Sep 15, 2022
4d6cb85
Update Makefile
wlan0 Sep 15, 2022
4655fbd
Update cloudbuild.yaml
wlan0 Sep 15, 2022
2702a48
Merge pull request #72 from kubernetes-sigs/wlan0-patch-2
wlan0 Sep 15, 2022
744f939
Merge pull request #71 from kubernetes-sigs/wlan0-patch-1
wlan0 Sep 15, 2022
8899669
Merge pull request #70 from niulechuan/fix-test-file-path
wlan0 Sep 15, 2022
1fbaac9
Fixing a bucketclaim object updation bug
mukhoakash Sep 19, 2022
a39cb36
Fixing a couple of update bugs
mukhoakash Sep 19, 2022
3671a20
Adding a few logs and some fixes
mukhoakash Sep 19, 2022
299025d
Fixing the update of bucketclaim to updatestatus
mukhoakash Sep 19, 2022
8e89176
Improving some logs
mukhoakash Sep 19, 2022
e9c0a4e
Improving logs and fixing a delete scenario
mukhoakash Sep 19, 2022
0d05e64
Merge pull request #68 from mukhoakash/bug-fix
k8s-ci-robot Sep 21, 2022
1f937c0
Merge pull request #73 from mukhoakash/bug-fix
k8s-ci-robot Sep 21, 2022
f0c6e68
Adding the bucket finalizer removal
mukhoakash Sep 22, 2022
220f9be
Fixing the finalizer of bucketclaim in bucket delete
mukhoakash Sep 28, 2022
720d916
Fixing some logs and adding bucket paramaters
mukhoakash Sep 28, 2022
e9539da
Fixing some parameters in case of existing bucket id
mukhoakash Sep 28, 2022
c585f28
Remove the secret on deletion of the bucketAccess
mukhoakash Sep 28, 2022
122cdb1
Adding unittests
mukhoakash Sep 29, 2022
b1a711b
Merge pull request #69 from mukhoakash/fix-params
k8s-ci-robot Sep 29, 2022
7bf3cfa
Introducing the RevokeBucketAccess call in the delete bucket access o…
mukhoakash Oct 10, 2022
dc1c919
Updating the DriverDeleteBucket call with the DeleteContext
mukhoakash Oct 10, 2022
9125a4a
Merge pull request #74 from mukhoakash/finalizer_fix
k8s-ci-robot Oct 13, 2022
f36a826
Modifying owners
mukhoakash Oct 21, 2022
16d9b03
Modifying owners
mukhoakash Oct 21, 2022
2213723
Merge pull request #75 from mukhoakash/fix_owner
k8s-ci-robot Oct 27, 2022
879c97f
Merge pull request #71 from mukhoakash/fix_owner
k8s-ci-robot Oct 27, 2022
bd530fe
Fixing the controller version
mukhoakash Nov 15, 2022
bdbb875
Fix : Use value for endpoint and region from driver
thotz Nov 17, 2022
f534834
Merge pull request #77 from thotz/fix-endpoint-region-for-s3
k8s-ci-robot Nov 17, 2022
f663b95
Merge pull request #72 from mukhoakash/fix_controller_image
k8s-ci-robot Nov 22, 2022
a6081c0
Migrate away from google.com gcp project k8s-testimages
cpanato Jan 30, 2023
e6a1ca8
Migrate away from google.com gcp project k8s-testimages
cpanato Jan 30, 2023
a579a5d
Merge pull request #73 from cpanato/GH-1523-k8sio
k8s-ci-robot Jan 30, 2023
8d561f9
Merge pull request #79 from cpanato/GH-1523-k8sio
k8s-ci-robot Jan 30, 2023
235fd7b
fix(log): switched to structured log
shanduur May 23, 2023
2cf70f8
chore(formatting): go fmt on the repo
shanduur May 23, 2023
3f8c3a5
Merge pull request #77 from shanduur/fix-log
k8s-ci-robot May 24, 2023
3b97374
feat(bucketclaim): added EventRecorder
shanduur May 11, 2023
24b7287
implement mvp release tooling
BlaineEXE Sep 12, 2023
69b675f
Merge pull request #79 from BlaineEXE/mvp-release-tooling
k8s-ci-robot Sep 13, 2023
7c878f2
push images using PROJECT_ID in cloudbuild
BlaineEXE Sep 13, 2023
cb6cbbc
Merge pull request #80 from BlaineEXE/use-project-id-in-cloudbuild
k8s-ci-robot Sep 13, 2023
ea45f32
use k8s-staging-sig-storage for cloudbuild
BlaineEXE Sep 13, 2023
cb2c12e
Merge pull request #81 from BlaineEXE/use-k8s-staging-sig-storage
k8s-ci-robot Sep 13, 2023
0a9dc4d
use buildx from cloudbuild directly
BlaineEXE Sep 14, 2023
7dd7f80
Merge pull request #82 from BlaineEXE/reduce-layers-in-buildx-cloudbuild
k8s-ci-robot Sep 14, 2023
db642a3
allow cloudbuild to build git tags
BlaineEXE Sep 14, 2023
d49401a
revert accidental image modification in deployment
BlaineEXE Sep 14, 2023
a64cb2c
Merge pull request #84 from BlaineEXE/fix-accidental-manifest-edit
k8s-ci-robot Sep 14, 2023
4fd0a9e
Merge pull request #83 from BlaineEXE/semver-tag-proposal
k8s-ci-robot Sep 14, 2023
bbd4363
set up cloudbuild multi-arch builder before use
BlaineEXE Sep 14, 2023
0e8a43a
Merge pull request #85 from BlaineEXE/cloudbuild-create-multiarch-bui…
k8s-ci-robot Sep 14, 2023
806acff
cloudbuild: use --load flag to allow pushing images
BlaineEXE Sep 14, 2023
db0145d
Merge pull request #86 from BlaineEXE/load-images-during-build
k8s-ci-robot Sep 14, 2023
de7cba4
cloudbuild: push images straight from docker build
BlaineEXE Sep 14, 2023
047d710
Merge pull request #87 from BlaineEXE/use-push
k8s-ci-robot Sep 15, 2023
272e366
tidy up build and make configs
BlaineEXE Sep 15, 2023
6bb492a
Merge pull request #88 from BlaineEXE/build-tidy
k8s-ci-robot Sep 19, 2023
5972e2f
add dependabot config for gomod and docker
BlaineEXE Sep 20, 2023
cf5f88b
Merge pull request #89 from BlaineEXE/add-dependabot
k8s-ci-robot Sep 20, 2023
e3b3a00
remove unused prow config
BlaineEXE Sep 21, 2023
6dc6121
Update build configs to mirror controller
BlaineEXE Sep 21, 2023
707b8b7
separate controller-runtime in dependabot config
BlaineEXE Sep 21, 2023
f197efe
add dependabot config
BlaineEXE Sep 21, 2023
bb72e75
Merge pull request #92 from BlaineEXE/remove-prow-sh
k8s-ci-robot Sep 21, 2023
bfea1b8
Merge pull request #81 from BlaineEXE/update-build-and-packaging
k8s-ci-robot Sep 21, 2023
1bc93fc
Merge pull request #93 from BlaineEXE/dependabot-separate-controller-…
k8s-ci-robot Sep 21, 2023
4a54188
Merge branch 'kubernetes-sigs:master' into master
shanduur Oct 18, 2023
ba63393
feat: replace API
shanduur Oct 18, 2023
68207e1
feat: fix panic
shanduur Oct 18, 2023
eb07ee0
feat: API registration
shanduur Oct 18, 2023
463416a
chore: update API
shanduur Nov 16, 2023
a366300
fix: revert deployment change
shanduur Nov 16, 2023
e0de127
fix: adjust case according to go std
shanduur Nov 30, 2023
69c42d1
fix(review/1): added event constants
shanduur Nov 30, 2023
b2ba942
fix(review/1): format message
shanduur Dec 8, 2023
512c0bd
fix: typo in error
shanduur Dec 8, 2023
910e3bb
Bump library/golang from 1.21.1 to 1.21.5
dependabot[bot] Dec 11, 2023
2179749
Merge pull request #104 from kubernetes-sigs/dependabot/docker/librar…
k8s-ci-robot Feb 5, 2024
c7e6b02
feat(bucket|bucketaccess): added EventRecorder
shanduur May 11, 2023
91db8e5
feat: replace API
shanduur Oct 18, 2023
d364652
fix: rename the tag
shanduur Oct 18, 2023
1e845c0
feat: API registration
shanduur Oct 18, 2023
2f349c5
chore: update API
shanduur Nov 16, 2023
b9a3838
fix(review/1): added event constants
shanduur Nov 30, 2023
62613ea
fix(review/1): format message
shanduur Dec 8, 2023
b74c537
chore: errors cleanup
shanduur Dec 8, 2023
c3a3ff3
fix(deps): updated api
shanduur Feb 13, 2024
7eaa72c
fix(deps): updated api
shanduur Feb 13, 2024
ad16465
test: added scaffolding for testing events
shanduur Feb 13, 2024
73752e6
test: added scaffolding for testing events
shanduur Feb 13, 2024
7f5fd16
test: extended scaffolding
shanduur Feb 14, 2024
b749a81
test: implemented tests for Events
shanduur Feb 15, 2024
7875ce9
test: extended scaffolding
shanduur Feb 14, 2024
c719575
test(bucket): added event tests
shanduur Feb 22, 2024
de39e54
chore: go mod tidy
shanduur Feb 16, 2024
3e61226
chore: streamline errors
shanduur Feb 22, 2024
760bd51
test(bucketaccess): added event tests
shanduur Feb 22, 2024
a0a6417
test(bucket): added unwrap to internals
shanduur Feb 22, 2024
b138d0b
fix: added events to each error
shanduur Mar 14, 2024
1bc0194
fix: added events to each error
shanduur Mar 14, 2024
ce569bc
Bump the github-dependencies group with 2 updates
dependabot[bot] Mar 25, 2024
b00270f
Bump library/golang from 1.21.1 to 1.22.2
dependabot[bot] Apr 8, 2024
b102942
Bump library/golang from 1.21.5 to 1.22.2
dependabot[bot] Apr 8, 2024
80ecfb1
Bump google.golang.org/grpc from 1.46.2 to 1.63.2
dependabot[bot] Apr 15, 2024
3edb85c
Merge pull request #124 from kubernetes-sigs/dependabot/docker/librar…
k8s-ci-robot Apr 23, 2024
3eff22f
Merge pull request #125 from kubernetes-sigs/dependabot/go_modules/go…
k8s-ci-robot Apr 23, 2024
3d677f2
Merge pull request #117 from kubernetes-sigs/dependabot/go_modules/gi…
k8s-ci-robot May 6, 2024
a84b88e
Merge pull request #121 from kubernetes-sigs/dependabot/docker/librar…
k8s-ci-robot May 6, 2024
90d0778
Add BlaineEXE to the owners file
BlaineEXE May 13, 2024
f7f8b9f
Add BlaineEXE to the owners file
BlaineEXE May 13, 2024
b04ea66
Merge pull request #125 from BlaineEXE/patch-1
k8s-ci-robot May 13, 2024
8cbf4d2
Merge pull request #127 from BlaineEXE/patch-1
k8s-ci-robot May 13, 2024
4f87456
Bump library/golang from 1.22.2 to 1.22.3
dependabot[bot] May 13, 2024
1ae29ec
Merge pull request #92 from shanduur/feat-event-recorder
k8s-ci-robot May 16, 2024
5c5e22f
Merge pull request #101 from shanduur/feat-event-recorder
k8s-ci-robot May 16, 2024
bbb676f
chore: added shanduur
shanduur May 17, 2024
14ac08b
chore: added shanduur
shanduur May 17, 2024
b2ec8a9
Merge pull request #127 from shanduur/add-owner-shanduur
k8s-ci-robot May 20, 2024
5b1a869
Merge pull request #130 from shanduur/add-owner-shanduur
k8s-ci-robot May 20, 2024
ac69030
Bump the github-dependencies group with 2 updates
dependabot[bot] Jun 3, 2024
c5f366c
Merge pull request #128 from kubernetes-sigs/dependabot/docker/librar…
k8s-ci-robot Jun 4, 2024
ab188fa
Merge pull request #132 from kubernetes-sigs/dependabot/go_modules/gi…
k8s-ci-robot Jun 4, 2024
2c418d6
Merge remote-tracking branch 'container-object-storage-interface-prov…
shanduur Jun 6, 2024
0f01fee
Merge remote-tracking branch 'container-object-storage-interface-cont…
shanduur Jun 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug Report
about: Use this template for reporting bugs or issues.
title: "[DATE] - Title"
---
# Bug Report

<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!

If the matter is security related, please disclose it privately via https://kubernetes.io/security/
-->

**What happened**:

**What you expected to happen**:

**How to reproduce this bug (as minimally and precisely as possible)**:

**Anything else relevant for this bug report?**:

**Environment**:

- Kubernetes version (use `kubectl version`), please list client and server:
- Controller version (provide the release tag or commit hash):
- Provisoner name and version (provide the release tag or commit hash):
- Cloud provider or hardware configuration:
- OS (e.g: `cat /etc/os-release`):
- Kernel (e.g. `uname -a`):
- Install tools:
- Network plugin and version (if this is a network-related bug):
- Others:
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Enhancement/Feature Request
about: Use this template to request a new feature or enhancement for the COSI controller
title: "[DATE] - Title"
labels: bug
---
# Enhancement

**Is your feature request related to a problem?/Why is this needed**
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

**Describe the solution you'd like in detail**
<!-- A clear and concise description of what you want to happen. -->

**Describe alternatives you've considered**
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

**Additional context**
<!-- Add any other context or screenshots about the feature request or enhancement here. -->
14 changes: 14 additions & 0 deletions container-object-storage-interface-controller/.github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Security Policy

## Supported Versions

Information about supported Kubernetes versions can be found on the
[Kubernetes version and version skew support policy] page on the Kubernetes website.

## Reporting a Vulnerability

Instructions for reporting a vulnerability can be found on the
[Kubernetes Security and Disclosure Information] page.

[Kubernetes version and version skew support policy]: https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-versions
[Kubernetes Security and Disclosure Information]: https://kubernetes.io/docs/reference/issues-security/security/#report-a-vulnerability
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
enable-beta-ecosystems: true
updates:

- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
groups: # batch updates together for fewer dependabot PRs
golang-dependencies:
patterns:
- "github.com/golang*"
k8s-dependencies:
patterns:
- "k8s.io*"
- "sigs.k8s.io*"
exclude-patterns:
# controller-runtime has history of breaking API changes more often than other k8s projects
- "sigs.k8s.io/controller-runtime"
github-dependencies:
patterns:
- "github.com*"

- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
9 changes: 9 additions & 0 deletions container-object-storage-interface-controller/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.tmp
.DS_Store
.build
*.swp
travis.yml
release-tools
bin
vendor/
.idea/
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# First Release v0.1.0

### New Features

- Listen on Bucket* events
- Create Buckets in response to BucketClaim creation
- Enable lifecycle of Buckets and BucketAccesses
26 changes: 26 additions & 0 deletions container-object-storage-interface-controller/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing Guidelines

Welcome to Kubernetes. We are excited about the prospect of you joining our [community](https://git.k8s.io/community)! The Kubernetes community abides by the CNCF [code of conduct](code-of-conduct.md). Here is an excerpt:

_As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities._

## Getting Started

We have full documentation on how to get started contributing here:

<!---
If your repo has certain guidelines for contribution, put them here ahead of the general k8s resources
-->

- [Contributor License Agreement](https://git.k8s.io/community/CLA.md) Kubernetes projects require that you sign a Contributor License Agreement (CLA) before we can accept your pull requests
- [Kubernetes Contributor Guide](https://git.k8s.io/community/contributors/guide) - Main contributor documentation, or you can just jump directly to the [contributing section](https://git.k8s.io/community/contributors/guide#contributing)
- [Contributor Cheat Sheet](https://git.k8s.io/community/contributors/guide/contributor-cheatsheet) - Common resources for existing developers

## Mentorship

- [Mentoring Initiatives](https://git.k8s.io/community/mentoring) - We have a diverse set of mentorship programs available that are always looking for volunteers!

## Contact Information

- [Slack](https://kubernetes.slack.com/messages/sig-storage-cosi)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-storage)
36 changes: 36 additions & 0 deletions container-object-storage-interface-controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#
# BUILDER
#
FROM docker.io/library/golang:1.22.2 AS builder

WORKDIR /buildroot

# Cache deps before building and copying source, so that we don't need to re-download
# as much and so that source changes don't invalidate our downloaded layer.
COPY go.mod go.mod
COPY go.sum go.sum
RUN go mod download

COPY cmd/ cmd/
COPY pkg/ pkg/

ENV CGO_ENABLED=0

RUN go build -o artifacts/controller-manager cmd/controller-manager/*.go


#
# FINAL IMAGE
#
FROM gcr.io/distroless/static:latest

LABEL maintainers="Kubernetes Authors"
LABEL description="COSI Controller"

LABEL org.opencontainers.image.title="COSI Controller"
LABEL org.opencontainers.image.description="Container Object Storage Interface (COSI) Controller"
LABEL org.opencontainers.image.source="https://github.com/kubernetes-sigs/container-object-storage-interface-controller"
LABEL org.opencontainers.image.licenses="APACHE-2.0"

COPY --from=builder /buildroot/artifacts/controller-manager .
ENTRYPOINT ["/controller-manager"]
201 changes: 201 additions & 0 deletions container-object-storage-interface-controller/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright {yyyy} {name of copyright owner}

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading