blob: ae613c603422144037d6a7557a3e454c54d7e7e8 [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
20 repository: nexus3.onap.org:10001
21
22#################################################################
23# Application configuration defaults.
24#################################################################
25# application image
26repository: nexus3.onap.org:10001
Prudence Au721c4f92019-05-15 22:25:07 -040027image: onap/network-discovery:1.5.1
Mandeep Khinda60d36d42018-09-24 15:15:48 +000028pullPolicy: Always
29
30# flag to enable debugging - application support required
31debugEnabled: false
32
33# application configuration
34# Example:
35config:
36 # Network Discovery Micro Service REST Client Configuration
Tait,Trevor(rt0435)c40d7572018-12-10 11:37:25 -050037
38 #Enable HTTPS
39 serverSslPort: 8443
40 serverSslKeyStore: /opt/app/config/auth/tomcat_keystore
41 serverSslKeyStorePassword: password(OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10)
42 serverSslClientAuth: want
43 serverSslEnabled: true
44 serverSslEnabledProtocols: TLSv1.1,TLSv1.2
45
Mandeep Khinda60d36d42018-09-24 15:15:48 +000046 # Basic Authorization credentials for Network Discovery Micro Service Rest Service
47 networkDiscoveryUserId: admin
48 networkDiscoveryPassword: OBF:1u2a1toa1w8v1tok1u30
49
Norm Traxler7d79d112018-11-29 19:23:56 +000050 # Basic Authorization credentials for Openstack Rest APIs
51 openstackIdentityUrl: http://10.69.36.11:5000/v3/auth/tokens
52 openstackUserId: admin
53 openstackPassword: OBF:1w951ugg1vun1uha1w8l
54
55 # Openstack Rest API URLs:
56 openstackTypeVserverUrl: http://10.69.36.11:8774/v2.1/servers/{0}
57 openstackTypeL3NetworkUrl: http://10.69.36.11:9696/v2.0/networks/{0}
Norm Traxler1153c392019-02-11 18:54:20 +000058 openstackTypePortUrl: http://10.69.36.11:9696/v2.0/ports/{0}
Norm Traxler7d79d112018-11-29 19:23:56 +000059
Mandeep Khinda60d36d42018-09-24 15:15:48 +000060# default number of instances
61replicaCount: 1
62
63nodeSelector: {}
64
65affinity: {}
66
67# probe configuration parameters
68liveness:
jmac15bf8cd2019-02-05 19:44:55 +000069 initialDelaySeconds: 30
Mandeep Khinda60d36d42018-09-24 15:15:48 +000070 periodSeconds: 10
71 # necessary to disable liveness probe when setting breakpoints
72 # in debugger so K8s doesn't restart unresponsive container
73 enabled: true
74
75readiness:
jmac15bf8cd2019-02-05 19:44:55 +000076 initialDelaySeconds: 30
Mandeep Khinda60d36d42018-09-24 15:15:48 +000077 periodSeconds: 10
78
79#Example service definition with external, internal and node ports.
80service:
81 # The default service name (exposed in the service.yaml) will be the same
82 # name as the chart. If the service name needs to be overriden (such as
83 # when a subchart is shared), uncomment the value below.
84 #name: <service-name-override>
85
86 #Services may use any combination of ports depending on the 'type' of
87 #service being defined.
Norm Traxler7d79d112018-11-29 19:23:56 +000088 type: NodePort
89 name: pomba-networkdiscovery
Norm Traxlerc07e7372018-12-17 17:59:43 +000090 externalPort: 9531
Tait,Trevor(rt0435)c40d7572018-12-10 11:37:25 -050091 internalPort: 8443
Norm Traxler7d79d112018-11-29 19:23:56 +000092 nodePort: 99
Norm Traxlerc07e7372018-12-17 17:59:43 +000093 portName: https
Mandeep Khinda60d36d42018-09-24 15:15:48 +000094
95ingress:
96 enabled: false
Lucjan Bryndzaa7637732019-11-28 11:58:16 +010097 service:
98 - baseaddr: "pombanetworkdiscovery"
99 name: "pomba-networkdiscovery"
100 port: 8443
101 config:
102 ssl: "redirect"
103
jmacaf645b52018-10-11 12:21:54 +0000104# Resource Limit flavor -By Default using small
105flavor: small
106# Segregation for Different environment (Small and Large)
107resources:
108 small:
109 limits:
110 cpu: 1
111 memory: 800Mi
112 requests:
113 cpu: 10m
114 memory: 400Mi
115 large:
116 limits:
117 cpu: 2
118 memory: 1600Mi
119 requests:
120 cpu: 20m
121 memory: 800Mi
Norm Traxler7d79d112018-11-29 19:23:56 +0000122 unlimited: {}