-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathoraclerestdataservice_apex.yaml
42 lines (35 loc) · 1.33 KB
/
oraclerestdataservice_apex.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
38
39
40
41
42
#
# Copyright (c) 2023, 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
adminPassword:
secretName: xedb-admin-secret
## Secret containing ORDS_PUBLIC_USER password
ordsPassword:
secretName: ords-secret
## To configure APEX with ORDS, specfiy the apexPassword secret details. Leave empty if Apex is not needed.
## This is a secret containing a common password for APEX_PUBLIC_USER, APEX_REST_PUBLIC_USER, APEX_LISTENER and Apex administrator (username: ADMIN)
apexPassword:
secretName: apex-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