d8a87cc2eacd3a782fe40ef9452f78bfcc2b1986
[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.7.5
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-blueprints-processor-http:8081/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   service:
89     - baseaddr: "cdsui"
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: 1Gi
103     requests:
104       cpu: 10m
105       memory: 100Mi
106   large:
107     limits:
108       cpu: 2
109       memory: 2Gi
110     requests:
111       cpu: 200m
112       memory: 200Mi
113   unlimited: {}