ac1e3b4ddee24d5f3ba39c6a3b167153e0484180
[oom.git] / kubernetes / cds / components / cds-sdc-listener / values.yaml
1 # Copyright (c) 2019 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 # Global configuration defaults.
16 #################################################################
17 global:
18   # Change to an unused port prefix range to prevent port conflicts
19   # with other instances running within the same k8s cluster
20   nodePortPrefix: 302
21
22   # image pull policy
23   pullPolicy: Always
24
25   persistence:
26     mountPath: /dockerdata-nfs
27
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31 # application image
32 image: onap/ccsdk-sdclistener:1.3.0
33 name: sdc-listener
34 pullPolicy: Always
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
38
39 # application configuration
40 config:
41   appConfigDir: /opt/app/onap/config
42
43 # default number of instances
44 replicaCount: 1
45
46 nodeSelector: {}
47
48 affinity: {}
49
50 # probe configuration parameters
51 liveness:
52   initialDelaySeconds: 10
53   periodSeconds: 10
54   # necessary to disable liveness probe when setting breakpoints
55   # in debugger so K8s doesn't restart unresponsive container
56   enabled: true
57
58 readiness:
59   initialDelaySeconds: 10
60   periodSeconds: 10
61
62 service:
63   type: ClusterIP
64   http:
65     portName: cds-sdc-listener-http
66     internalPort: 8080
67     externalPort: 8080
68
69 persistence:
70   enabled: true
71
72 ingress:
73   enabled: false
74
75 logback:
76   rootLogLevel: INFO
77   logger:
78     springframework: INFO
79     springframeworkWeb: INFO
80     springframeworkSecurityWebauthentication: INFO
81     hibernate: INFO
82     onapCcsdkCds: INFO
83
84 flavor: small
85
86 resources:
87   small:
88     limits:
89       cpu: 2
90       memory: 4Gi
91     requests:
92       cpu: 1
93       memory: 1Gi
94   large:
95     limits:
96       cpu: 4
97       memory: 8Gi
98     requests:
99       cpu: 2
100       memory: 4Gi
101   unlimited: {}
102
103 #Pods Service Account
104 serviceAccount:
105   nameOverride: cds-sdc-listener
106   roles:
107     - read