-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The restful handler of storageprovider #21
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #21 +/- ##
==========================================
+ Coverage 57.91% 60.8% +2.89%
==========================================
Files 12 13 +1
Lines 316 347 +31
==========================================
+ Hits 183 211 +28
- Misses 122 124 +2
- Partials 11 12 +1
Continue to review full report at Codecov.
|
) | ||
|
||
func CreateStorageProvider(ctx *web.Context) { | ||
as, req, resp := ctx.ServiceProvider, ctx.Request, ctx.Response |
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.
we can use sp sp, req, resp
For NFS, we should apply storageClass and deployment for provisioner. For GlusterFS, we should apply storageClass
The restful handler of storageprovider Former-commit-id: ca4d5444f048d8044919a23620a0b57da7fa9b22 [formerly e0f98bc] Former-commit-id: a7b69e7d4e8aff0b786d835c61c831b28377dfb5
The restful handler of storageprovider
The storage-provider is used to setup the storage for system and it should setup all resources we need for kubernetes (storageClass, storage-provisioner).