Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / sdnc / components / sdnc-web / values.yaml
1 # Copyright © 2020 highstreet technologies GmbH
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 322
20
21 #################################################################
22 # Application configuration defaults.
23 #################################################################
24 # application image
25 image: "onap/sdnc-web-image:2.5.5"
26 pullPolicy: Always
27
28 config:
29   sdncChartName: sdnc
30   webProtocol: HTTP
31   webPort: 8080
32   sdnrProtocol: http
33   sdnrHost: "sdnc"
34   sdnrPort: "8282"
35   oauth:
36     enabled: false
37     odluxRbac:
38       enabled: false
39   transportpce:
40     enabled: false
41     transportpceUrl: http://transportpce.transportpce:8181
42   topologyserver:
43     enabled: false
44     topologyserverUrl: http://toplogy-api-service.topology:3001
45     tileserverUrl: https://tile.openstreetmap.org
46
47 # default number of instances
48 replicaCount: 1
49
50 nodeSelector: {}
51
52 affinity: {}
53
54 # probe configuration parameters
55 liveness:
56   initialDelaySeconds: 180
57   periodSeconds: 10
58   # necessary to disable liveness probe when setting breakpoints
59   # in debugger so K8s doesn't restart unresponsive container
60   enabled: true
61
62 readiness:
63   initialDelaySeconds: 60
64   periodSeconds: 10
65
66 service:
67   name: sdnc-web
68   type: NodePort
69   # for liveness and readiness probe only
70   # internalPort:
71   internalPort: 8080
72   ports:
73   - name: http
74     port: "8080"
75     nodePort: "05"
76
77 ingress:
78   enabled: false
79   service:
80   - baseaddr: "sdnc-web-ui"
81     name: "sdnc-web"
82     port: 8080
83
84 serviceMesh:
85   authorizationPolicy:
86     authorizedPrincipals:
87       - serviceAccount: istio-ingress
88         namespace: istio-ingress
89
90 #Resource limit flavor -By default using small
91 flavor: small
92 #segregation for different environment (small and large)
93 resources:
94   small:
95     limits:
96       cpu: "1"
97       memory: "500Mi"
98     requests:
99       cpu: "0.5"
100       memory: "500Mi"
101   large:
102     limits:
103       cpu: "2"
104       memory: "1Gi"
105     requests:
106       cpu: "1"
107       memory: "1Gi"
108   unlimited: {}
109
110 #Pods Service Account
111 serviceAccount:
112   nameOverride: sdnc-web
113   roles:
114     - read