Initial delivery of helm charts to deploy mod2 components. Resolved all
[dcaegen2/platform.git] / mod2 / assembly / helm / components / auth-service / values.yaml
1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=========================================================
17
18 #################################################################
19 # Global configuration defaults.
20 #################################################################
21 global:
22   nodePortPrefix: 302
23   nodePortPrefixExt: 304
24
25 config:
26   mongoDb: "dcaemod2-mongohost"
27
28 service:
29   type: NodePort
30   name: auth-service
31   externalPort: 8082
32   internalPort: 8082
33   ports:
34     - name: http
35       port: 8082
36       port_protocol: http
37       nodePort: 3
38   nodePortPrefixOverride : 3100
39
40
41 # probe configuration parameters
42 liveness:
43   initialDelaySeconds: 60
44   periodSeconds: 30
45   port: http
46   # necessary to disable liveness probe when setting breakpoints
47   # in debugger so K8s doesn't restart unresponsive container
48   enabled: false
49
50 readiness:
51   initialDelaySeconds: 60
52   periodSeconds: 20
53   path: /
54   scheme: HTTP
55   enabled: false
56   # Should have a proper readiness endpoint or script
57
58 # application image
59 image: onap/org.onap.dcaegen2.platform.mod.auth-service:latest
60
61 # Resource Limit flavor -By Default using small
62 flavor: small
63 # Segregation for Different environment (Small and Large)
64 resources:
65   small:
66     limits:
67       cpu: 2
68       memory: 2Gi
69     requests:
70       cpu: 1
71       memory: 1Gi
72   large:
73     limits:
74       cpu: 4
75       memory: 4Gi
76     requests:
77       cpu: 2
78       memory: 2Gi
79   unlimited: {}
80