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

monorepo: add imported gRPC spec #75

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
411 commits
Select commit Hold shift + click to select a range
0676fcb
Merge pull request #92 from animeshk08/patch-1
k8s-ci-robot Jun 18, 2020
5a54e67
filter-junit: Fix gofmt error
animeshk08 Jun 18, 2020
41ec6d1
Merge pull request #93 from animeshk08/patch-1
k8s-ci-robot Jun 18, 2020
d738c82
Initial commit
nikhita Jun 25, 2020
0d638f0
Update template files to include repo-specific info
nikhita Jun 25, 2020
1fdf2d5
cloud build: bump timeout in Prow job
namrata-ibm Jul 8, 2020
0345a83
Merge pull request #94 from linux-on-ibm-z/bump-timeout
k8s-ci-robot Jul 8, 2020
75ca2dc
Making this repo Draft only unitl kep is merged
brahmaroutu Jul 20, 2020
3ef85b0
Merge pull request #4 from brahmaroutu/readme_update
k8s-ci-robot Jul 21, 2020
e7053d5
Initial commit
nikhita Jul 22, 2020
2460086
Update template files to include repo-specific info
nikhita Jul 22, 2020
843bddc
Add steps on promoting release images
msau42 Aug 5, 2020
d8a2530
Merge pull request #95 from msau42/add-release-process
k8s-ci-robot Aug 7, 2020
82d108a
switch to Go 1.15
pohly Aug 12, 2020
1fbb636
Merge pull request #97 from pohly/go-1.15
k8s-ci-robot Aug 12, 2020
3b4a2f1
prow.sh: fix installing Go for Kubernetes 1.19.0
pohly Aug 14, 2020
0979c09
prow.sh: fix E2E suite for Kubernetes >= 1.18
pohly Aug 14, 2020
60e1cd3
Merge pull request #98 from pohly/kubernetes-1-19-fixes
k8s-ci-robot Aug 14, 2020
2c09846
Add cleanup instructions to release-notes generation
msau42 Aug 24, 2020
7277b14
Adding release tools for CI
brahmaroutu Sep 11, 2020
f928ea6
adds issue templates to COSI controller
Sep 15, 2020
e73c2ce
Use staging registry for canary tests
msau42 Sep 26, 2020
d129462
Document new method for adding CI jobs are new K8s versions
msau42 Sep 26, 2020
0b09976
adds security policy for controller
Sep 28, 2020
1e49ef6
added provisioner line to bug_report
Sep 28, 2020
e53f3e8
Merge pull request #103 from msau42/fix-canary
k8s-ci-robot Sep 29, 2020
90da483
Merge pull request #2 from krishchow/issue_template
k8s-ci-robot Oct 1, 2020
b3c65f9
Merge pull request #99 from msau42/add-release-process
k8s-ci-robot Oct 5, 2020
7100c12
Only set staging registry when running canary job
msau42 Oct 6, 2020
a0f195c
Merge pull request #106 from msau42/fix-canary
k8s-ci-robot Oct 6, 2020
c41abb6
Add 'release-tools/' from commit 'a0f195cc2ddc2a1f07d4d3e46fc08187db3…
brahmaroutu Oct 7, 2020
241a7a7
Merge pull request #3 from brahmaroutu/add_release_tools
k8s-ci-robot Oct 7, 2020
f1a048d
Add approvers to facilitate project management
brahmaroutu Oct 23, 2020
d0cc023
Merge pull request #5 from brahmaroutu/add_release_tools
k8s-ci-robot Oct 23, 2020
465b16f
We maintain release tools only under Spec repo
brahmaroutu Oct 22, 2020
5ff804c
Merge pull request #5 from brahmaroutu/remove_release_tools
k8s-ci-robot Oct 23, 2020
b963927
Basic makefile template to get release tools
brahmaroutu Oct 26, 2020
080cd42
Merge pull request #4 from brahmaroutu/add_approvers
k8s-ci-robot Oct 26, 2020
d699467
added issue templates for spec
Sep 15, 2020
8dd5248
Merge pull request #6 from krishchow/master
k8s-ci-robot Oct 26, 2020
87c7a4f
Merge pull request #6 from brahmaroutu/makefile_template
k8s-ci-robot Nov 9, 2020
534dd4c
Create proto definitions for cosi
brahmaroutu Oct 25, 2020
709c64d
Merge pull request #8 from brahmaroutu/proto_definitions
k8s-ci-robot Nov 19, 2020
f64715b
Removing subtree check as release tools no longer a git subtree but c…
brahmaroutu Dec 5, 2020
3f48265
Merge pull request #10 from brahmaroutu/fix_build
k8s-ci-robot Dec 7, 2020
9871045
Fix go.mod module name
Dec 7, 2020
0078523
Adding bucketrequest controller
brahmaroutu Nov 25, 2020
59e00cb
Merge pull request #11 from rrati/fix-go.mod
k8s-ci-robot Dec 8, 2020
c330fbd
Merge pull request #7 from brahmaroutu/controller_code
k8s-ci-robot Dec 8, 2020
ddc3f1e
Fix kubeconfig flag
mkumatag Dec 9, 2020
4452678
Merge pull request #16 from mkumatag/fix_kubeconfig
k8s-ci-robot Dec 9, 2020
edb08e6
Added fake client
Dec 9, 2020
afa665f
Merge pull request #13 from rrati/fake-client
k8s-ci-robot Dec 10, 2020
2a29305
Added Kustomize for controller, sidecar & CRDs
tparikh Dec 10, 2020
449e61e
Merge pull request #18 from tparikh/kustomize
k8s-ci-robot Dec 10, 2020
84ffaba
Adding BucketAccess Add Functionality, Fix cmd controller and pass co…
brahmaroutu Dec 4, 2020
09366ec
Merge pull request #15 from brahmaroutu/controller_code_ba
k8s-ci-robot Dec 14, 2020
2958448
updated README.md and added spec.md
somersbmatthews Dec 14, 2020
7f1fc71
Move `kustomization.yaml` into its layer, `deploy/base`
NicolasT Dec 17, 2020
2a599bb
deploy: don't override images
NicolasT Dec 17, 2020
912611a
deploy: don't use `IfNotPresent` `imagePullPolicy` for `latest` images
NicolasT Dec 17, 2020
b5e4dc3
deploy: create `fullstack` Kustomize layer
NicolasT Dec 17, 2020
8cbf84d
Merge pull request #15 from somersbmatthews/update-readme-spec
k8s-ci-robot Dec 17, 2020
e8242ea
deploy: add some common labels to all objects
NicolasT Dec 17, 2020
6d19b49
deploy: restore namespace handling in `fullstack` overlay
NicolasT Dec 17, 2020
f6867a0
Merge pull request #26 from NicolasT/refactor-kustomize-deployment
k8s-ci-robot Dec 17, 2020
7c519fe
deploy: use `crds` Kustomization from the API repo
NicolasT Dec 17, 2020
20d2924
Merge pull request #27 from NicolasT/crds-base
k8s-ci-robot Dec 18, 2020
ee42636
Fix the build files so that prow job can run successfully
brahmaroutu Jan 5, 2021
e4385e4
Adding cosi specific changes to prow.sh
brahmaroutu Nov 22, 2020
d79d353
Merge pull request #30 from brahmaroutu/fix_build
k8s-ci-robot Jan 5, 2021
ef52359
Merge pull request #9 from brahmaroutu/update_prow
k8s-ci-robot Jan 7, 2021
8e846a7
Refactor Kustomize templates
tparikh Jan 12, 2021
7287c3d
Merge pull request #32 from tparikh/kustomize-refactor
k8s-ci-robot Jan 12, 2021
020bacd
fix race condition while creating buckets
wlan0 Jan 12, 2021
6654310
Merge pull request #33 from wlan0/master
k8s-ci-robot Jan 13, 2021
11dd1df
fix rbac rules and check for errors getting bucketclass
wlan0 Jan 13, 2021
192f68c
Merge pull request #34 from wlan0/master
k8s-ci-robot Jan 14, 2021
aa1ed3d
Fixing build for the api changes to Protocol
brahmaroutu Jan 20, 2021
4def7c8
Adding COSI spec documentation
brahmaroutu Jan 12, 2021
71cbd78
Merge pull request #19 from brahmaroutu/spec_doc
k8s-ci-robot Jan 26, 2021
76f98f0
update docs
wlan0 Jan 24, 2021
35887a1
Merge pull request #22 from wlan0/docs
k8s-ci-robot Jan 28, 2021
5faf7aa
Define Protocol message and use in ProvisionerCreateBucketRequest #21
Jan 14, 2021
6415249
Merge pull request #20 from rrati/grpc-respose-updates
k8s-ci-robot Feb 11, 2021
1104ccb
Merge pull request #36 from brahmaroutu/fix_api_changes
k8s-ci-robot Feb 11, 2021
62c0184
fake client: code gen added
Feb 17, 2021
5ce49a9
first readme draft
YiannisGkoufas Feb 18, 2021
9399de2
fake client: move to jennifer for code generation
Feb 19, 2021
d4d4943
Add deployment documentation
Feb 23, 2021
4dd818a
fix for CRDs generation
YiannisGkoufas Feb 23, 2021
dfa3af5
Merge pull request #24 from krishchow/fake-code-gen
k8s-ci-robot Feb 24, 2021
d7f8441
Merge pull request #37 from YiannisGkoufas/master
k8s-ci-robot Mar 3, 2021
89e8139
Merge pull request #38 from mengjiao-liu/add-deployment-doc
k8s-ci-robot Mar 3, 2021
6f60b7e
remove opaque parameters from delete request and return bucket name o…
wlan0 Mar 4, 2021
80749df
imports should change to sigs.k8s.io/container-object-storage-interfa…
YiannisGkoufas Mar 4, 2021
487fef2
Update README.md
YiannisGkoufas Mar 4, 2021
c357290
Merge pull request #40 from YiannisGkoufas/fix-imports
k8s-ci-robot Mar 10, 2021
ca40b1d
update api version & glog -> klog
wlan0 Mar 15, 2021
a937f42
Merge pull request #42 from wlan0/api-klog-update
k8s-ci-robot Mar 17, 2021
86d764b
Merge pull request #41 from YiannisGkoufas/patch-1
k8s-ci-robot Mar 22, 2021
2869aa0
added cloudbuiild.yaml
tparikh Mar 24, 2021
266ad28
Merge pull request #44 from tparikh/cloudbuild
k8s-ci-robot Mar 24, 2021
308a696
API updates
wlan0 Mar 17, 2021
d3132c2
Protocol Parameters without suffix and naming convention
wlan0 Mar 29, 2021
3bbacbb
Merge pull request #25 from wlan0/master
k8s-ci-robot Mar 29, 2021
3782c3f
fix formatting
wlan0 Mar 30, 2021
62cab44
add links to author profiles
wlan0 Mar 30, 2021
b0de747
Merge pull request #26 from wlan0/master
k8s-ci-robot Mar 30, 2021
b3d45ee
Code refactoring to make sure Buckets abd BucketAccess Add works corr…
brahmaroutu Apr 10, 2021
c784ac4
Merge pull request #47 from brahmaroutu/code_refactor
k8s-ci-robot Apr 14, 2021
69024a6
update api version
Apr 14, 2021
197dbfa
Merge pull request #48 from krishchow/update-api
k8s-ci-robot Apr 15, 2021
23f6833
move to sigs.k8s.io, remove retry logic in cosi-controller
Apr 19, 2021
d03683d
Merge pull request #49 from krishchow/demo-prep
k8s-ci-robot Apr 23, 2021
392ee58
removes endpoint, bucketName fields from protocol structs
May 4, 2021
a97f2e9
Merge pull request #27 from krishchow/remove-protocol-name
k8s-ci-robot May 7, 2021
f1ac329
updated api/controller, adds bar/br finalizer logic
May 11, 2021
1da835f
Merge pull request #52 from krishchow/finalizers
k8s-ci-robot May 19, 2021
5c2742d
updated README.md
tparikh May 25, 2021
96d23f5
updated README.md
tparikh May 25, 2021
b11aa04
Merge pull request #53 from tparikh/readme-updates
k8s-ci-robot May 26, 2021
302316c
bug 54: finalizer update fix
Jun 3, 2021
a23ec2b
Merge pull request #55 from krishchow/finalizers
k8s-ci-robot Jun 15, 2021
4ae6b73
release-tools: support arm64
cyb70289 Jul 16, 2021
f61936b
Merge pull request #30 from cyb70289/arm64
k8s-ci-robot Jul 24, 2021
7bb5400
README: Fix document link
cyb70289 Aug 19, 2021
7402eff
Merge pull request #35 from cyb70289/fix-doc-link
k8s-ci-robot Aug 24, 2021
e703fa9
Merge pull request #28 from tparikh/readme-updates
k8s-ci-robot Aug 25, 2021
f18e067
Use reserved extension numbers from protobuf
Feb 10, 2022
50e1430
Merge pull request #36 from ggriffiths/update_reserved_cosi_enums
k8s-ci-robot Feb 11, 2022
c67d6ca
Fixing Makefile with latest changes to protoc-gen-go-json and protoc
mukhoakash Jul 12, 2022
dc26073
Updating the spec document
mukhoakash Jul 12, 2022
20d555c
Updating the go version and the go.mod and go.sum file
mukhoakash Jul 12, 2022
abaa152
Updating the auto generated files
mukhoakash Jul 12, 2022
cec5d74
Added credential details map for grant access response
mukhoakash Jul 15, 2022
cdbc10e
Adding the bucket creation flow
mukhoakash Jul 26, 2022
620b96b
Some fixes in the spec
mukhoakash Jul 26, 2022
126717f
Removing bucket access request
mukhoakash Jul 28, 2022
42b2317
More changes
mukhoakash Jul 28, 2022
c1bd0eb
Added push to Cloudbuild.yaml and swapped out quay.io with gcr repo
aarongalang Jul 29, 2022
f263c96
More updates to the bucket claim controller
mukhoakash Aug 4, 2022
3154aa8
Merge pull request #38 from mukhoakash/update-latest-kep
wlan0 Aug 4, 2022
090921d
Updating the go mod and go sum and fixing compilation
mukhoakash Aug 5, 2022
15d318d
Compilation fix
mukhoakash Aug 5, 2022
6f0d53f
Fixing fo dfiles and gofmt
mukhoakash Aug 5, 2022
a3420c7
Merge pull request #58 from mukhoakash/bucket-create
k8s-ci-robot Aug 5, 2022
8595241
Fixing the updated api version and rbac rules
mukhoakash Aug 8, 2022
d4c6266
Merge pull request #60 from mukhoakash/config-fix
k8s-ci-robot Aug 8, 2022
432a80c
Merge branch 'master' into pipeline
aarongalang Aug 8, 2022
75a70d3
Merge pull request #59 from aarongalang/pipeline
k8s-ci-robot Aug 8, 2022
5ad03d4
Updating go version in travis.yaml
mukhoakash Aug 11, 2022
06cda61
Merge pull request #39 from mukhoakash/update-release-tools
wlan0 Aug 11, 2022
e919add
Fixing the text in deployment guide
mukhoakash Aug 11, 2022
f806099
Merge pull request #61 from mukhoakash/typo-fix
k8s-ci-robot Aug 11, 2022
09c54a6
update kubernetes version to v1.24.0
wlan0 Aug 11, 2022
3c421cf
Merge pull request #40 from wlan0/master
wlan0 Aug 11, 2022
cd8fb04
Doc changes
mukhoakash Aug 11, 2022
7d0998e
Updating the k8s-testimages
mukhoakash Aug 11, 2022
eb27b7c
Merge pull request #62 from mukhoakash/master
wlan0 Aug 11, 2022
68ba92a
Create CHANGELOG-0.1.md
wlan0 Aug 15, 2022
12c6969
Merge pull request #41 from kubernetes-sigs/changelog
wlan0 Aug 15, 2022
2d34fea
Create CHANGELOG-0.1.md
wlan0 Aug 15, 2022
d6f19c9
Merge pull request #63 from kubernetes-sigs/changelog
wlan0 Aug 15, 2022
598ce6e
Update cloudbuild.yaml
wlan0 Aug 16, 2022
71c4ffa
Merge pull request #64 from kubernetes-sigs/image-tag
k8s-ci-robot Aug 16, 2022
3b88f29
update CRDs url, and remove deleted test file in README.md
Sep 2, 2022
6dcf292
Update Makefile
wlan0 Sep 8, 2022
912499a
Merge pull request #65 from niulechuan/fix-urls-in-readme
wlan0 Sep 8, 2022
cde23fc
Merge pull request #66 from kubernetes-sigs/wlan0-patch-1
wlan0 Sep 15, 2022
7f1fe37
Update Makefile
wlan0 Sep 15, 2022
0e0ba7c
Merge pull request #67 from kubernetes-sigs/wlan0-patch-2
k8s-ci-robot Sep 15, 2022
ff5c0ea
Fixing a bucketclaim object updation bug
mukhoakash Sep 19, 2022
f5d937d
Fixing a couple of update bugs
mukhoakash Sep 19, 2022
6fd93c5
Improving some logs
mukhoakash Sep 19, 2022
d9811a8
Merge pull request #68 from mukhoakash/bug-fix
k8s-ci-robot Sep 21, 2022
2a7e4aa
Fixing some parameters in case of existing bucket id
mukhoakash Sep 28, 2022
fc3327f
Merge pull request #69 from mukhoakash/fix-params
k8s-ci-robot Sep 29, 2022
1a0858c
Introducing delete_context to be passed with DriverDeleBucketRequest
mukhoakash Oct 6, 2022
ec78295
Merge pull request #42 from mukhoakash/deletecontext
wlan0 Oct 6, 2022
988b9d0
Modifying owners
mukhoakash Oct 21, 2022
300019f
Merge pull request #71 from mukhoakash/fix_owner
k8s-ci-robot Oct 27, 2022
9c8dfba
Fixing the controller version
mukhoakash Nov 15, 2022
884752d
Merge pull request #72 from mukhoakash/fix_controller_image
k8s-ci-robot Nov 22, 2022
6796fee
Migrate away from google.com gcp project k8s-testimages
cpanato Jan 30, 2023
eafd6fa
Merge pull request #73 from cpanato/GH-1523-k8sio
k8s-ci-robot Jan 30, 2023
13d31e6
fix(log): switched to structured log
shanduur May 23, 2023
928805b
chore(formatting): go fmt on the repo
shanduur May 23, 2023
5240fb3
Merge pull request #77 from shanduur/fix-log
k8s-ci-robot May 24, 2023
ee3d153
feat(bucketclaim): added EventRecorder
shanduur May 11, 2023
0260e75
Introduce revoke_access_context in DriverRevokeBucketAccessRequest
thotz Jun 12, 2023
684d40b
Merge pull request #44 from thotz/introduce-revoke-access-context-Dri…
wlan0 Aug 24, 2023
8ffd85b
implement mvp release tooling
BlaineEXE Sep 12, 2023
76aa8f3
Merge pull request #79 from BlaineEXE/mvp-release-tooling
k8s-ci-robot Sep 13, 2023
7e0b577
push images using PROJECT_ID in cloudbuild
BlaineEXE Sep 13, 2023
6ff51e7
Merge pull request #80 from BlaineEXE/use-project-id-in-cloudbuild
k8s-ci-robot Sep 13, 2023
4cb2621
use k8s-staging-sig-storage for cloudbuild
BlaineEXE Sep 13, 2023
3f6a151
Merge pull request #81 from BlaineEXE/use-k8s-staging-sig-storage
k8s-ci-robot Sep 13, 2023
854c289
use buildx from cloudbuild directly
BlaineEXE Sep 14, 2023
aef2d3b
Merge pull request #82 from BlaineEXE/reduce-layers-in-buildx-cloudbuild
k8s-ci-robot Sep 14, 2023
ee45c46
allow cloudbuild to build git tags
BlaineEXE Sep 14, 2023
fc2824c
revert accidental image modification in deployment
BlaineEXE Sep 14, 2023
146101b
Merge pull request #84 from BlaineEXE/fix-accidental-manifest-edit
k8s-ci-robot Sep 14, 2023
6c05a79
Merge pull request #83 from BlaineEXE/semver-tag-proposal
k8s-ci-robot Sep 14, 2023
90227d2
set up cloudbuild multi-arch builder before use
BlaineEXE Sep 14, 2023
25cd40b
Merge pull request #85 from BlaineEXE/cloudbuild-create-multiarch-bui…
k8s-ci-robot Sep 14, 2023
6daf4ce
cloudbuild: use --load flag to allow pushing images
BlaineEXE Sep 14, 2023
5fc4c3b
Merge pull request #86 from BlaineEXE/load-images-during-build
k8s-ci-robot Sep 14, 2023
bc000d7
cloudbuild: push images straight from docker build
BlaineEXE Sep 14, 2023
9ad2990
Merge pull request #87 from BlaineEXE/use-push
k8s-ci-robot Sep 15, 2023
1942868
tidy up build and make configs
BlaineEXE Sep 15, 2023
4a5c414
Merge pull request #88 from BlaineEXE/build-tidy
k8s-ci-robot Sep 19, 2023
af53be6
add dependabot config for gomod and docker
BlaineEXE Sep 20, 2023
41654d5
Merge pull request #89 from BlaineEXE/add-dependabot
k8s-ci-robot Sep 20, 2023
74ee318
remove unused prow config
BlaineEXE Sep 21, 2023
82e127f
separate controller-runtime in dependabot config
BlaineEXE Sep 21, 2023
8d98837
Merge pull request #92 from BlaineEXE/remove-prow-sh
k8s-ci-robot Sep 21, 2023
7e7b773
Merge pull request #93 from BlaineEXE/dependabot-separate-controller-…
k8s-ci-robot Sep 21, 2023
812040d
Merge branch 'kubernetes-sigs:master' into master
shanduur Oct 18, 2023
9729752
feat: replace API
shanduur Oct 18, 2023
0e3520c
feat: fix panic
shanduur Oct 18, 2023
d9f02c3
feat: API registration
shanduur Oct 18, 2023
e40e69f
chore: update API
shanduur Nov 16, 2023
83a394b
fix: revert deployment change
shanduur Nov 16, 2023
cb0dca9
fix: adjust case according to go std
shanduur Nov 30, 2023
8a30877
fix(review/1): added event constants
shanduur Nov 30, 2023
c06ed1c
fix(review/1): format message
shanduur Dec 8, 2023
6376b6e
fix: typo in error
shanduur Dec 8, 2023
3fd9a83
fix(deps): updated api
shanduur Feb 13, 2024
a54e178
test: added scaffolding for testing events
shanduur Feb 13, 2024
3749eb6
test: extended scaffolding
shanduur Feb 14, 2024
eafb146
test: implemented tests for Events
shanduur Feb 15, 2024
2e33d55
chore: go mod tidy
shanduur Feb 16, 2024
76bbcfc
fix: added events to each error
shanduur Mar 14, 2024
5f57d7f
Bump the github-dependencies group with 2 updates
dependabot[bot] Mar 25, 2024
6b51239
Bump library/golang from 1.21.1 to 1.22.2
dependabot[bot] Apr 8, 2024
6a91ed8
Merge pull request #117 from kubernetes-sigs/dependabot/go_modules/gi…
k8s-ci-robot May 6, 2024
dca8c57
Merge pull request #121 from kubernetes-sigs/dependabot/docker/librar…
k8s-ci-robot May 6, 2024
2e50764
Add BlaineEXE to the owners file
BlaineEXE May 13, 2024
5518cd8
Add BlaineEXE to the owners file
BlaineEXE May 13, 2024
8760f88
Merge pull request #125 from BlaineEXE/patch-1
k8s-ci-robot May 13, 2024
ef50c7a
Merge pull request #47 from BlaineEXE/patch-1
k8s-ci-robot May 13, 2024
944f7c9
Merge pull request #101 from shanduur/feat-event-recorder
k8s-ci-robot May 16, 2024
b66cd17
chore: added shanduur
shanduur May 17, 2024
3baa065
chore: added shanduur
shanduur May 17, 2024
af07061
Merge pull request #48 from shanduur/add-owner-shanduur
k8s-ci-robot May 20, 2024
38b4915
Merge pull request #127 from shanduur/add-owner-shanduur
k8s-ci-robot May 20, 2024
605062d
Add 'pkg/imported-controller/' from commit '38b4915c1bbc6b63144fa8135…
BlaineEXE Jun 4, 2024
19d5477
Merge pull request #72 from BlaineEXE/merge-add-imported-controller
xing-yang Jun 13, 2024
dfefdf4
Add 'pkg/imported-grpc/' from commit 'af070610a0e16b5713c5e248eb84fa7…
BlaineEXE Jun 14, 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
31 changes: 31 additions & 0 deletions pkg/imported-controller/.github/ISSUE_TEMPLATE/bug_report.md
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:
19 changes: 19 additions & 0 deletions pkg/imported-controller/.github/ISSUE_TEMPLATE/enhancement.md
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 pkg/imported-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
27 changes: 27 additions & 0 deletions pkg/imported-controller/.github/dependabot.yml
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 pkg/imported-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/
7 changes: 7 additions & 0 deletions pkg/imported-controller/CHANGELOG/CHANGELOG-0.1.md
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 pkg/imported-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 pkg/imported-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 pkg/imported-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