Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / cds / components / cds-ui / values.yaml
1 # Copyright © 2018 Orange
2 # Modifications Copyright © 2018  Amdocs, Bell Canada
3 #
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 #################################################################
19 global:
20   nodePortPrefixExt: 304
21
22 subChartsOnly:
23   enabled: true
24
25 # application image
26 image: onap/ccsdk-cds-ui-server:1.5.3
27 pullPolicy: Always
28
29 # application configuration
30 config:
31   env:
32     protocol: HTTP
33   app:
34     action:
35       deployBlueprint:
36         grpcEnabled: true
37   api:
38     controller:
39       http:
40        baseUrl: http://cds-blueprints-processor-http:8081/api/v1
41        authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
42     processor:
43       http:
44        baseUrl: http://cds-blueprints-processor-http:8080/api/v1
45        authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
46       grpc:
47         host: cds-blueprints-processor-grpc
48         port: 9111
49         authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
50
51 # default number of instances
52 replicaCount: 1
53
54 nodeSelector: {}
55
56 affinity: {}
57
58 # probe configuration parameters
59 liveness:
60   httpGet:
61     path: /
62     port: 3000
63   initialDelaySeconds: 30
64   periodSeconds: 10
65   # necessary to disable liveness probe when setting breakpoints
66   # in debugger so K8s doesn't restart unresponsive container
67   enabled: true
68
69 readiness:
70   httpGet:
71     path: /ping
72     port: 3000
73   initialDelaySeconds: 30
74   periodSeconds: 10
75
76 service:
77   type: NodePort
78   name: cds-ui
79   internalPort: 3000
80   ports:
81     - name: http
82       port: 3000
83       nodePort: 97
84       useNodePortExt: true
85
86 ingress:
87   enabled: false
88   service:
89     - baseaddr: "cds-ui"
90       name: "cds-ui"
91       port: 3000
92       config:
93         ssl: "redirect"
94
95 # Resource Limit flavor -By Default using small
96 flavor: small
97 # Segregation for Different environment (Small and Large)
98 resources:
99   small:
100     limits:
101       cpu: "1"
102       memory: "200Mi"
103     requests:
104       cpu: "0.5"
105       memory: "200Mi"
106   large:
107     limits:
108       cpu: "2"
109       memory: "200Mi"
110     requests:
111       cpu: "1"
112       memory: "200Mi"
113   unlimited: {}
114
115 #Pods Service Account
116 serviceAccount:
117   nameOverride: cds-ui
118   roles:
119     - read