blob: 0626b0312ec5a6d1578cc631e7460d69c689d97a [file] [log] [blame]
Geora Barsky4b328b82018-08-01 12:02:33 -04001# Copyright © 2017 Amdocs, Bell Canada
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
Geora Barsky4b328b82018-08-01 12:02:33 -040020
21#################################################################
22# Application configuration defaults.
23#################################################################
24# application image
Gary Wu72901cd2018-11-15 18:27:40 -080025image: onap/validation:1.3.1
Geora Barsky4b328b82018-08-01 12:02:33 -040026#pullPolicy: Always
27pullPolicy: IfNotPresent
28
29# flag to enable debugging - application support required
30debugEnabled: false
31
32# application configuration
Geora Barsky4b328b82018-08-01 12:02:33 -040033config:
34 appDir: /opt/app/validation-service
35 configDir: /opt/app/validation-service/appconfig
36 configAuthDir: /opt/app/validation-service/appconfig/auth
37 configTopicsDir: /opt/app/validation-service/appconfig/topics
Pierre Rioux303680b2018-09-12 15:58:20 -040038 rulesDir: /opt/app/validation-service/bundleconfig/etc/rules/poa-event
Geora Barsky4b328b82018-08-01 12:02:33 -040039 maxHeap: 1024
Pierre Rioux5f4b3db2019-01-09 15:41:17 -050040 dataDictHostPort: http://dummy-host:443
41 dataDictCredentials: cG9tYmE6cG9tYmE=
Geora Barsky4b328b82018-08-01 12:02:33 -040042
43# default number of instances
44replicaCount: 1
45
46nodeSelector: {}
47
48affinity: {}
49
50# probe configuration parameters
51liveness:
jmac15bf8cd2019-02-05 19:44:55 +000052 initialDelaySeconds: 30
Geora Barsky4b328b82018-08-01 12:02:33 -040053 periodSeconds: 10
54 # necessary to disable liveness probe when setting breakpoints
55 # in debugger so K8s doesn't restart unresponsive container
56 enabled: false
57
58readiness:
jmac15bf8cd2019-02-05 19:44:55 +000059 initialDelaySeconds: 30
Geora Barsky4b328b82018-08-01 12:02:33 -040060 periodSeconds: 10
61 enabled: false
62
63#Example service definition with external, internal and node ports.
64service:
65 # The default service name (exposed in the service.yaml) will be the same
66 # name as the chart. If the service name needs to be overriden (such as
67 # when a subchart is shared), uncomment the value below.
68 #name: validation-service
69
70 #Services may use any combination of ports depending on the 'type' of
71 #service being defined.
72 type: ClusterIP
73 externalPort: 9529
74 internalPort: 8080
75# nodePort: <replace with unused node port suffix eg. 23>
76 # optional port name override - default can be defined in service.yaml
77 #portName: http
78
79ingress:
80 enabled: false
81
jmacaf645b52018-10-11 12:21:54 +000082# Resource Limit flavor -By Default using small
83flavor: small
84# Segregation for Different environment (Small and Large)
85resources:
86 small:
87 limits:
88 cpu: 1
89 memory: 1400Mi
90 requests:
91 cpu: 50m
92 memory: 700Mi
93 large:
94 limits:
95 cpu: 2
96 memory: 2800Mi
97 requests:
98 cpu: 100m
99 memory: 1400Mi
100 unlimited: {}