kube-object-storage / lib-bucket-provisioner

Library for the dynamic provisioning of object store buckets to be used by object store providers.
Apache License 2.0
21 stars 22 forks source link

handle OBC update events? #54

Open jeffvance opened 5 years ago

jeffvance commented 5 years ago

This came from the original design doc:

+ detects OBC update events: (post phase-0)
  + skip if the OBC's StorageClass' provisioner != the provisioner doing this watch
  + ensure the expected OB, Secret and ConfigMap are present
  + if all present:
    + update OBC status to "Bound"
  + sync the OB's status to match the OBC's status
jeffvance commented 5 years ago

Need discussion around which fields of the OBC can be changed such that the lib responds. Once a bucket is created their could be attributes that should be allowed to be changed (size, permissions, owner?...).

nimrod-becker commented 5 years ago

Per the discussion at 15/8, Should define what should go into the OBC and what into the storageClass. Maybe as a first, we can only support a certain attribute (policy) ? Also related to #92