Mohammadreza Pasandideh | 5489ace | 2018-08-07 10:25:12 -0400 | [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
|
| 27 | image: onap/network-discovery:latest
|
| 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 Micro Service REST Client Configuration
|
| 37 | # Basic Authorization credentials for Network Discovery Micro Service Rest Service
|
| 38 | networkDiscoveryUserId: admin
|
| 39 | networkDiscoveryPassword: OBF:1u2a1toa1w8v1tok1u30
|
| 40 |
|
| 41 | # default number of instances
|
| 42 | replicaCount: 1
|
| 43 |
|
| 44 | nodeSelector: {}
|
| 45 |
|
| 46 | affinity: {}
|
| 47 |
|
| 48 | # probe configuration parameters
|
| 49 | liveness:
|
| 50 | initialDelaySeconds: 10
|
| 51 | periodSeconds: 10
|
| 52 | # necessary to disable liveness probe when setting breakpoints
|
| 53 | # in debugger so K8s doesn't restart unresponsive container
|
| 54 | enabled: true
|
| 55 |
|
| 56 | readiness:
|
| 57 | initialDelaySeconds: 10
|
| 58 | periodSeconds: 10
|
| 59 |
|
| 60 | #Example service definition with external, internal and node ports.
|
| 61 | service:
|
| 62 | # The default service name (exposed in the service.yaml) will be the same
|
| 63 | # name as the chart. If the service name needs to be overriden (such as
|
| 64 | # when a subchart is shared), uncomment the value below.
|
| 65 | #name: <service-name-override>
|
| 66 |
|
| 67 | #Services may use any combination of ports depending on the 'type' of
|
| 68 | #service being defined.
|
| 69 | type: ClusterIP
|
| 70 | externalPort: 9531
|
| 71 | internalPort: 8080
|
| 72 | # nodePort: <replace with unused node port suffix eg. 23>
|
| 73 | # optional port name override - default can be defined in service.yaml
|
| 74 | #portName: http
|
| 75 |
|
| 76 | ingress:
|
| 77 | enabled: false
|
| 78 |
|
| 79 | resources: {}
|
| 80 | # We usually recommend not to specify default resources and to leave this as a conscious
|
| 81 | # choice for the user. This also increases chances charts run on environments with little
|
| 82 | # resources, such as Minikube. If you do want to specify resources, uncomment the following
|
| 83 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
| 84 | #
|
| 85 | # Example:
|
| 86 | # Configure resource requests and limits
|
| 87 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
| 88 | # Minimum memory for development is 2 CPU cores and 4GB memory
|
| 89 | # Minimum memory for production is 4 CPU cores and 8GB memory
|
| 90 | #resources:
|
| 91 | # limits:
|
| 92 | # cpu: 2
|
| 93 | # memory: 4Gi
|
| 94 | # requests:
|
| 95 | # cpu: 2
|
| 96 | # memory: 4Gi
|