blob: 70fa143b9a7aaba56ad7039526296d458ca86296 [file] [log] [blame]
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +02001# Copyright © 2017 Amdocs, Bell Canada, Orange
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
20 persistence: {}
21
22#################################################################
23# Application configuration defaults.
24#################################################################
25# application image
26repository: nexus3.onap.org:10001
Sylvain Desbureaux2c2599f2019-04-04 09:11:27 +020027image: mariadb:10.3.14
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020028pullPolicy: Always
29
30# flag to enable debugging - application support required
31debugEnabled: false
32
33# application configuration
34# Example:
35config:
36 db:
37 user: nbi_user
38 password: nbi_user
39 root_password: change_me
40 database: maria
41# default number of instances
42replicaCount: 1
43
44nodeSelector: {}
45
46affinity: {}
47
48# probe configuration parameters
49liveness:
50 initialDelaySeconds: 10
51 periodSeconds: 10
52 # necessary to disable liveness probe when setting breakpoints
53 # in debugger so K8s doesn't restart unresponsive container
54 enabled: true
55
56readiness:
57 initialDelaySeconds: 10
58 periodSeconds: 10
59
60## Persist data to a persitent volume
61persistence:
62 enabled: true
63 volumeReclaimPolicy: Retain
Sylvain Desbureaux881d14c2019-08-29 15:55:28 +020064 accessMode: ReadWriteOnce
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020065 size: 2Gi
66 mountPath: /dockerdata-nfs
67 mountSubPath: mariadb/data
68
69service:
70 type: ClusterIP
71 name: policydb
72 portName: policydb
73 internalPort: 3306
74
75ingress:
76 enabled: false
77
vaibhavjayas659fbae2018-09-19 08:58:10 +000078# Resource Limit flavor
79flavor: small
80resources:
81 small:
82 limits:
Mandeep Khinda3c134252018-09-19 23:56:37 +000083 cpu: 1
Eric Debeauf34fa132018-09-29 11:42:01 +000084 memory: 500Mi
85 requests:
86 cpu: 10m
87 memory: 200Mi
vaibhavjayas659fbae2018-09-19 08:58:10 +000088 large:
89 limits:
Eric Debeauf34fa132018-09-29 11:42:01 +000090 cpu: 1
91 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +000092 requests:
Eric Debeauf34fa132018-09-29 11:42:01 +000093 cpu: 20m
94 memory: 400Mi
Mandeep Khinda60d36d42018-09-24 15:15:48 +000095 unlimited: {}