Closed thotz closed 4 years ago
@copejon @jeffvance any ideas
@thotz, can you show output of kubctl get obc -oyaml
?
@thotz, can you show output of
kubctl get obc -oyaml
? @jeffvance refer belowkubectl get obc ceph-delete-bucket -o yaml apiVersion: objectbucket.io/v1alpha1 kind: ObjectBucketClaim metadata: creationTimestamp: "2020-06-03T06:05:56Z" finalizers: - objectbucket.io/finalizer generation: 3 labels: bucket-provisioner: rook-ceph.ceph.rook.io-bucket name: ceph-delete-bucket namespace: default resourceVersion: "684117" selfLink: /apis/objectbucket.io/v1alpha1/namespaces/default/objectbucketclaims/ceph-delete-bucket uid: 5312cd5c-b3c3-4617-b046-8139b158896a spec: ObjectBucketName: obc-default-ceph-delete-bucket bucketName: ceph-bkt-7a9adbc6-3f67-4503-b252-15d9aa1ea9f9 generateBucketName: ceph-bkt storageClassName: rook-ceph-delete-bucket status: phase: Bound
@thotz Seems like you used a uppercase A in AdditionalConfig.
Should be lowercase - additionalConfig
...
See the json tag here:
https://github.com/kube-object-storage/lib-bucket-provisioner/blob/02cba53742aed9a57c6541bb8dbf97346bc92835/pkg/apis/objectbucket.io/v1alpha1/objectbucketclaim_types.go#L51
It worked. Thanks @guymguym . Hence closing this issue
Good catch @guymguym !
Though it would be nice if we validated that field.
I have used below CR for creating obc for adding support for quota in OBC via additional config
Apparently above info is missing in
ObjectBucketClaimSpec
and not able to fetch in the rook operator code