3563eb7c1063584192fe1bd57c1bac1525199781
[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.4.2"
26 pullPolicy: Always
27
28 config:
29   sdncChartName: sdnc
30   webProtocol: HTTP
31   webPort: 8080
32   sdnrProtocol: http
33   sdnrHost: "sdnc"
34   sdnrPort: "8080"
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 #Resource limit flavor -By default using small
85 flavor: small
86 #segregation for different environment (small and large)
87 resources:
88   small:
89     limits:
90       cpu: 1
91       memory: 1Gi
92     requests:
93       cpu: 0.5
94       memory: 500Mi
95   large:
96     limits:
97       cpu: 2
98       memory: 2Gi
99     requests:
100       cpu: 1
101       memory: 1Gi
102   unlimited: {}
103
104 #Pods Service Account
105 serviceAccount:
106   nameOverride: sdnc-web
107   roles:
108     - read