CDS-UI: support gRPC integration with blueprint processor mS
[oom.git] / kubernetes / cds / charts / 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   readinessRepository: oomk8s
22   readinessImage: readiness-check:1.1.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25
26 subChartsOnly:
27   enabled: true
28
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/ccsdk-cds-ui-server:0.5-STAGING-latest
32 pullPolicy: Always
33
34 # application configuration
35 config:
36   app:
37     action:
38       deployBlueprint:
39         grpcEnabled: true
40   api:
41     controller:
42       http:
43        baseUrl: http://cds-controller-blueprints:8080/api/v1
44        authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
45     processor:
46       http:
47        baseUrl: http://cds-blueprints-processor-http:8080/api/v1
48        authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
49       grpc:
50         host: cds-blueprints-processor-grpc
51         port: 9111
52         authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
53
54 # default number of instances
55 replicaCount: 1
56
57 nodeSelector: {}
58
59 affinity: {}
60
61 # probe configuration parameters
62 liveness:
63   httpGet:
64     path: /
65     port: 3000
66   initialDelaySeconds: 30
67   periodSeconds: 10
68   # necessary to disable liveness probe when setting breakpoints
69   # in debugger so K8s doesn't restart unresponsive container
70   enabled: true
71
72 readiness:
73   httpGet:
74     path: /ping
75     port: 3000
76   initialDelaySeconds: 30
77   periodSeconds: 10
78
79 service:
80   type: NodePort
81   portName: cds-ui
82   name: cds-ui
83   nodePort: 97
84   internalPort: 3000
85
86 ingress:
87   enabled: false
88 # Resource Limit flavor -By Default using small
89 flavor: small
90 # Segregation for Different environment (Small and Large)
91 resources:
92   small:
93     limits:
94       cpu: 1
95       memory: 1Gi
96     requests:
97       cpu: 10m
98       memory: 100Mi
99   large:
100     limits:
101       cpu: 2
102       memory: 2Gi
103     requests:
104       cpu: 200m
105       memory: 200Mi
106   unlimited: {}