05f766e186f95e1247e3cff02e0fc12d6fc9766c
[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 #################################################################
26 # AAF part
27 #################################################################
28 certInitializer:
29   nameOverride: cds-cert-initializer
30   aafDeployFqi: deployer@people.osaaf.org
31   aafDeployPass: demo123456!
32   # aafDeployCredsExternalSecret: some secret
33   fqdn: sdnc-cds
34   fqi: sdnc-cds@sdnc-cds.onap.org
35   public_fqdn: sdnc-cds.onap.org
36   cadi_longitude: "0.0"
37   cadi_latitude: "0.0"
38   app_ns: org.osaaf.aaf
39   credsPath: /opt/app/osaaf/local
40   fqi_namespace: org.onap.sdnc-cds
41   aaf_add_config: >
42     /opt/app/aaf_config/bin/agent.sh;
43     /opt/app/aaf_config/bin/agent.sh local showpass
44     {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
45
46 # application image
47 image: onap/ccsdk-cds-ui-server:1.3.0
48 pullPolicy: Always
49
50 # application configuration
51 config:
52   app:
53     action:
54       deployBlueprint:
55         grpcEnabled: true
56   api:
57     controller:
58       http:
59        baseUrl: http://cds-blueprints-processor-http:8081/api/v1
60        authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
61     processor:
62       http:
63        baseUrl: http://cds-blueprints-processor-http:8080/api/v1
64        authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
65       grpc:
66         host: cds-blueprints-processor-grpc
67         port: 9111
68         authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
69
70 # default number of instances
71 replicaCount: 1
72
73 nodeSelector: {}
74
75 affinity: {}
76
77 # probe configuration parameters
78 liveness:
79   httpGet:
80     path: /
81     port: 3000
82   initialDelaySeconds: 30
83   periodSeconds: 10
84   # necessary to disable liveness probe when setting breakpoints
85   # in debugger so K8s doesn't restart unresponsive container
86   enabled: true
87
88 readiness:
89   httpGet:
90     path: /ping
91     port: 3000
92   initialDelaySeconds: 30
93   periodSeconds: 10
94
95 service:
96   type: NodePort
97   portName: cds-ui
98   name: cds-ui
99   nodePort: 97
100   internalPort: 3000
101
102 ingress:
103   enabled: false
104   service:
105     - baseaddr: "cdsui"
106       name: "cds-ui"
107       port: 3000
108   config:
109     ssl: "redirect"
110
111 # Resource Limit flavor -By Default using small
112 flavor: small
113 # Segregation for Different environment (Small and Large)
114 resources:
115   small:
116     limits:
117       cpu: 1
118       memory: 1Gi
119     requests:
120       cpu: 10m
121       memory: 100Mi
122   large:
123     limits:
124       cpu: 2
125       memory: 2Gi
126     requests:
127       cpu: 200m
128       memory: 200Mi
129   unlimited: {}
130
131 #Pods Service Account
132 serviceAccount:
133   nameOverride: cds-ui
134   roles:
135     - read