blob: 5061593739c524679b048612482a04ef8fa4f1e6 [file] [log] [blame]
Mandeep Khinda1d123882018-03-27 01:26:59 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T
Mandeep Khinda1d123882018-03-27 01:26:59 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16# Default values for mariadb.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19global: # global defaults
20 nodePortPrefix: 302
Mandeep Khinda1d123882018-03-27 01:26:59 +000021 persistence: {}
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020022 readinessImage: onap/oom/readiness:3.0.1
Sandeep Shah6a385ce2020-08-07 16:54:12 -050023 busyBoxImage: busybox:1.30
24 busyBoxRepository: docker.io
Mandeep Khinda1d123882018-03-27 01:26:59 +000025
26# application image
27repository: nexus3.onap.org:10001
Sandeep Shah3d565522020-10-03 23:09:58 -050028image: onap/portal-db:3.4.1
Mandeep Khinda1d123882018-03-27 01:26:59 +000029pullPolicy: Always
30
Sylvain Desbureaux92028e12020-04-20 12:02:24 +020031
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020032mariadbInitImage: "oomk8s/mariadb-client-init:3.0.0"
Mandeep Khinda1db773e2018-04-05 18:26:07 +000033
Mandeep Khinda1d123882018-03-27 01:26:59 +000034# application configuration
35config:
Mandeep Khinda1db773e2018-04-05 18:26:07 +000036 mariadbUser: root
Mandeep Khinda1d123882018-03-27 01:26:59 +000037 mariadbRootPassword: Aa123456
Sandeep Shahd6b989d2020-09-25 15:53:18 -050038 backendDbUser: portal
39 backendDbPassword: portal
40 #backend_portal_tables is a comma delimited string listing back-end tables
41 #that backendDbUser needs access to, such as to portal and ecomp_sdk tables
42 backend_portal_tables: portal,ecomp_sdk
Mandeep Khinda1db773e2018-04-05 18:26:07 +000043 #The directory where sql files are found in the projects gerrit repo.
44 sqlSourceDirectory: portal/deliveries
k.kedronc784bbd2019-09-05 18:28:16 +020045 # sdc frontend assignment for port 9443
46 sdcFePort: "30207"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000047 # application's front end hostname. Must be resolvable on the client side environment
48 sdcFeHostName: "sdc.api.fe.simpledemo.onap.org"
49 # policy pap ui assignment for port 8443
50 papPort: "30219"
51 # application's front end hostname. Must be resolvable on the client side environment
52 papHostName: "policy.api.simpledemo.onap.org"
Piotr Daroszaca7aa52018-08-29 14:27:02 +020053 # vid ui assignment for port 8443
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000054 vidPort: "30200"
55 # application's front end hostname. Must be resolvable on the client side environment
56 vidHostName: "vid.api.simpledemo.onap.org"
57 # aai sparky ui assignment for port 8080
Arul.Nambi89c02792018-06-20 11:40:17 -040058 aaiSparkyPort: "30220"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000059 # application's front end hostname. Must be resolvable on the client side environment
Welch, Lorraine (lb2391)e4e09092019-05-30 15:16:45 -040060 aaiSparkyHostName: "aai.ui.simpledemo.onap.org"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000061 # cli ui assignment for port 8080
62 cliPort: "30260"
63 # application's front end hostname. Must be resolvable on the client side environment
64 cliHostName: "cli.api.simpledemo.onap.org"
65 # portal sdk (demo app) ui assignment for port 8990
BorislavGcdbd3ab2018-07-17 08:42:23 +000066 portalSdkPort: "30212"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000067 # application's front end hostname. Must be resolvable on the client side environment
68 portalSdkHostName: "portal-sdk.simpledemo.onap.org"
69 # dmaap bus controller ui assignment for port ?
70 dmaapBcPort: "" # TODO: populate with
71 # application's front end hostname. Must be resolvable on the client side environment
72 dmaapBcHostName: "dmaap-bc.simpledemo.onap.org"
Huabing Zhaob3005d32018-10-19 04:54:43 +000073 # msb IAG ui assignment for port 80
Huabing Zhaocd384322020-04-22 09:21:07 +080074 msbPort: "30283"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000075 # application's front end hostname. Must be resolvable on the client side environment
Huabing Zhaob3005d32018-10-19 04:54:43 +000076 msbHostName: "msb.api.simpledemo.onap.org"
Eoin Hanan306e0632018-11-22 13:14:16 +000077 # SO Monitoring assignment for port 30224
78 soMonitoringPort: "30224"
79 # application's front end hostname. Must be resolvable on the client side environment
Eoin Hanan1ebe49e2018-12-14 09:40:46 +000080 soMonitoringHostName: "so-monitoring"
Eoin Hanan306e0632018-11-22 13:14:16 +000081
Mandeep Khinda1d123882018-03-27 01:26:59 +000082
83# default number of instances
84replicaCount: 1
85
86nodeSelector: {}
87
88affinity: {}
89
90# probe configuration parameters
91liveness:
Gary Wud3316b22018-05-17 11:57:51 -070092 initialDelaySeconds: 450
Mandeep Khinda1d123882018-03-27 01:26:59 +000093 periodSeconds: 10
94 # necessary to disable liveness probe when setting breakpoints
95 # in debugger so K8s doesn't restart unresponsive container
96 enabled: true
97
98readiness:
Gary Wud3316b22018-05-17 11:57:51 -070099 initialDelaySeconds: 450
Mandeep Khinda1d123882018-03-27 01:26:59 +0000100 periodSeconds: 10
101
102## Persist data to a persitent volume
103persistence:
104 enabled: true
105
106 ## A manually managed Persistent Volume and Claim
107 ## Requires persistence.enabled: true
108 ## If defined, PVC must be created manually before volume will be bound
109 # existingClaim:
110 volumeReclaimPolicy: Retain
111
112 ## database data Persistent Volume Storage Class
113 ## If defined, storageClassName: <storageClass>
114 ## If set to "-", storageClassName: "", which disables dynamic provisioning
115 ## If undefined (the default) or set to null, no storageClassName spec is
116 ## set, choosing the default provisioner. (gp2 on AWS, standard on
117 ## GKE, AWS & OpenStack)
118 ##
119 # storageClass: "-"
Sylvain Desbureauxcce22e92019-09-02 14:18:42 +0200120 accessMode: ReadWriteOnce
Mandeep Khinda1d123882018-03-27 01:26:59 +0000121 size: 2Gi
122 mountPath: /dockerdata-nfs
123 mountSubPath: portal/mariadb/data
124
125service:
126 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +0000127 name: portal-db
128 portName: portal-db
Mandeep Khinda1d123882018-03-27 01:26:59 +0000129 externalPort: 3306
130 internalPort: 3306
131
132ingress:
133 enabled: false
134
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000135# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000136flavor: small
137# Segregation for Different environment (Small and Large)
138resources:
139 small:
140 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100141 cpu: 460m
142 memory: 175Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000143 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100144 cpu: 10m
145 memory: 100Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000146 large:
147 limits:
148 cpu: 2
149 memory: 2Gi
150 requests:
151 cpu: 800m
152 memory: 1Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000153 unlimited: {}