blob: 98e44d02abe366521a94ad799f6bf941a13145b4 [file] [log] [blame]
Alexander Dehn9b797d62020-04-21 09:53:50 +00001# 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#################################################################
18global:
Alexander Dehn9b797d62020-04-21 09:53:50 +000019 nodePortPrefix: 322
Andreas Geissler2af50792023-03-27 17:11:27 +020020
Alexander Dehn9b797d62020-04-21 09:53:50 +000021#################################################################
22# Application configuration defaults.
23#################################################################
24# application image
Dan Timoneyc6144822023-04-27 10:17:20 -040025image: "onap/sdnc-web-image:2.5.5"
Alexander Dehn9b797d62020-04-21 09:53:50 +000026pullPolicy: Always
27
28config:
29 sdncChartName: sdnc
Andreas Geissler2af50792023-03-27 17:11:27 +020030 webProtocol: HTTP
31 webPort: 8080
32 sdnrProtocol: http
Alexander Dehn9b797d62020-04-21 09:53:50 +000033 sdnrHost: "sdnc"
demskeq895bf73a2023-05-09 12:31:07 +000034 sdnrPort: "8282"
demskeq8b43e92c2021-02-12 15:43:48 +010035 oauth:
36 enabled: false
37 odluxRbac:
38 enabled: false
Alexander Dehn8789a722020-10-16 14:29:05 +000039 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
Alexander Dehn9b797d62020-04-21 09:53:50 +000046
Alexander Dehn9b797d62020-04-21 09:53:50 +000047# default number of instances
48replicaCount: 1
49
50nodeSelector: {}
51
52affinity: {}
53
54# probe configuration parameters
55liveness:
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
62readiness:
63 initialDelaySeconds: 60
64 periodSeconds: 10
65
66service:
67 name: sdnc-web
Alexander Dehn9b797d62020-04-21 09:53:50 +000068 type: NodePort
Alexander Dehn9b797d62020-04-21 09:53:50 +000069 # for liveness and readiness probe only
70 # internalPort:
Andreas Geissler2af50792023-03-27 17:11:27 +020071 internalPort: 8080
Alexander Dehn9b797d62020-04-21 09:53:50 +000072 ports:
Andreas Geissler2af50792023-03-27 17:11:27 +020073 - name: http
74 port: "8080"
Alexander Dehn9b797d62020-04-21 09:53:50 +000075 nodePort: "05"
76
Andreas Geissler2af50792023-03-27 17:11:27 +020077ingress:
78 enabled: false
79 service:
80 - baseaddr: "sdnc-web-ui"
81 name: "sdnc-web"
82 port: 8080
Alexander Dehn9b797d62020-04-21 09:53:50 +000083
AndrewLamb7709c172023-05-12 15:37:14 +010084serviceMesh:
85 authorizationPolicy:
86 authorizedPrincipals:
87 - serviceAccount: istio-ingress
88 namespace: istio-ingress
89
Alexander Dehn9b797d62020-04-21 09:53:50 +000090#Resource limit flavor -By default using small
91flavor: small
92#segregation for different environment (small and large)
93resources:
94 small:
95 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010096 cpu: "1"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010097 memory: "500Mi"
Alexander Dehn9b797d62020-04-21 09:53:50 +000098 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010099 cpu: "0.5"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +0100100 memory: "500Mi"
Alexander Dehn9b797d62020-04-21 09:53:50 +0000101 large:
102 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100103 cpu: "2"
104 memory: "1Gi"
Alexander Dehn9b797d62020-04-21 09:53:50 +0000105 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100106 cpu: "1"
107 memory: "1Gi"
Alexander Dehn9b797d62020-04-21 09:53:50 +0000108 unlimited: {}
farida azmy32c5ed82021-08-04 14:46:09 +0200109
110#Pods Service Account
111serviceAccount:
112 nameOverride: sdnc-web
113 roles:
114 - read