forked from oracle/oracle-database-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oraclerestdataservice_create.yaml
37 lines (31 loc) · 1.08 KB
/
oraclerestdataservice_create.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
37
#
# Copyright (c) 2022, 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: database.oracle.com/v1alpha1
kind: OracleRestDataService
metadata:
name: ords-sample
namespace: default
spec:
## Database ref. This can be of kind SingleInstanceDatabase.
## Make sure the source database has been created by applying singeinstancedatabase_express.yaml
databaseRef: "xedb-sample"
## Secret containing databaseRef password mapped to secretKey.
adminPassword:
secretName: xedb-admin-secret
## Secret containing ORDS_PUBLIC_USER password mapped to secretKey.
ordsPassword:
secretName: ords-secret
## ORDS image details
image:
pullFrom: container-registry.oracle.com/database/ords:21.4.2-gh
## PDB Schemas to be ORDS Enabled.
## Schema will be created (if not exists) with password as .spec.ordsPassword.
restEnableSchemas:
- schemaName: schema1
enable: true
urlMapping:
- schemaName: schema2
enable: true
urlMapping: myschema