Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit e8cb857

Browse files
New Release v1.5.0 for OCI Service Broker
- Adding support for Chuncheon (YNY), Hyderabad (HYD) and Sanjose (SJC) regions - Minor Bug Fix to make OCI Service Broker compatible with 1.16+ Co-authored-by: Ashokkumar Kannan [email protected] Co-authored-by: Jayasheelan Kumar [email protected]
1 parent 3afa60e commit e8cb857

File tree

8 files changed

+25
-15
lines changed

8 files changed

+25
-15
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
[1.5.0]
9+
10+
- Adding support for Chuncheon (YNY), Hyderabad (HYD) and Sanjose (SJC) regions
11+
- Minor Bug Fix to make OCI Service Broker compatible with 1.16+
12+
813
[1.4.0]
914

1015
- Adding support for Osaka (KIX), Melbourne (MEL), Amsterdam (AMS), Jeddah (JED), Montreal (YUL) regions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ See the [Documentation](charts/oci-service-broker/README.md#oci-service-broker)
2929
The OCI Service Broker is packaged as Helm chart for making it easy to install in Kubernetes Clusters. The chart can be downloaded from below URL.
3030

3131
```
32-
https://github.com/oracle/oci-service-broker/releases/download/v1.4.0/oci-service-broker-1.4.0.tgz
32+
https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz
3333
```
3434

3535
## Samples

charts/oci-service-broker/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
apiVersion: v1
66
description: A Helm chart for installing OCI Service Broker into a Kubernetes cluster
77
name: oci-service-broker
8-
version: 1.4.0
8+
version: 1.5.0

charts/oci-service-broker/docs/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ brew update && brew install kubernetes-service-catalog-client
7575
The OCI Service Broker is packaged as Helm chart for making it easy to install in Kubernetes. The chart is available at [charts/oci-service-broker](../) directory.
7676

7777
```plain
78-
https://github.com/oracle/oci-service-broker/releases/download/v1.4.0/oci-service-broker-1.4.0.tgz
78+
https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz
7979
```
8080

8181
### OCI credentials
@@ -114,15 +114,15 @@ For quickly testing out OCI Service Broker, TLS can be disabled and an embedded
114114

115115
Helm 3.x syntax:
116116
```bash
117-
helm install oci-service-broker https://github.com/oracle/oci-service-broker/releases/download/v1.4.0/oci-service-broker-1.4.0.tgz \
117+
helm install oci-service-broker https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz \
118118
--set ociCredentials.secretName=ocicredentials \
119119
--set storage.etcd.useEmbedded=true \
120120
--set tls.enabled=false
121121
```
122122

123123
Helm 2.x syntax:
124124
```bash
125-
helm install https://github.com/oracle/oci-service-broker/releases/download/v1.4.0/oci-service-broker-1.4.0.tgz --name oci-service-broker \
125+
helm install https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz --name oci-service-broker \
126126
--set ociCredentials.secretName=ocicredentials \
127127
--set storage.etcd.useEmbedded=true \
128128
--set tls.enabled=false
@@ -226,15 +226,15 @@ Replace the values of --set arguments with your appropriate values to install th
226226

227227
Helm 3.x syntax:
228228
```bash
229-
helm install oci-service-broker https://github.com/oracle/oci-service-broker/releases/download/v1.4.0/oci-service-broker-1.4.0.tgz \
229+
helm install oci-service-broker https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz \
230230
--set ociCredentials.secretName=ocicredentials \
231231
--set tls.secretName=certsecret \
232232
--set storage.etcd.servers=<comma separated list of etcd servers>
233233
```
234234

235235
Helm 2.x syntax:
236236
```bash
237-
helm install https://github.com/oracle/oci-service-broker/releases/download/v1.4.0/oci-service-broker-1.4.0.tgz --name oci-service-broker \
237+
helm install https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz --name oci-service-broker \
238238
--set ociCredentials.secretName=ocicredentials \
239239
--set tls.secretName=certsecret \
240240
--set storage.etcd.servers=<comma separated list of etcd servers>
@@ -288,7 +288,7 @@ Refer [Restrict access to Service Catalog resources using RBAC](security.md#rest
288288
Sample files for various services are available under [`oci-service-broker/samples`](../samples) directory inside the charts. The below command extracts chart that contains the sample files.
289289

290290
```bash
291-
curl -LO https://github.com/oracle/oci-service-broker/releases/download/v1.4.0/oci-service-broker-1.4.0.tgz | tar xz
291+
curl -LO https://github.com/oracle/oci-service-broker/releases/download/v1.5.0/oci-service-broker-1.5.0.tgz | tar xz
292292
```
293293

294294
Create a `ClusterServiceBroker` resource with OCI Service Broker URL to register the broker. Use the below register yaml file after updating the namespace of the OCI Service Broker.

charts/oci-service-broker/templates/deployment.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{{- end }}
1414
{{- end }}
1515

16-
apiVersion: extensions/v1beta1
16+
apiVersion: apps/v1
1717
kind: Deployment
1818
metadata:
1919
name: {{ template "oci-service-broker-chart.fullname" . }}
@@ -24,6 +24,10 @@ metadata:
2424
heritage: {{ .Release.Service }}
2525
spec:
2626
replicas: {{ .Values.replicaCount }}
27+
selector:
28+
matchLabels:
29+
app: {{ template "oci-service-broker-chart.name" . }}
30+
release: {{ .Release.Name }}
2731
template:
2832
metadata:
2933
labels:

charts/oci-service-broker/values.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ replicaCount: 1
1111
# Image of the broker
1212
image:
1313
# Repository of the image
14-
repository: iad.ocir.io/oracle/oci-service-broker
14+
#repository: iad.ocir.io/oracle/oci-service-broker
15+
repository: iad.ocir.io/oci-cnp-dev/oci-service-broker
1516

1617
# Tag of the image
17-
tag: 1.4.0
18+
tag: 1.5.0
1819

1920
# The image pull policy
2021
pullPolicy: Always

oci-service-broker/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ apply plugin: 'maven-publish'
3030
archivesBaseName = 'oci-service-broker'
3131

3232
// Sometimes, the version has to be overridden from command line
33-
version = project.hasProperty('version_num') ? project.getProperty('version_num') : '1.4.0'
33+
version = project.hasProperty('version_num') ? project.getProperty('version_num') : '1.5.0'
3434
ext.dockerGroup = 'iad.ocir.io/oci-cnp-dev'
3535
mainClassName = 'com.oracle.oci.osb.Broker'
3636

3737
sourceCompatibility = 10
3838

3939
ext {
40-
ociSdkVersion = "1.13.2"
40+
ociSdkVersion = "1.22.1"
4141
jerseyVersion = "2.27"
4242
hk2Version = "2.5.0-b42"
4343
hamcrestVersion = "1.3"

oci-service-broker/download_SDK_libs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
#sdk jars and their dependency jars. The jars are written to libs directory.
1010

1111
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
12-
SDK_VERSION="1.13.2"
12+
SDK_VERSION="1.22.1"
1313
TEMP_DIR="/tmp/oci-java-sdk"
1414
rm -rf ${TEMP_DIR}
1515
mkdir -p ${TEMP_DIR}
1616
mkdir -p ${SCRIPT_DIR}/libs
1717
echo "Downloading oci-java-sdk version v${SDK_VERSION} and the dependent libraries..."
1818
curl -sSL https://github.com/oracle/oci-java-sdk/releases/download/v${SDK_VERSION}/oci-java-sdk.zip -o ${TEMP_DIR}/oci-java-sdk.zip
1919
unzip -qq ${TEMP_DIR}/oci-java-sdk.zip -d ${TEMP_DIR}
20-
cp ${TEMP_DIR}/lib/oci-java-sdk-full-1.13.2.jar ${SCRIPT_DIR}/libs/
20+
cp ${TEMP_DIR}/lib/oci-java-sdk-full-1.22.1.jar ${SCRIPT_DIR}/libs/
2121
cp ${TEMP_DIR}/third-party/lib/*.jar ${SCRIPT_DIR}/libs/
2222
rm -rf ${TEMP_DIR}
2323
echo "oci-java-sdk and the dependent libraries are downloaded to ${SCRIPT_DIR}/libs directory"

0 commit comments

Comments
 (0)