diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index e94fc84..c57dba4 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -13,6 +13,14 @@ rules: - get - list - watch +- apiGroups: + - objectbucket.io + resources: + - objectbucketclaims + verbs: + - get + - list + - watch - apiGroups: - sources.functions.dev resources: diff --git a/rook-kafka-connection-setup.sh b/rook-kafka-connection-setup.sh index 1192110..692ded1 100755 --- a/rook-kafka-connection-setup.sh +++ b/rook-kafka-connection-setup.sh @@ -114,29 +114,29 @@ oc wait --for=condition=Ready kafkauser/objectbucket-notifications-adapter-user # --from-literal=user.key="${rgw_kafka_userkey}" # Patch the cephObjectStores reconcileStrategy to Init so that it allows us adding the additionalVolumeMounts -oc patch storagecluster ocs-storagecluster -n openshift-storage \ - --type=merge \ - -p '{"spec":{"managedResources":{"cephObjectStores":{"reconcileStrategy":"init"}}}}' +#oc patch storagecluster ocs-storagecluster -n openshift-storage \ +# --type=merge \ +# -p '{"spec":{"managedResources":{"cephObjectStores":{"reconcileStrategy":"init"}}}}' -echo "Sleeping for 10s to let the StorageCluster update the reconcileStrategy" -sleep 10 +#echo "Sleeping for 10s to let the StorageCluster update the reconcileStrategy" +#sleep 10 # Mount the Kafka Secret -cat </dev/null || true #oc create secret --namespace openshift-storage generic "${notification_kafka_user}" \