This repository has been archived by the owner on Nov 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Release v1.1.0 for OCI Service Broker
- Added Support for Oracle Streaming Service (OSS) - Bug fixes Co-authored-by: Shyam Radhakrishnan [email protected] Co-authored-by: Ashokkumar Kannan [email protected] Co-authored-by: Jayasheelan Kumar [email protected] Co-authored-by: Naman Mehta [email protected]
- Loading branch information
1 parent
285b386
commit e63208f
Showing
20 changed files
with
630 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# Oracle Streaming OCI Service Broker | ||
|
||
- [Introduction](#introduction) | ||
- [Plans](#plans) | ||
- [OCI User Permission requirement](#oci-user-permission-requirement) | ||
- [Service Provision Request Parameters](#service-provision-request-parameters) | ||
- [Service Binding](#service-binding) | ||
- [Request Parameters](#request-parameters) | ||
- [Response Credentials](#response-credentials) | ||
- [Example](#example) | ||
- [Kubernetes](#kubernetes) | ||
- [Provisioning](#provisioning) | ||
- [Binding](#binding) | ||
|
||
## Introduction | ||
|
||
OCI Streaming Service (OSS) provides a fully managed, scalable, and durable storage solution for ingesting continuous, high-volume streams of data that users can consume and process in real time. OSS service is also offered via OCI Service Broker thereby making it easy for applications to provision and integrate seamlessly with OSS. | ||
|
||
## Plans | ||
|
||
The supported plans for this service are | ||
|
||
1. standard | ||
|
||
## OCI User Permission requirement | ||
|
||
The OCI user for OCI Service Broker should have permission `manage` for resource type `streams` | ||
|
||
**Sample Policy:** | ||
|
||
```plain | ||
Allow group <SERVICE_BROKER_GROUP> to manage streams in compartment <COMPARTMENT_NAME> | ||
``` | ||
|
||
## Service Provision Request Parameters | ||
|
||
The request parameters for Service provisioning are | ||
|
||
| Parameter | Description | Type | Mandatory | | ||
| ------------- | ------------------------------------------------------------- | ------ | --------- | | ||
| name | The name of the stream | string | Yes | | ||
| compartmentId | The OCID of the compartment to which the stream should belong | string | Yes | | ||
| partitions | The number of partitions of the stream | number | Yes | | ||
| freeFormTags | The free form tags of the bucket | object | No | | ||
| definedTags | The defined tags of the bucket | object | No | | ||
|
||
## Service Binding | ||
|
||
### Request Parameters | ||
|
||
The Service Binding Request does not have any parameters. | ||
|
||
### Response Credentials | ||
|
||
| Parameter | Description | Type | | ||
| --------- | ------------------------------------------------------------------------------ | ------ | | ||
| streamId | The unique identifier of the stream, this can be used to connect to the stream | string | | ||
|
||
An OCI user credential can be used to connect to the stream using streamId. The binding request does not create the user. | ||
|
||
## Example | ||
|
||
### Kubernetes | ||
|
||
#### Provisioning | ||
|
||
Create a stream | ||
|
||
```yaml | ||
apiVersion: servicecatalog.k8s.io/v1beta1 | ||
kind: ServiceInstance | ||
metadata: | ||
name: "InstanceName" | ||
namespace: "Namespace" | ||
spec: | ||
clusterServiceClassExternalName: "oss-service" | ||
clusterServicePlanExternalName: "standard" | ||
parameters: | ||
name: "StreamName" | ||
compartmentId: "CompartmentOCID" | ||
partitions: "5" | ||
``` | ||
#### Binding | ||
Create a Request binding | ||
```yaml | ||
apiVersion: servicecatalog.k8s.io/v1beta1 | ||
kind: ServiceBinding | ||
metadata: | ||
name: "BindingName" | ||
namespace: "Namespace" | ||
spec: | ||
instanceRef: | ||
name: "InstanceName" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
charts/oci-service-broker/samples/oss/create-oss-binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. | ||
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. | ||
# | ||
apiVersion: servicecatalog.k8s.io/v1beta1 | ||
kind: ServiceBinding | ||
metadata: | ||
name: test-stream-binding | ||
spec: | ||
instanceRef: | ||
name: teststream |
15 changes: 15 additions & 0 deletions
15
charts/oci-service-broker/samples/oss/create-oss-instance.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# | ||
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. | ||
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. | ||
# | ||
apiVersion: servicecatalog.k8s.io/v1beta1 | ||
kind: ServiceInstance | ||
metadata: | ||
name: teststream | ||
spec: | ||
clusterServiceClassExternalName: oss-service | ||
clusterServicePlanExternalName: standard | ||
parameters: | ||
name: teststream | ||
compartmentId: CHANGE_COMPARTMENT_OCID_HERE | ||
partitions: CHANGE_PARTITION_COUNT_HERE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.