-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathsingleinstancedatabase_free.yaml
36 lines (30 loc) · 1.13 KB
/
singleinstancedatabase_free.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# Copyright (c) 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
apiVersion: database.oracle.com/v4
kind: SingleInstanceDatabase
metadata:
name: freedb-sample
namespace: default
spec:
## DB edition
edition: free
## Secret containing SIDB password mapped to secretKey
adminPassword:
secretName: freedb-admin-secret
## Database image details
image:
## Oracle Database Free is only supported from DB version 23.2 onwards
pullFrom: container-registry.oracle.com/database/free:latest
prebuiltDB: true
## size is the required minimum size of the persistent volume
## storageClass is specified for automatic volume provisioning
## accessMode can only accept one of ReadWriteOnce, ReadWriteMany
persistence:
size: 50Gi
## oci-bv applies to OCI block volumes. Use "standard" storageClass for dynamic provisioning in Minikube. Update as appropriate for other cloud service providers
storageClass: "oci-bv"
accessMode: "ReadWriteOnce"
## Count of Database Pods. Should be 1 for free edition.
replicas: 1