blob: 0ae7f4eaab77f7fb5fdebb1ceac98f02553bf6c8 [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: {}
Mandeep Khinda06ad9b72018-04-10 21:35:54 -040022 readinessRepository: oomk8s
Sylvain Desbureaux92028e12020-04-20 12:02:24 +020023 readinessImage: readiness-check:2.0.0
Mandeep Khinda1d123882018-03-27 01:26:59 +000024
25
26# application image
27repository: nexus3.onap.org:10001
ChrisC98e52d22020-05-20 14:50:23 +020028image: onap/portal-db:3.2.2
Mandeep Khinda1d123882018-03-27 01:26:59 +000029pullPolicy: Always
30
Sylvain Desbureaux92028e12020-04-20 12:02:24 +020031
Mandeep Khinda9f314ea2018-09-19 19:57:25 +000032mariadbInitImage: "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
Mandeep Khinda1db773e2018-04-05 18:26:07 +000038 #The directory where sql files are found in the projects gerrit repo.
39 sqlSourceDirectory: portal/deliveries
k.kedronc784bbd2019-09-05 18:28:16 +020040 # sdc frontend assignment for port 9443
41 sdcFePort: "30207"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000042 # application's front end hostname. Must be resolvable on the client side environment
43 sdcFeHostName: "sdc.api.fe.simpledemo.onap.org"
44 # policy pap ui assignment for port 8443
45 papPort: "30219"
46 # application's front end hostname. Must be resolvable on the client side environment
47 papHostName: "policy.api.simpledemo.onap.org"
Piotr Daroszaca7aa52018-08-29 14:27:02 +020048 # vid ui assignment for port 8443
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000049 vidPort: "30200"
50 # application's front end hostname. Must be resolvable on the client side environment
51 vidHostName: "vid.api.simpledemo.onap.org"
52 # aai sparky ui assignment for port 8080
Arul.Nambi89c02792018-06-20 11:40:17 -040053 aaiSparkyPort: "30220"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000054 # application's front end hostname. Must be resolvable on the client side environment
Welch, Lorraine (lb2391)e4e09092019-05-30 15:16:45 -040055 aaiSparkyHostName: "aai.ui.simpledemo.onap.org"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000056 # cli ui assignment for port 8080
57 cliPort: "30260"
58 # application's front end hostname. Must be resolvable on the client side environment
59 cliHostName: "cli.api.simpledemo.onap.org"
60 # portal sdk (demo app) ui assignment for port 8990
BorislavGcdbd3ab2018-07-17 08:42:23 +000061 portalSdkPort: "30212"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000062 # application's front end hostname. Must be resolvable on the client side environment
63 portalSdkHostName: "portal-sdk.simpledemo.onap.org"
64 # dmaap bus controller ui assignment for port ?
65 dmaapBcPort: "" # TODO: populate with
66 # application's front end hostname. Must be resolvable on the client side environment
67 dmaapBcHostName: "dmaap-bc.simpledemo.onap.org"
Huabing Zhaob3005d32018-10-19 04:54:43 +000068 # msb IAG ui assignment for port 80
Huabing Zhaocd384322020-04-22 09:21:07 +080069 msbPort: "30283"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000070 # application's front end hostname. Must be resolvable on the client side environment
Huabing Zhaob3005d32018-10-19 04:54:43 +000071 msbHostName: "msb.api.simpledemo.onap.org"
Eoin Hanan306e0632018-11-22 13:14:16 +000072 # SO Monitoring assignment for port 30224
73 soMonitoringPort: "30224"
74 # application's front end hostname. Must be resolvable on the client side environment
Eoin Hanan1ebe49e2018-12-14 09:40:46 +000075 soMonitoringHostName: "so-monitoring"
Eoin Hanan306e0632018-11-22 13:14:16 +000076
Mandeep Khinda1d123882018-03-27 01:26:59 +000077
78# default number of instances
79replicaCount: 1
80
81nodeSelector: {}
82
83affinity: {}
84
85# probe configuration parameters
86liveness:
Gary Wud3316b22018-05-17 11:57:51 -070087 initialDelaySeconds: 450
Mandeep Khinda1d123882018-03-27 01:26:59 +000088 periodSeconds: 10
89 # necessary to disable liveness probe when setting breakpoints
90 # in debugger so K8s doesn't restart unresponsive container
91 enabled: true
92
93readiness:
Gary Wud3316b22018-05-17 11:57:51 -070094 initialDelaySeconds: 450
Mandeep Khinda1d123882018-03-27 01:26:59 +000095 periodSeconds: 10
96
97## Persist data to a persitent volume
98persistence:
99 enabled: true
100
101 ## A manually managed Persistent Volume and Claim
102 ## Requires persistence.enabled: true
103 ## If defined, PVC must be created manually before volume will be bound
104 # existingClaim:
105 volumeReclaimPolicy: Retain
106
107 ## database data Persistent Volume Storage Class
108 ## If defined, storageClassName: <storageClass>
109 ## If set to "-", storageClassName: "", which disables dynamic provisioning
110 ## If undefined (the default) or set to null, no storageClassName spec is
111 ## set, choosing the default provisioner. (gp2 on AWS, standard on
112 ## GKE, AWS & OpenStack)
113 ##
114 # storageClass: "-"
Sylvain Desbureauxcce22e92019-09-02 14:18:42 +0200115 accessMode: ReadWriteOnce
Mandeep Khinda1d123882018-03-27 01:26:59 +0000116 size: 2Gi
117 mountPath: /dockerdata-nfs
118 mountSubPath: portal/mariadb/data
119
120service:
121 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +0000122 name: portal-db
123 portName: portal-db
Mandeep Khinda1d123882018-03-27 01:26:59 +0000124 externalPort: 3306
125 internalPort: 3306
126
127ingress:
128 enabled: false
129
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000130# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000131flavor: small
132# Segregation for Different environment (Small and Large)
133resources:
134 small:
135 limits:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100136 cpu: 460m
137 memory: 175Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000138 requests:
Sylvain Desbureaux22b89c72019-10-29 12:00:36 +0100139 cpu: 10m
140 memory: 100Mi
Nishukumar75d48b92018-09-19 12:11:51 +0000141 large:
142 limits:
143 cpu: 2
144 memory: 2Gi
145 requests:
146 cpu: 800m
147 memory: 1Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000148 unlimited: {}