blob: 50c837d27dd00b5a284c9549bc880dd1a828ce7f [file] [log] [blame]
# Copyright © 2018 Amdocs
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#################################################################
# Global configuration defaults.
#################################################################
global:
nodePortPrefix: 302
#################################################################
# Application configuration defaults.
#################################################################
# application image
image: onap/network-discovery:1.5.1
pullPolicy: Always
# flag to enable debugging - application support required
debugEnabled: false
# application configuration
# Example:
config:
# Network Discovery Micro Service REST Client Configuration
#Enable HTTPS
serverSslPort: 8443
serverSslKeyStore: /opt/app/config/auth/tomcat_keystore
serverSslKeyStorePassword: password(OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10)
serverSslClientAuth: want
serverSslEnabled: true
serverSslEnabledProtocols: TLSv1.1,TLSv1.2
# Basic Authorization credentials for Network Discovery Micro Service Rest Service
networkDiscoveryUserId: admin
networkDiscoveryPassword: OBF:1u2a1toa1w8v1tok1u30
# Basic Authorization credentials for Openstack Rest APIs
openstackIdentityUrl: http://10.69.36.11:5000/v3/auth/tokens
openstackUserId: admin
openstackPassword: OBF:1w951ugg1vun1uha1w8l
# Openstack Rest API URLs:
openstackTypeVserverUrl: http://10.69.36.11:8774/v2.1/servers/{0}
openstackTypeL3NetworkUrl: http://10.69.36.11:9696/v2.0/networks/{0}
openstackTypePortUrl: http://10.69.36.11:9696/v2.0/ports/{0}
# default number of instances
replicaCount: 1
nodeSelector: {}
affinity: {}
# probe configuration parameters
liveness:
initialDelaySeconds: 30
periodSeconds: 10
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
enabled: true
readiness:
initialDelaySeconds: 30
periodSeconds: 10
#Example service definition with external, internal and node ports.
service:
# The default service name (exposed in the service.yaml) will be the same
# name as the chart. If the service name needs to be overriden (such as
# when a subchart is shared), uncomment the value below.
#name: <service-name-override>
#Services may use any combination of ports depending on the 'type' of
#service being defined.
type: NodePort
name: pomba-networkdiscovery
externalPort: 9531
internalPort: 8443
nodePort: 99
portName: https
ingress:
enabled: false
service:
- baseaddr: "pombanetworkdiscovery"
name: "pomba-networkdiscovery"
port: 8443
config:
ssl: "redirect"
# Resource Limit flavor -By Default using small
flavor: small
# Segregation for Different environment (Small and Large)
resources:
small:
limits:
cpu: 1
memory: 800Mi
requests:
cpu: 10m
memory: 400Mi
large:
limits:
cpu: 2
memory: 1600Mi
requests:
cpu: 20m
memory: 800Mi
unlimited: {}