fabric8io / kubernetes-client

Java client for Kubernetes & OpenShift
http://fabric8.io
Apache License 2.0
3.35k stars 1.44k forks source link

Add support for StorageClass #869

Closed iocanel closed 6 years ago

iocanel commented 6 years ago

Once this https://github.com/fabric8io/kubernetes-model/issues/226 is done....

Ferenc- commented 6 years ago

Now that https://github.com/fabric8io/kubernetes-model/issues/226 is closed, I can't wait to see this one closed too. I needed to do a horrible workaround in my business logic to get some makeshift StorageClass "support".

Mrwangjinxin commented 6 years ago

Please support it

hrishin commented 6 years ago

Add support for storage class operations.

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: gluster-vol-default
provisioner: kubernetes.io/glusterfs
parameters:
  resturl: "http://192.168.10.100:8080"
  restuser: ""
  secretNamespace: ""
  secretName: ""
allowVolumeExpansion: true

Add support for following operations:

Tasks to accomplish:

hrishin commented 6 years ago

All unit tests are running on the mock server or some way of mocking. Recently integration tests suit got in place which runs against Openshift cluster v3.6.0, v3.6.1, v3.7.0

It would be nice if we can add integration test as well :)

oscerd commented 6 years ago

Done here:

https://github.com/fabric8io/kubernetes-client/pull/978