blob: 50c837d27dd00b5a284c9549bc880dd1a828ce7f [file] [log] [blame]
Mandeep Khinda60d36d42018-09-24 15:15:48 +00001# Copyright © 2018 Amdocs
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:
19 nodePortPrefix: 302
Mandeep Khinda60d36d42018-09-24 15:15:48 +000020
21#################################################################
22# Application configuration defaults.
23#################################################################
24# application image
Prudence Au721c4f92019-05-15 22:25:07 -040025image: onap/network-discovery:1.5.1
Mandeep Khinda60d36d42018-09-24 15:15:48 +000026pullPolicy: Always
27
28# flag to enable debugging - application support required
29debugEnabled: false
30
31# application configuration
32# Example:
33config:
34 # Network Discovery Micro Service REST Client Configuration
Tait,Trevor(rt0435)c40d7572018-12-10 11:37:25 -050035
36 #Enable HTTPS
37 serverSslPort: 8443
38 serverSslKeyStore: /opt/app/config/auth/tomcat_keystore
39 serverSslKeyStorePassword: password(OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10)
40 serverSslClientAuth: want
41 serverSslEnabled: true
42 serverSslEnabledProtocols: TLSv1.1,TLSv1.2
43
Mandeep Khinda60d36d42018-09-24 15:15:48 +000044 # Basic Authorization credentials for Network Discovery Micro Service Rest Service
45 networkDiscoveryUserId: admin
46 networkDiscoveryPassword: OBF:1u2a1toa1w8v1tok1u30
47
Norm Traxler7d79d112018-11-29 19:23:56 +000048 # Basic Authorization credentials for Openstack Rest APIs
49 openstackIdentityUrl: http://10.69.36.11:5000/v3/auth/tokens
50 openstackUserId: admin
51 openstackPassword: OBF:1w951ugg1vun1uha1w8l
52
53 # Openstack Rest API URLs:
54 openstackTypeVserverUrl: http://10.69.36.11:8774/v2.1/servers/{0}
55 openstackTypeL3NetworkUrl: http://10.69.36.11:9696/v2.0/networks/{0}
Norm Traxler1153c392019-02-11 18:54:20 +000056 openstackTypePortUrl: http://10.69.36.11:9696/v2.0/ports/{0}
Norm Traxler7d79d112018-11-29 19:23:56 +000057
Mandeep Khinda60d36d42018-09-24 15:15:48 +000058# default number of instances
59replicaCount: 1
60
61nodeSelector: {}
62
63affinity: {}
64
65# probe configuration parameters
66liveness:
jmac15bf8cd2019-02-05 19:44:55 +000067 initialDelaySeconds: 30
Mandeep Khinda60d36d42018-09-24 15:15:48 +000068 periodSeconds: 10
69 # necessary to disable liveness probe when setting breakpoints
70 # in debugger so K8s doesn't restart unresponsive container
71 enabled: true
72
73readiness:
jmac15bf8cd2019-02-05 19:44:55 +000074 initialDelaySeconds: 30
Mandeep Khinda60d36d42018-09-24 15:15:48 +000075 periodSeconds: 10
76
77#Example service definition with external, internal and node ports.
78service:
79 # The default service name (exposed in the service.yaml) will be the same
80 # name as the chart. If the service name needs to be overriden (such as
81 # when a subchart is shared), uncomment the value below.
82 #name: <service-name-override>
83
84 #Services may use any combination of ports depending on the 'type' of
85 #service being defined.
Norm Traxler7d79d112018-11-29 19:23:56 +000086 type: NodePort
Sylvain Desbureaux93ed0752020-11-21 21:22:18 +010087 name: pomba-networkdiscovery
Norm Traxlerc07e7372018-12-17 17:59:43 +000088 externalPort: 9531
Tait,Trevor(rt0435)c40d7572018-12-10 11:37:25 -050089 internalPort: 8443
Norm Traxler7d79d112018-11-29 19:23:56 +000090 nodePort: 99
Norm Traxlerc07e7372018-12-17 17:59:43 +000091 portName: https
Mandeep Khinda60d36d42018-09-24 15:15:48 +000092
93ingress:
94 enabled: false
Lucjan Bryndzaa7637732019-11-28 11:58:16 +010095 service:
96 - baseaddr: "pombanetworkdiscovery"
97 name: "pomba-networkdiscovery"
98 port: 8443
99 config:
100 ssl: "redirect"
Sylvain Desbureaux93ed0752020-11-21 21:22:18 +0100101
jmacaf645b52018-10-11 12:21:54 +0000102# Resource Limit flavor -By Default using small
103flavor: small
104# Segregation for Different environment (Small and Large)
105resources:
106 small:
107 limits:
108 cpu: 1
109 memory: 800Mi
110 requests:
111 cpu: 10m
112 memory: 400Mi
113 large:
114 limits:
115 cpu: 2
116 memory: 1600Mi
117 requests:
118 cpu: 20m
119 memory: 800Mi
Norm Traxler7d79d112018-11-29 19:23:56 +0000120 unlimited: {}