Skip to content

Commit f17be47

Browse files
author
Mahi0911
committed
Changed sanple yamls
1 parent 5d4e05e commit f17be47

File tree

6 files changed

+12
-5
lines changed

6 files changed

+12
-5
lines changed

config/samples/sidb/singleinstancedatabase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ spec:
5959

6060
## size : Minimum size of pvc | class : PVC storage Class
6161
## AccessMode can only accept one of ReadWriteOnce, ReadWriteMany
62-
## Change the storageClass and accessMode accordingly if you dont want to use oci block volume
62+
## Below mentioned storageClass/accessMode applies to OCI block volumes. Update appropriately for other types for persistent volumes.
6363
persistence:
6464
size: 100Gi
6565
storageClass: "oci"

config/samples/sidb/singleinstancedatabase_clone.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232

3333
## size : Minimum size of pvc | class : PVC storage Class
3434
## AccessMode can only accept one of ReadWriteOnce, ReadWriteMany
35-
## Change the storageClass and accessMode accordingly if you dont want to use oci block volume
35+
## Below mentioned storageClass/accessMode applies to OCI block volumes. Update appropriately for other types for persistent volumes.
3636
persistence:
3737
size: 100Gi
3838
storageClass: "oci"

config/samples/sidb/singleinstancedatabase_minikube.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ spec:
8686
## size : Minimum size of pvc | class : PVC storage Class
8787
## AccessMode can only accept one of ReadWriteOnce, ReadWriteMany
8888
persistence:
89-
size: 4Gi
89+
size: 5Gi
9090
storageClass: "sidb"
9191
accessMode: "ReadWriteMany"
9292

config/samples/sidb/singleinstancedatabase_patch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727

2828
## size : Minimum size of pvc | class : PVC storage Class
2929
## AccessMode can only accept one of ReadWriteOnce, ReadWriteMany
30-
## Change the storageClass and accessMode accordingly if you dont want to use oci block volume
30+
## Below mentioned storageClass/accessMode applies to OCI block volumes. Update appropriately for other types for persistent volumes.
3131
persistence:
3232
size: 100Gi
3333
storageClass: "oci"

config/samples/sidb/singleinstancedatabase_prov.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525

2626
## size : Minimum size of pvc | class : PVC storage Class
2727
## AccessMode can only accept one of ReadWriteOnce, ReadWriteMany
28-
## Change the storageClass and accessMode accordingly if you dont want to use oci block volume
28+
## Below mentioned storageClass/accessMode applies to OCI block volumes. Update appropriately for other types for persistent volumes.
2929
persistence:
3030
size: 100Gi
3131
storageClass: "oci"

docs/sidb/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,13 @@ $ kubectl get singleinstancedatabase sidb-sample -o "jsonpath={.status.status}"
250250

251251
Patched Oracle Docker images can be built using this [patching extension](https://github.com/oracle/docker-images/tree/main/OracleDatabase/SingleInstance/extensions/patching)
252252

253+
```sh
254+
kubectl --type=merge -p '{"spec":{"image":{"pullFrom":"patched-image:tag","pullSecrets":"pull-secret"}}}' patch singleinstancedatabase sidb-sample
255+
256+
singleinstancedatabase.database.oracle.com/sidb-sample patched
257+
258+
```
259+
253260
* ### Patch existing Database
254261

255262
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.

0 commit comments

Comments
 (0)