blob: b2a848b028428a6546d20635056ab08105412fde [file] [log] [blame]
mayankg2703ced85142018-03-20 05:42:53 +00001# Copyright © 2017 Amdocs, Bell Canada
Durgpal7ad40692018-08-03 07:28:36 +00002# Modifications Copyright © 2018 AT&T
mayankg2703ced85142018-03-20 05:42:53 +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#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
mayankg2703ced85142018-03-20 05:42:53 +000021 persistence: {}
22
23#################################################################
24# Application configuration defaults.
25#################################################################
26# application image
27repository: nexus3.onap.org:10001
Jorge Hernandezd38b89b2018-05-03 14:08:42 -050028image: mariadb:10.2.14
mayankg2703ced85142018-03-20 05:42:53 +000029pullPolicy: Always
30
31# flag to enable debugging - application support required
32debugEnabled: false
33
34# application configuration
35# Example:
36config:
37 mysqlRootPassword: secret
38 mysqlUserName: policy_user
39 mysqlPassword: policy_user
40# default number of instances
41replicaCount: 1
42
43nodeSelector: {}
44
45affinity: {}
46
47# probe configuration parameters
48liveness:
BorislavG16fc7602018-06-13 10:57:51 +000049 initialDelaySeconds: 120
mayankg2703ced85142018-03-20 05:42:53 +000050 periodSeconds: 10
51 # necessary to disable liveness probe when setting breakpoints
52 # in debugger so K8s doesn't restart unresponsive container
53 enabled: true
54
55readiness:
BorislavG16fc7602018-06-13 10:57:51 +000056 initialDelaySeconds: 120
mayankg2703ced85142018-03-20 05:42:53 +000057 periodSeconds: 10
58
59## Persist data to a persitent volume
60persistence:
61 enabled: true
62 volumeReclaimPolicy: Retain
63 accessMode: ReadWriteMany
64 size: 2Gi
65 mountPath: /dockerdata-nfs
66 mountSubPath: mariadb/data
67
68service:
69 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +000070 name: policydb
71 portName: policydb
mayankg2703ced85142018-03-20 05:42:53 +000072 internalPort: 3306
73
74ingress:
75 enabled: false
76
vaibhavjayas4136f5d2018-08-17 07:01:05 +000077# Resource Limit flavor -By Default using small
78flavor: small
79# Segregation for Different environment (Small and Large)
80resources:
81 small:
82 limits:
83 cpu: 1
84 memory: 2Gi
85 requests:
86 cpu: 10m
87 memory: 0.5Gi
88 large:
89 limits:
90 cpu: 2
91 memory: 4Gi
92 requests:
93 cpu: 20m
94 memory: 1Gi