Skip to content

Commit 5632275

Browse files
author
Mahi0911
committed
Added command to create image pull secret
1 parent c062b5e commit 5632275

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

config/samples/sidb/singleinstancedatabase_minikube.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ spec:
8080
## Database can be patched by updating the RU version/image
8181
## Major version changes are not supported
8282
image:
83-
pullFrom:
84-
pullSecrets:
83+
pullFrom: container-registry.oracle.com/database/enterprise:latest
84+
pullSecrets: oracle-container-registry-secret
8585

8686
## size : Minimum size of pvc | class : PVC storage Class
8787
## AccessMode can only accept one of ReadWriteOnce, ReadWriteMany

docs/sidb/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ Oracle strongly recommends that you follow the [Prerequisites](./SIDB_PREREQUISI
109109
- Easily provision a new database instance on **minikube** using [singleinstancedatabase_minikube.yaml](../../config/samples/sidb/singleinstancedatabase_minikube.yaml) by the following one command.
110110

111111
```sh
112+
$ kubectl create secret docker-registry oracle-container-registry-secret --docker-server=container-registry.oracle.com --docker-username='<oracle-sso-email-address>' --docker-password='<oracle-sso-password>' --docker-email='<oracle-sso-email-address>'
112113
$ kubectl create -f singleinstancedatabase_minikube.yaml
113114

114115
singleinstancedatabase.database.oracle.com/sidb-sample created
@@ -251,7 +252,7 @@ Oracle strongly recommends that you follow the [Prerequisites](./SIDB_PREREQUISI
251252

252253
* ### Patch existing Database
253254

254-
Edit and apply the `singleinstancedatabase.yaml` file of the database resource/object by specifying a new release update for image attributes. The database pods will be restarted with the new release update image. For minimum downtime, ensure that you have mutiple replicas of the database pods running.
255+
Edit and apply the `singleinstancedatabase.yaml` file of the database resource/object by specifying a new release update for image attributes.
255256

256257
```sh
257258
kubectl --type=merge -p '{"spec":{"image":{"pullFrom":"patched-image:tag","pullSecrets":"pull-secret"}}}' patch singleinstancedatabase sidb-sample
@@ -260,6 +261,8 @@ Oracle strongly recommends that you follow the [Prerequisites](./SIDB_PREREQUISI
260261
261262
```
262263

264+
The database pods will be restarted with the new release update image. For minimum downtime, ensure that you have mutiple replicas of the database pods running.
265+
263266
* ### Clone and Patch Database
264267

265268
Clone your source database using the method of [cloning existing database](README.md#clone-existing-database) and specify a new release image for the cloned database. Use this method to enusure there are no patching related issues impacting your database performance/functionality

docs/sidb/SIDB_PREREQUISITES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ To deploy Oracle Database Operator for Kubernetes on Oracle Docker images, compl
44
* ### Prepare Oracle Docker Images
55

66
Build SingleInstanceDatabase Docker Images from source, following the instructions at [https://github.com/oracle/docker-images/tree/main/OracleDatabase/SingleInstance](https://github.com/oracle/docker-images/tree/main/OracleDatabase/SingleInstance), or
7-
use the pre-built images available at [https://container-registry.oracle.com](https://container-registry.oracle.com)
7+
use the pre-built images available at [https://container-registry.oracle.com](https://container-registry.oracle.com) by signing in and accepting the required license agreement.
88

99
Oracle Database Releases Supported: Oracle Database 19c Enterprise Edition or Standard Edition, and later releases.
1010

0 commit comments

Comments
 (0)