Shane Daniel | 43fca09 | 2018-08-10 18:50:43 +0000 | [diff] [blame] | 1 | # 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 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | repository: nexus3.onap.org:10001 |
| 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
| 26 | repository: nexus3.onap.org:10001 |
Gary Wu | 5329f1f | 2018-10-22 20:33:07 -0700 | [diff] [blame^] | 27 | image: onap/pomba-network-discovery-context-builder:1.3.0 |
Shane Daniel | 43fca09 | 2018-08-10 18:50:43 +0000 | [diff] [blame] | 28 | pullPolicy: Always |
| 29 | |
| 30 | # flag to enable debugging - application support required |
| 31 | debugEnabled: false |
| 32 | |
| 33 | # application configuration |
| 34 | # Example: |
| 35 | config: |
| 36 | # Network Discovery Context Builder REST Service |
| 37 | networkDiscoveryCtxBuilderHttpProtocol: http |
jmac | 8a99d14 | 2018-09-05 17:55:10 +0000 | [diff] [blame] | 38 | networkDiscoveryCtxBuilderPort: 9530 |
Shane Daniel | 43fca09 | 2018-08-10 18:50:43 +0000 | [diff] [blame] | 39 | networkDiscoveryCtxBuilderUserId: admin |
| 40 | networkDiscoveryCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 41 | networkDiscoveryCtxBuilderResourceList: vnfcs,vservers,l3-networks |
| 42 | |
| 43 | # Service Decomposition REST Client Configuration |
| 44 | serviceDecompositionHttpProtocol: http |
| 45 | serviceDecompositionServiceName: pomba-servicedecomposition |
jmac | 8a99d14 | 2018-09-05 17:55:10 +0000 | [diff] [blame] | 46 | serviceDecompositionPort: 9532 |
Shane Daniel | 43fca09 | 2018-08-10 18:50:43 +0000 | [diff] [blame] | 47 | serviceDecompositionInstancePath: /service-decomposition/service/context |
| 48 | #Basic Authorization Client credentials for Service Decomposition REST service |
| 49 | serviceDecompositionUserId: admin |
| 50 | serviceDecompositionPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 51 | |
| 52 | # Network Discovery Micro Service REST Client Configuration |
| 53 | networkDiscoveryServiceName: pomba-networkdiscovery |
jmac | 8a99d14 | 2018-09-05 17:55:10 +0000 | [diff] [blame] | 54 | networkDiscoveryPort: 9531 |
Shane Daniel | 43fca09 | 2018-08-10 18:50:43 +0000 | [diff] [blame] | 55 | networkDiscoveryHttpProtocol: http |
| 56 | networkDiscoveryPath: /network-discovery/v1/network/resource |
| 57 | # Wait for Network Discovery MicroService response in milliseconds |
| 58 | networkDiscoveryTimeOutInMilliseconds: 60000 |
| 59 | # Basic Authorization credentials for Network Discovery Micro Service Rest Service |
| 60 | networkDiscoveryUserId: admin |
| 61 | networkDiscoveryPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 62 | |
| 63 | # default number of instances |
| 64 | replicaCount: 1 |
| 65 | |
| 66 | nodeSelector: {} |
| 67 | |
| 68 | affinity: {} |
| 69 | |
| 70 | # probe configuration parameters |
| 71 | liveness: |
| 72 | initialDelaySeconds: 10 |
| 73 | periodSeconds: 10 |
| 74 | # necessary to disable liveness probe when setting breakpoints |
| 75 | # in debugger so K8s doesn't restart unresponsive container |
| 76 | enabled: true |
| 77 | |
| 78 | readiness: |
| 79 | initialDelaySeconds: 10 |
| 80 | periodSeconds: 10 |
| 81 | |
| 82 | #Example service definition with external, internal and node ports. |
| 83 | service: |
| 84 | # The default service name (exposed in the service.yaml) will be the same |
| 85 | # name as the chart. If the service name needs to be overriden (such as |
| 86 | # when a subchart is shared), uncomment the value below. |
| 87 | #name: <service-name-override> |
| 88 | |
| 89 | #Services may use any combination of ports depending on the 'type' of |
| 90 | #service being defined. |
| 91 | type: ClusterIP |
| 92 | externalPort: 9530 |
| 93 | internalPort: 8080 |
| 94 | # nodePort: <replace with unused node port suffix eg. 23> |
| 95 | # optional port name override - default can be defined in service.yaml |
| 96 | #portName: http |
| 97 | |
| 98 | ingress: |
| 99 | enabled: false |
| 100 | |
| 101 | resources: {} |
| 102 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 103 | # choice for the user. This also increases chances charts run on environments with little |
| 104 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 105 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 106 | # |
| 107 | # Example: |
| 108 | # Configure resource requests and limits |
| 109 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 110 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 111 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 112 | #resources: |
| 113 | # limits: |
| 114 | # cpu: 2 |
| 115 | # memory: 4Gi |
| 116 | # requests: |
| 117 | # cpu: 2 |
| 118 | # memory: 4Gi |