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